AWS SDK for C++  1.9.154
AWS SDK for C++
ResumeContactRecordingRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Connect
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ResumeContactRecording"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
40 
45  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 
51  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
52 
57  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
58 
63  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
64 
69  inline ResumeContactRecordingRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
70 
75  inline ResumeContactRecordingRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
76 
81  inline ResumeContactRecordingRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
82 
83 
87  inline const Aws::String& GetContactId() const{ return m_contactId; }
88 
92  inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
93 
97  inline void SetContactId(const Aws::String& value) { m_contactIdHasBeenSet = true; m_contactId = value; }
98 
102  inline void SetContactId(Aws::String&& value) { m_contactIdHasBeenSet = true; m_contactId = std::move(value); }
103 
107  inline void SetContactId(const char* value) { m_contactIdHasBeenSet = true; m_contactId.assign(value); }
108 
112  inline ResumeContactRecordingRequest& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
113 
117  inline ResumeContactRecordingRequest& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
118 
122  inline ResumeContactRecordingRequest& WithContactId(const char* value) { SetContactId(value); return *this;}
123 
124 
129  inline const Aws::String& GetInitialContactId() const{ return m_initialContactId; }
130 
135  inline bool InitialContactIdHasBeenSet() const { return m_initialContactIdHasBeenSet; }
136 
141  inline void SetInitialContactId(const Aws::String& value) { m_initialContactIdHasBeenSet = true; m_initialContactId = value; }
142 
147  inline void SetInitialContactId(Aws::String&& value) { m_initialContactIdHasBeenSet = true; m_initialContactId = std::move(value); }
148 
153  inline void SetInitialContactId(const char* value) { m_initialContactIdHasBeenSet = true; m_initialContactId.assign(value); }
154 
159  inline ResumeContactRecordingRequest& WithInitialContactId(const Aws::String& value) { SetInitialContactId(value); return *this;}
160 
165  inline ResumeContactRecordingRequest& WithInitialContactId(Aws::String&& value) { SetInitialContactId(std::move(value)); return *this;}
166 
171  inline ResumeContactRecordingRequest& WithInitialContactId(const char* value) { SetInitialContactId(value); return *this;}
172 
173  private:
174 
175  Aws::String m_instanceId;
176  bool m_instanceIdHasBeenSet;
177 
178  Aws::String m_contactId;
179  bool m_contactIdHasBeenSet;
180 
181  Aws::String m_initialContactId;
182  bool m_initialContactIdHasBeenSet;
183  };
184 
185 } // namespace Model
186 } // namespace Connect
187 } // namespace Aws
Aws::Connect::Model::ResumeContactRecordingRequest::WithInstanceId
ResumeContactRecordingRequest & WithInstanceId(Aws::String &&value)
Definition: ResumeContactRecordingRequest.h:75
Aws::Connect::Model::ResumeContactRecordingRequest::WithInitialContactId
ResumeContactRecordingRequest & WithInitialContactId(const Aws::String &value)
Definition: ResumeContactRecordingRequest.h:159
Aws::Connect::Model::ResumeContactRecordingRequest::WithInitialContactId
ResumeContactRecordingRequest & WithInitialContactId(Aws::String &&value)
Definition: ResumeContactRecordingRequest.h:165
Aws::Connect::Model::ResumeContactRecordingRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: ResumeContactRecordingRequest.h:63
Aws::Connect::Model::ResumeContactRecordingRequest::InitialContactIdHasBeenSet
bool InitialContactIdHasBeenSet() const
Definition: ResumeContactRecordingRequest.h:135
Aws::Connect::Model::ResumeContactRecordingRequest::ContactIdHasBeenSet
bool ContactIdHasBeenSet() const
Definition: ResumeContactRecordingRequest.h:92
Aws::Connect::Model::ResumeContactRecordingRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: ResumeContactRecordingRequest.h:39
Aws::Connect::Model::ResumeContactRecordingRequest::SetInitialContactId
void SetInitialContactId(const Aws::String &value)
Definition: ResumeContactRecordingRequest.h:141
Aws::Connect::Model::ResumeContactRecordingRequest::ResumeContactRecordingRequest
ResumeContactRecordingRequest()
Aws::Connect::Model::ResumeContactRecordingRequest::SetInitialContactId
void SetInitialContactId(Aws::String &&value)
Definition: ResumeContactRecordingRequest.h:147
Aws::Connect::Model::ResumeContactRecordingRequest::WithContactId
ResumeContactRecordingRequest & WithContactId(const Aws::String &value)
Definition: ResumeContactRecordingRequest.h:112
Aws::Connect::Model::ResumeContactRecordingRequest::WithContactId
ResumeContactRecordingRequest & WithContactId(const char *value)
Definition: ResumeContactRecordingRequest.h:122
Aws::Connect::Model::ResumeContactRecordingRequest::SetInitialContactId
void SetInitialContactId(const char *value)
Definition: ResumeContactRecordingRequest.h:153
Aws::Connect::Model::ResumeContactRecordingRequest
Definition: ResumeContactRecordingRequest.h:22
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::ResumeContactRecordingRequest::WithInstanceId
ResumeContactRecordingRequest & WithInstanceId(const char *value)
Definition: ResumeContactRecordingRequest.h:81
Aws::Connect::Model::ResumeContactRecordingRequest::WithContactId
ResumeContactRecordingRequest & WithContactId(Aws::String &&value)
Definition: ResumeContactRecordingRequest.h:117
Aws::Connect::Model::ResumeContactRecordingRequest::SetContactId
void SetContactId(const Aws::String &value)
Definition: ResumeContactRecordingRequest.h:97
AWSString.h
Aws::Connect::Model::ResumeContactRecordingRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: ResumeContactRecordingRequest.h:45
Aws::Connect::Model::ResumeContactRecordingRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: ResumeContactRecordingRequest.h:57
Aws::Connect::Model::ResumeContactRecordingRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: ResumeContactRecordingRequest.h:51
Aws::Connect::Model::ResumeContactRecordingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ResumeContactRecordingRequest.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::ResumeContactRecordingRequest::WithInitialContactId
ResumeContactRecordingRequest & WithInitialContactId(const char *value)
Definition: ResumeContactRecordingRequest.h:171
Aws::Connect::Model::ResumeContactRecordingRequest::WithInstanceId
ResumeContactRecordingRequest & WithInstanceId(const Aws::String &value)
Definition: ResumeContactRecordingRequest.h:69
Aws::Connect::Model::ResumeContactRecordingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::ResumeContactRecordingRequest::SetContactId
void SetContactId(const char *value)
Definition: ResumeContactRecordingRequest.h:107
Connect_EXPORTS.h
Aws::Connect::Model::ResumeContactRecordingRequest::GetContactId
const Aws::String & GetContactId() const
Definition: ResumeContactRecordingRequest.h:87
ConnectRequest.h
Aws::Connect::Model::ResumeContactRecordingRequest::GetInitialContactId
const Aws::String & GetInitialContactId() const
Definition: ResumeContactRecordingRequest.h:129
Aws::Connect::Model::ResumeContactRecordingRequest::SetContactId
void SetContactId(Aws::String &&value)
Definition: ResumeContactRecordingRequest.h:102