1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/connect/Connect_EXPORTS.h> 8 #include <aws/connect/ConnectRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <aws/connect/model/VoiceRecordingConfiguration.h> 11 #include <utility> 12 13 namespace Aws 14 { 15 namespace Connect 16 { 17 namespace Model 18 { 19 20 /** 21 */ 22 class AWS_CONNECT_API StartContactRecordingRequest : public ConnectRequest 23 { 24 public: 25 StartContactRecordingRequest(); 26 27 // Service request name is the Operation name which will send this request out, 28 // each operation should has unique request name, so that we can get operation's name from this request. 29 // Note: this is not true for response, multiple operations may have the same response name, 30 // so we can not get operation's name from response. GetServiceRequestName()31 inline virtual const char* GetServiceRequestName() const override { return "StartContactRecording"; } 32 33 Aws::String SerializePayload() const override; 34 35 36 /** 37 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 38 * the ARN of the instance.</p> 39 */ GetInstanceId()40 inline const Aws::String& GetInstanceId() const{ return m_instanceId; } 41 42 /** 43 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 44 * the ARN of the instance.</p> 45 */ InstanceIdHasBeenSet()46 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } 47 48 /** 49 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 50 * the ARN of the instance.</p> 51 */ SetInstanceId(const Aws::String & value)52 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } 53 54 /** 55 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 56 * the ARN of the instance.</p> 57 */ SetInstanceId(Aws::String && value)58 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } 59 60 /** 61 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 62 * the ARN of the instance.</p> 63 */ SetInstanceId(const char * value)64 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } 65 66 /** 67 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 68 * the ARN of the instance.</p> 69 */ WithInstanceId(const Aws::String & value)70 inline StartContactRecordingRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} 71 72 /** 73 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 74 * the ARN of the instance.</p> 75 */ WithInstanceId(Aws::String && value)76 inline StartContactRecordingRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} 77 78 /** 79 * <p>The identifier of the Amazon Connect instance. You can find the instanceId in 80 * the ARN of the instance.</p> 81 */ WithInstanceId(const char * value)82 inline StartContactRecordingRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} 83 84 85 /** 86 * <p>The identifier of the contact.</p> 87 */ GetContactId()88 inline const Aws::String& GetContactId() const{ return m_contactId; } 89 90 /** 91 * <p>The identifier of the contact.</p> 92 */ ContactIdHasBeenSet()93 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; } 94 95 /** 96 * <p>The identifier of the contact.</p> 97 */ SetContactId(const Aws::String & value)98 inline void SetContactId(const Aws::String& value) { m_contactIdHasBeenSet = true; m_contactId = value; } 99 100 /** 101 * <p>The identifier of the contact.</p> 102 */ SetContactId(Aws::String && value)103 inline void SetContactId(Aws::String&& value) { m_contactIdHasBeenSet = true; m_contactId = std::move(value); } 104 105 /** 106 * <p>The identifier of the contact.</p> 107 */ SetContactId(const char * value)108 inline void SetContactId(const char* value) { m_contactIdHasBeenSet = true; m_contactId.assign(value); } 109 110 /** 111 * <p>The identifier of the contact.</p> 112 */ WithContactId(const Aws::String & value)113 inline StartContactRecordingRequest& WithContactId(const Aws::String& value) { SetContactId(value); return *this;} 114 115 /** 116 * <p>The identifier of the contact.</p> 117 */ WithContactId(Aws::String && value)118 inline StartContactRecordingRequest& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;} 119 120 /** 121 * <p>The identifier of the contact.</p> 122 */ WithContactId(const char * value)123 inline StartContactRecordingRequest& WithContactId(const char* value) { SetContactId(value); return *this;} 124 125 126 /** 127 * <p>The identifier of the contact. This is the identifier of the contact 128 * associated with the first interaction with the contact center.</p> 129 */ GetInitialContactId()130 inline const Aws::String& GetInitialContactId() const{ return m_initialContactId; } 131 132 /** 133 * <p>The identifier of the contact. This is the identifier of the contact 134 * associated with the first interaction with the contact center.</p> 135 */ InitialContactIdHasBeenSet()136 inline bool InitialContactIdHasBeenSet() const { return m_initialContactIdHasBeenSet; } 137 138 /** 139 * <p>The identifier of the contact. This is the identifier of the contact 140 * associated with the first interaction with the contact center.</p> 141 */ SetInitialContactId(const Aws::String & value)142 inline void SetInitialContactId(const Aws::String& value) { m_initialContactIdHasBeenSet = true; m_initialContactId = value; } 143 144 /** 145 * <p>The identifier of the contact. This is the identifier of the contact 146 * associated with the first interaction with the contact center.</p> 147 */ SetInitialContactId(Aws::String && value)148 inline void SetInitialContactId(Aws::String&& value) { m_initialContactIdHasBeenSet = true; m_initialContactId = std::move(value); } 149 150 /** 151 * <p>The identifier of the contact. This is the identifier of the contact 152 * associated with the first interaction with the contact center.</p> 153 */ SetInitialContactId(const char * value)154 inline void SetInitialContactId(const char* value) { m_initialContactIdHasBeenSet = true; m_initialContactId.assign(value); } 155 156 /** 157 * <p>The identifier of the contact. This is the identifier of the contact 158 * associated with the first interaction with the contact center.</p> 159 */ WithInitialContactId(const Aws::String & value)160 inline StartContactRecordingRequest& WithInitialContactId(const Aws::String& value) { SetInitialContactId(value); return *this;} 161 162 /** 163 * <p>The identifier of the contact. This is the identifier of the contact 164 * associated with the first interaction with the contact center.</p> 165 */ WithInitialContactId(Aws::String && value)166 inline StartContactRecordingRequest& WithInitialContactId(Aws::String&& value) { SetInitialContactId(std::move(value)); return *this;} 167 168 /** 169 * <p>The identifier of the contact. This is the identifier of the contact 170 * associated with the first interaction with the contact center.</p> 171 */ WithInitialContactId(const char * value)172 inline StartContactRecordingRequest& WithInitialContactId(const char* value) { SetInitialContactId(value); return *this;} 173 174 175 /** 176 * <p>The person being recorded.</p> 177 */ GetVoiceRecordingConfiguration()178 inline const VoiceRecordingConfiguration& GetVoiceRecordingConfiguration() const{ return m_voiceRecordingConfiguration; } 179 180 /** 181 * <p>The person being recorded.</p> 182 */ VoiceRecordingConfigurationHasBeenSet()183 inline bool VoiceRecordingConfigurationHasBeenSet() const { return m_voiceRecordingConfigurationHasBeenSet; } 184 185 /** 186 * <p>The person being recorded.</p> 187 */ SetVoiceRecordingConfiguration(const VoiceRecordingConfiguration & value)188 inline void SetVoiceRecordingConfiguration(const VoiceRecordingConfiguration& value) { m_voiceRecordingConfigurationHasBeenSet = true; m_voiceRecordingConfiguration = value; } 189 190 /** 191 * <p>The person being recorded.</p> 192 */ SetVoiceRecordingConfiguration(VoiceRecordingConfiguration && value)193 inline void SetVoiceRecordingConfiguration(VoiceRecordingConfiguration&& value) { m_voiceRecordingConfigurationHasBeenSet = true; m_voiceRecordingConfiguration = std::move(value); } 194 195 /** 196 * <p>The person being recorded.</p> 197 */ WithVoiceRecordingConfiguration(const VoiceRecordingConfiguration & value)198 inline StartContactRecordingRequest& WithVoiceRecordingConfiguration(const VoiceRecordingConfiguration& value) { SetVoiceRecordingConfiguration(value); return *this;} 199 200 /** 201 * <p>The person being recorded.</p> 202 */ WithVoiceRecordingConfiguration(VoiceRecordingConfiguration && value)203 inline StartContactRecordingRequest& WithVoiceRecordingConfiguration(VoiceRecordingConfiguration&& value) { SetVoiceRecordingConfiguration(std::move(value)); return *this;} 204 205 private: 206 207 Aws::String m_instanceId; 208 bool m_instanceIdHasBeenSet; 209 210 Aws::String m_contactId; 211 bool m_contactIdHasBeenSet; 212 213 Aws::String m_initialContactId; 214 bool m_initialContactIdHasBeenSet; 215 216 VoiceRecordingConfiguration m_voiceRecordingConfiguration; 217 bool m_voiceRecordingConfigurationHasBeenSet; 218 }; 219 220 } // namespace Model 221 } // namespace Connect 222 } // namespace Aws 223