AWS SDK for C++  1.9.159
AWS SDK for C++
UpdateContactFlowContentRequest.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 "UpdateContactFlowContent"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
39 
43  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 
48  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
49 
53  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
54 
58  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
59 
63  inline UpdateContactFlowContentRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
64 
68  inline UpdateContactFlowContentRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
69 
73  inline UpdateContactFlowContentRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
74 
75 
79  inline const Aws::String& GetContactFlowId() const{ return m_contactFlowId; }
80 
84  inline bool ContactFlowIdHasBeenSet() const { return m_contactFlowIdHasBeenSet; }
85 
89  inline void SetContactFlowId(const Aws::String& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = value; }
90 
94  inline void SetContactFlowId(Aws::String&& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = std::move(value); }
95 
99  inline void SetContactFlowId(const char* value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId.assign(value); }
100 
104  inline UpdateContactFlowContentRequest& WithContactFlowId(const Aws::String& value) { SetContactFlowId(value); return *this;}
105 
109  inline UpdateContactFlowContentRequest& WithContactFlowId(Aws::String&& value) { SetContactFlowId(std::move(value)); return *this;}
110 
114  inline UpdateContactFlowContentRequest& WithContactFlowId(const char* value) { SetContactFlowId(value); return *this;}
115 
116 
124  inline const Aws::String& GetContent() const{ return m_content; }
125 
133  inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
134 
142  inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
143 
151  inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
152 
160  inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
161 
169  inline UpdateContactFlowContentRequest& WithContent(const Aws::String& value) { SetContent(value); return *this;}
170 
178  inline UpdateContactFlowContentRequest& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
179 
187  inline UpdateContactFlowContentRequest& WithContent(const char* value) { SetContent(value); return *this;}
188 
189  private:
190 
191  Aws::String m_instanceId;
192  bool m_instanceIdHasBeenSet;
193 
194  Aws::String m_contactFlowId;
195  bool m_contactFlowIdHasBeenSet;
196 
197  Aws::String m_content;
198  bool m_contentHasBeenSet;
199  };
200 
201 } // namespace Model
202 } // namespace Connect
203 } // namespace Aws
Aws::Connect::Model::UpdateContactFlowContentRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateContactFlowContentRequest.h:53
Aws::Connect::Model::UpdateContactFlowContentRequest::GetContactFlowId
const Aws::String & GetContactFlowId() const
Definition: UpdateContactFlowContentRequest.h:79
Aws::Connect::Model::UpdateContactFlowContentRequest::SetContactFlowId
void SetContactFlowId(Aws::String &&value)
Definition: UpdateContactFlowContentRequest.h:94
Aws::Connect::Model::UpdateContactFlowContentRequest::ContactFlowIdHasBeenSet
bool ContactFlowIdHasBeenSet() const
Definition: UpdateContactFlowContentRequest.h:84
Aws::Connect::Model::UpdateContactFlowContentRequest::WithContent
UpdateContactFlowContentRequest & WithContent(const Aws::String &value)
Definition: UpdateContactFlowContentRequest.h:169
Aws::Connect::Model::UpdateContactFlowContentRequest::UpdateContactFlowContentRequest
UpdateContactFlowContentRequest()
Aws::Connect::Model::UpdateContactFlowContentRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateContactFlowContentRequest.h:38
Aws::Connect::Model::UpdateContactFlowContentRequest::SetContactFlowId
void SetContactFlowId(const char *value)
Definition: UpdateContactFlowContentRequest.h:99
Aws::Connect::Model::UpdateContactFlowContentRequest::SetContent
void SetContent(const Aws::String &value)
Definition: UpdateContactFlowContentRequest.h:142
Aws::Connect::Model::UpdateContactFlowContentRequest::WithInstanceId
UpdateContactFlowContentRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateContactFlowContentRequest.h:63
Aws::Connect::Model::UpdateContactFlowContentRequest::WithContent
UpdateContactFlowContentRequest & WithContent(Aws::String &&value)
Definition: UpdateContactFlowContentRequest.h:178
Aws::Connect::Model::UpdateContactFlowContentRequest::GetContent
const Aws::String & GetContent() const
Definition: UpdateContactFlowContentRequest.h:124
Aws::Connect::Model::UpdateContactFlowContentRequest::SetContent
void SetContent(const char *value)
Definition: UpdateContactFlowContentRequest.h:160
Aws::Connect::Model::UpdateContactFlowContentRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateContactFlowContentRequest.h:58
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::UpdateContactFlowContentRequest::WithContactFlowId
UpdateContactFlowContentRequest & WithContactFlowId(const char *value)
Definition: UpdateContactFlowContentRequest.h:114
AWSString.h
Aws::Connect::Model::UpdateContactFlowContentRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateContactFlowContentRequest.h:43
Aws::Connect::Model::UpdateContactFlowContentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateContactFlowContentRequest.h:30
Aws::Connect::Model::UpdateContactFlowContentRequest::ContentHasBeenSet
bool ContentHasBeenSet() const
Definition: UpdateContactFlowContentRequest.h:133
Aws::Connect::Model::UpdateContactFlowContentRequest::SetContent
void SetContent(Aws::String &&value)
Definition: UpdateContactFlowContentRequest.h:151
Aws::Connect::Model::UpdateContactFlowContentRequest
Definition: UpdateContactFlowContentRequest.h:22
Aws::Connect::Model::UpdateContactFlowContentRequest::SetContactFlowId
void SetContactFlowId(const Aws::String &value)
Definition: UpdateContactFlowContentRequest.h:89
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UpdateContactFlowContentRequest::WithInstanceId
UpdateContactFlowContentRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateContactFlowContentRequest.h:68
Aws::Connect::Model::UpdateContactFlowContentRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateContactFlowContentRequest.h:48
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::UpdateContactFlowContentRequest::WithContactFlowId
UpdateContactFlowContentRequest & WithContactFlowId(Aws::String &&value)
Definition: UpdateContactFlowContentRequest.h:109
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::UpdateContactFlowContentRequest::WithContactFlowId
UpdateContactFlowContentRequest & WithContactFlowId(const Aws::String &value)
Definition: UpdateContactFlowContentRequest.h:104
Aws::Connect::Model::UpdateContactFlowContentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::UpdateContactFlowContentRequest::WithContent
UpdateContactFlowContentRequest & WithContent(const char *value)
Definition: UpdateContactFlowContentRequest.h:187
Aws::Connect::Model::UpdateContactFlowContentRequest::WithInstanceId
UpdateContactFlowContentRequest & WithInstanceId(const char *value)
Definition: UpdateContactFlowContentRequest.h:73