AWS SDK for C++  1.9.159
AWS SDK for C++
StartContactRecordingRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Connect
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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.
31  inline virtual const char* GetServiceRequestName() const override { return "StartContactRecording"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
40  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
41 
46  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
47 
52  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
53 
58  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
59 
64  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
65 
70  inline StartContactRecordingRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
71 
76  inline StartContactRecordingRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
77 
82  inline StartContactRecordingRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
83 
84 
88  inline const Aws::String& GetContactId() const{ return m_contactId; }
89 
93  inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
94 
98  inline void SetContactId(const Aws::String& value) { m_contactIdHasBeenSet = true; m_contactId = value; }
99 
103  inline void SetContactId(Aws::String&& value) { m_contactIdHasBeenSet = true; m_contactId = std::move(value); }
104 
108  inline void SetContactId(const char* value) { m_contactIdHasBeenSet = true; m_contactId.assign(value); }
109 
113  inline StartContactRecordingRequest& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
114 
118  inline StartContactRecordingRequest& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
119 
123  inline StartContactRecordingRequest& WithContactId(const char* value) { SetContactId(value); return *this;}
124 
125 
130  inline const Aws::String& GetInitialContactId() const{ return m_initialContactId; }
131 
136  inline bool InitialContactIdHasBeenSet() const { return m_initialContactIdHasBeenSet; }
137 
142  inline void SetInitialContactId(const Aws::String& value) { m_initialContactIdHasBeenSet = true; m_initialContactId = value; }
143 
148  inline void SetInitialContactId(Aws::String&& value) { m_initialContactIdHasBeenSet = true; m_initialContactId = std::move(value); }
149 
154  inline void SetInitialContactId(const char* value) { m_initialContactIdHasBeenSet = true; m_initialContactId.assign(value); }
155 
160  inline StartContactRecordingRequest& WithInitialContactId(const Aws::String& value) { SetInitialContactId(value); return *this;}
161 
166  inline StartContactRecordingRequest& WithInitialContactId(Aws::String&& value) { SetInitialContactId(std::move(value)); return *this;}
167 
172  inline StartContactRecordingRequest& WithInitialContactId(const char* value) { SetInitialContactId(value); return *this;}
173 
174 
178  inline const VoiceRecordingConfiguration& GetVoiceRecordingConfiguration() const{ return m_voiceRecordingConfiguration; }
179 
183  inline bool VoiceRecordingConfigurationHasBeenSet() const { return m_voiceRecordingConfigurationHasBeenSet; }
184 
188  inline void SetVoiceRecordingConfiguration(const VoiceRecordingConfiguration& value) { m_voiceRecordingConfigurationHasBeenSet = true; m_voiceRecordingConfiguration = value; }
189 
193  inline void SetVoiceRecordingConfiguration(VoiceRecordingConfiguration&& value) { m_voiceRecordingConfigurationHasBeenSet = true; m_voiceRecordingConfiguration = std::move(value); }
194 
198  inline StartContactRecordingRequest& WithVoiceRecordingConfiguration(const VoiceRecordingConfiguration& value) { SetVoiceRecordingConfiguration(value); return *this;}
199 
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
Aws::Connect::Model::StartContactRecordingRequest::StartContactRecordingRequest
StartContactRecordingRequest()
Aws::Connect::Model::StartContactRecordingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartContactRecordingRequest.h:31
Aws::Connect::Model::StartContactRecordingRequest::GetContactId
const Aws::String & GetContactId() const
Definition: StartContactRecordingRequest.h:88
Aws::Connect::Model::StartContactRecordingRequest::WithContactId
StartContactRecordingRequest & WithContactId(Aws::String &&value)
Definition: StartContactRecordingRequest.h:118
Aws::Connect::Model::StartContactRecordingRequest::VoiceRecordingConfigurationHasBeenSet
bool VoiceRecordingConfigurationHasBeenSet() const
Definition: StartContactRecordingRequest.h:183
Aws::Connect::Model::StartContactRecordingRequest::InitialContactIdHasBeenSet
bool InitialContactIdHasBeenSet() const
Definition: StartContactRecordingRequest.h:136
Aws::Connect::Model::StartContactRecordingRequest::SetContactId
void SetContactId(const char *value)
Definition: StartContactRecordingRequest.h:108
Aws::Connect::Model::StartContactRecordingRequest::WithInitialContactId
StartContactRecordingRequest & WithInitialContactId(Aws::String &&value)
Definition: StartContactRecordingRequest.h:166
Aws::Connect::Model::StartContactRecordingRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: StartContactRecordingRequest.h:40
Aws::Connect::Model::StartContactRecordingRequest::WithInitialContactId
StartContactRecordingRequest & WithInitialContactId(const Aws::String &value)
Definition: StartContactRecordingRequest.h:160
Aws::Connect::Model::StartContactRecordingRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: StartContactRecordingRequest.h:46
Aws::Connect::Model::StartContactRecordingRequest::WithContactId
StartContactRecordingRequest & WithContactId(const Aws::String &value)
Definition: StartContactRecordingRequest.h:113
Aws::Connect::Model::StartContactRecordingRequest::WithContactId
StartContactRecordingRequest & WithContactId(const char *value)
Definition: StartContactRecordingRequest.h:123
VoiceRecordingConfiguration.h
Aws::Connect::Model::StartContactRecordingRequest::SetInitialContactId
void SetInitialContactId(const char *value)
Definition: StartContactRecordingRequest.h:154
Aws::Connect::Model::StartContactRecordingRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: StartContactRecordingRequest.h:52
Aws::Connect::Model::StartContactRecordingRequest::WithInstanceId
StartContactRecordingRequest & WithInstanceId(const Aws::String &value)
Definition: StartContactRecordingRequest.h:70
Aws::Connect::Model::StartContactRecordingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::StartContactRecordingRequest::SetInitialContactId
void SetInitialContactId(const Aws::String &value)
Definition: StartContactRecordingRequest.h:142
Aws::Connect::Model::StartContactRecordingRequest::WithInstanceId
StartContactRecordingRequest & WithInstanceId(const char *value)
Definition: StartContactRecordingRequest.h:82
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::StartContactRecordingRequest::GetInitialContactId
const Aws::String & GetInitialContactId() const
Definition: StartContactRecordingRequest.h:130
AWSString.h
Aws::Connect::Model::StartContactRecordingRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: StartContactRecordingRequest.h:64
Aws::Connect::Model::StartContactRecordingRequest::WithInitialContactId
StartContactRecordingRequest & WithInitialContactId(const char *value)
Definition: StartContactRecordingRequest.h:172
Aws::Connect::Model::StartContactRecordingRequest::WithVoiceRecordingConfiguration
StartContactRecordingRequest & WithVoiceRecordingConfiguration(VoiceRecordingConfiguration &&value)
Definition: StartContactRecordingRequest.h:203
Aws::Connect::Model::StartContactRecordingRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: StartContactRecordingRequest.h:58
Aws::Connect::Model::StartContactRecordingRequest::ContactIdHasBeenSet
bool ContactIdHasBeenSet() const
Definition: StartContactRecordingRequest.h:93
Aws::Connect::Model::StartContactRecordingRequest::WithVoiceRecordingConfiguration
StartContactRecordingRequest & WithVoiceRecordingConfiguration(const VoiceRecordingConfiguration &value)
Definition: StartContactRecordingRequest.h:198
Aws::Connect::Model::StartContactRecordingRequest::WithInstanceId
StartContactRecordingRequest & WithInstanceId(Aws::String &&value)
Definition: StartContactRecordingRequest.h:76
Aws::Connect::Model::StartContactRecordingRequest
Definition: StartContactRecordingRequest.h:23
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::VoiceRecordingConfiguration
Definition: VoiceRecordingConfiguration.h:33
Aws::Connect::Model::StartContactRecordingRequest::SetInitialContactId
void SetInitialContactId(Aws::String &&value)
Definition: StartContactRecordingRequest.h:148
Aws::Connect::Model::StartContactRecordingRequest::SetContactId
void SetContactId(Aws::String &&value)
Definition: StartContactRecordingRequest.h:103
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::StartContactRecordingRequest::GetVoiceRecordingConfiguration
const VoiceRecordingConfiguration & GetVoiceRecordingConfiguration() const
Definition: StartContactRecordingRequest.h:178
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::StartContactRecordingRequest::SetVoiceRecordingConfiguration
void SetVoiceRecordingConfiguration(VoiceRecordingConfiguration &&value)
Definition: StartContactRecordingRequest.h:193
Connect_EXPORTS.h
Aws::Connect::Model::StartContactRecordingRequest::SetContactId
void SetContactId(const Aws::String &value)
Definition: StartContactRecordingRequest.h:98
ConnectRequest.h
Aws::Connect::Model::StartContactRecordingRequest::SetVoiceRecordingConfiguration
void SetVoiceRecordingConfiguration(const VoiceRecordingConfiguration &value)
Definition: StartContactRecordingRequest.h:188