AWS SDK for C++  1.9.156
AWS SDK for C++
UpdateContactFlowNameRequest.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 "UpdateContactFlowName"; }
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 UpdateContactFlowNameRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
64 
68  inline UpdateContactFlowNameRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
69 
73  inline UpdateContactFlowNameRequest& 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 UpdateContactFlowNameRequest& WithContactFlowId(const Aws::String& value) { SetContactFlowId(value); return *this;}
105 
109  inline UpdateContactFlowNameRequest& WithContactFlowId(Aws::String&& value) { SetContactFlowId(std::move(value)); return *this;}
110 
114  inline UpdateContactFlowNameRequest& WithContactFlowId(const char* value) { SetContactFlowId(value); return *this;}
115 
116 
120  inline const Aws::String& GetName() const{ return m_name; }
121 
125  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
126 
130  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
131 
135  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
136 
140  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
141 
145  inline UpdateContactFlowNameRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
146 
150  inline UpdateContactFlowNameRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
151 
155  inline UpdateContactFlowNameRequest& WithName(const char* value) { SetName(value); return *this;}
156 
157 
161  inline const Aws::String& GetDescription() const{ return m_description; }
162 
166  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
167 
171  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
172 
176  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
177 
181  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
182 
186  inline UpdateContactFlowNameRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
187 
191  inline UpdateContactFlowNameRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
192 
196  inline UpdateContactFlowNameRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
197 
198  private:
199 
200  Aws::String m_instanceId;
201  bool m_instanceIdHasBeenSet;
202 
203  Aws::String m_contactFlowId;
204  bool m_contactFlowIdHasBeenSet;
205 
206  Aws::String m_name;
207  bool m_nameHasBeenSet;
208 
209  Aws::String m_description;
210  bool m_descriptionHasBeenSet;
211  };
212 
213 } // namespace Model
214 } // namespace Connect
215 } // namespace Aws
Aws::Connect::Model::UpdateContactFlowNameRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateContactFlowNameRequest.h:43
Aws::Connect::Model::UpdateContactFlowNameRequest::ContactFlowIdHasBeenSet
bool ContactFlowIdHasBeenSet() const
Definition: UpdateContactFlowNameRequest.h:84
Aws::Connect::Model::UpdateContactFlowNameRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateContactFlowNameRequest.h:176
Aws::Connect::Model::UpdateContactFlowNameRequest::SetContactFlowId
void SetContactFlowId(Aws::String &&value)
Definition: UpdateContactFlowNameRequest.h:94
Aws::Connect::Model::UpdateContactFlowNameRequest::UpdateContactFlowNameRequest
UpdateContactFlowNameRequest()
Aws::Connect::Model::UpdateContactFlowNameRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateContactFlowNameRequest.h:58
Aws::Connect::Model::UpdateContactFlowNameRequest::WithInstanceId
UpdateContactFlowNameRequest & WithInstanceId(const char *value)
Definition: UpdateContactFlowNameRequest.h:73
Aws::Connect::Model::UpdateContactFlowNameRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateContactFlowNameRequest.h:171
Aws::Connect::Model::UpdateContactFlowNameRequest::WithContactFlowId
UpdateContactFlowNameRequest & WithContactFlowId(const Aws::String &value)
Definition: UpdateContactFlowNameRequest.h:104
Aws::Connect::Model::UpdateContactFlowNameRequest::SetContactFlowId
void SetContactFlowId(const char *value)
Definition: UpdateContactFlowNameRequest.h:99
Aws::Connect::Model::UpdateContactFlowNameRequest::WithName
UpdateContactFlowNameRequest & WithName(const char *value)
Definition: UpdateContactFlowNameRequest.h:155
Aws::Connect::Model::UpdateContactFlowNameRequest::WithDescription
UpdateContactFlowNameRequest & WithDescription(const Aws::String &value)
Definition: UpdateContactFlowNameRequest.h:186
Aws::Connect::Model::UpdateContactFlowNameRequest::WithName
UpdateContactFlowNameRequest & WithName(const Aws::String &value)
Definition: UpdateContactFlowNameRequest.h:145
Aws::Connect::Model::UpdateContactFlowNameRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateContactFlowNameRequest.h:53
Aws::Connect::Model::UpdateContactFlowNameRequest::WithInstanceId
UpdateContactFlowNameRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateContactFlowNameRequest.h:68
Aws::Connect::Model::UpdateContactFlowNameRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateContactFlowNameRequest.h:135
Aws::Connect::Model::UpdateContactFlowNameRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateContactFlowNameRequest.h:125
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::UpdateContactFlowNameRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateContactFlowNameRequest.h:161
Aws::Connect::Model::UpdateContactFlowNameRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateContactFlowNameRequest.h:30
Aws::Connect::Model::UpdateContactFlowNameRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateContactFlowNameRequest.h:48
Aws::Connect::Model::UpdateContactFlowNameRequest::GetContactFlowId
const Aws::String & GetContactFlowId() const
Definition: UpdateContactFlowNameRequest.h:79
AWSString.h
Aws::Connect::Model::UpdateContactFlowNameRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateContactFlowNameRequest.h:181
Aws::Connect::Model::UpdateContactFlowNameRequest::WithInstanceId
UpdateContactFlowNameRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateContactFlowNameRequest.h:63
Aws::Connect::Model::UpdateContactFlowNameRequest::SetContactFlowId
void SetContactFlowId(const Aws::String &value)
Definition: UpdateContactFlowNameRequest.h:89
Aws::Connect::Model::UpdateContactFlowNameRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateContactFlowNameRequest.h:130
Aws::Connect::Model::UpdateContactFlowNameRequest::WithDescription
UpdateContactFlowNameRequest & WithDescription(Aws::String &&value)
Definition: UpdateContactFlowNameRequest.h:191
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UpdateContactFlowNameRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::UpdateContactFlowNameRequest::WithContactFlowId
UpdateContactFlowNameRequest & WithContactFlowId(Aws::String &&value)
Definition: UpdateContactFlowNameRequest.h:109
Aws::Connect::Model::UpdateContactFlowNameRequest::WithName
UpdateContactFlowNameRequest & WithName(Aws::String &&value)
Definition: UpdateContactFlowNameRequest.h:150
Aws::Connect::Model::UpdateContactFlowNameRequest::WithContactFlowId
UpdateContactFlowNameRequest & WithContactFlowId(const char *value)
Definition: UpdateContactFlowNameRequest.h:114
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::UpdateContactFlowNameRequest
Definition: UpdateContactFlowNameRequest.h:22
Aws::Connect::Model::UpdateContactFlowNameRequest::WithDescription
UpdateContactFlowNameRequest & WithDescription(const char *value)
Definition: UpdateContactFlowNameRequest.h:196
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::UpdateContactFlowNameRequest::GetName
const Aws::String & GetName() const
Definition: UpdateContactFlowNameRequest.h:120
Aws::Connect::Model::UpdateContactFlowNameRequest::SetName
void SetName(const char *value)
Definition: UpdateContactFlowNameRequest.h:140
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::UpdateContactFlowNameRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateContactFlowNameRequest.h:38
Aws::Connect::Model::UpdateContactFlowNameRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateContactFlowNameRequest.h:166