AWS SDK for C++  1.9.160
AWS SDK for C++
UpdateRoutingProfileNameRequest.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 "UpdateRoutingProfileName"; }
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 UpdateRoutingProfileNameRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
70 
75  inline UpdateRoutingProfileNameRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
76 
81  inline UpdateRoutingProfileNameRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
82 
83 
87  inline const Aws::String& GetRoutingProfileId() const{ return m_routingProfileId; }
88 
92  inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
93 
97  inline void SetRoutingProfileId(const Aws::String& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = value; }
98 
102  inline void SetRoutingProfileId(Aws::String&& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = std::move(value); }
103 
107  inline void SetRoutingProfileId(const char* value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId.assign(value); }
108 
112  inline UpdateRoutingProfileNameRequest& WithRoutingProfileId(const Aws::String& value) { SetRoutingProfileId(value); return *this;}
113 
117  inline UpdateRoutingProfileNameRequest& WithRoutingProfileId(Aws::String&& value) { SetRoutingProfileId(std::move(value)); return *this;}
118 
122  inline UpdateRoutingProfileNameRequest& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;}
123 
124 
128  inline const Aws::String& GetName() const{ return m_name; }
129 
133  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
134 
138  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
139 
143  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
144 
148  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
149 
153  inline UpdateRoutingProfileNameRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
154 
158  inline UpdateRoutingProfileNameRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
159 
163  inline UpdateRoutingProfileNameRequest& WithName(const char* value) { SetName(value); return *this;}
164 
165 
170  inline const Aws::String& GetDescription() const{ return m_description; }
171 
176  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
177 
182  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
183 
188  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
189 
194  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
195 
200  inline UpdateRoutingProfileNameRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
201 
206  inline UpdateRoutingProfileNameRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
207 
212  inline UpdateRoutingProfileNameRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
213 
214  private:
215 
216  Aws::String m_instanceId;
217  bool m_instanceIdHasBeenSet;
218 
219  Aws::String m_routingProfileId;
220  bool m_routingProfileIdHasBeenSet;
221 
222  Aws::String m_name;
223  bool m_nameHasBeenSet;
224 
225  Aws::String m_description;
226  bool m_descriptionHasBeenSet;
227  };
228 
229 } // namespace Model
230 } // namespace Connect
231 } // namespace Aws
Aws::Connect::Model::UpdateRoutingProfileNameRequest::WithRoutingProfileId
UpdateRoutingProfileNameRequest & WithRoutingProfileId(Aws::String &&value)
Definition: UpdateRoutingProfileNameRequest.h:117
Aws::Connect::Model::UpdateRoutingProfileNameRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateRoutingProfileNameRequest.h:57
Aws::Connect::Model::UpdateRoutingProfileNameRequest::SetRoutingProfileId
void SetRoutingProfileId(const Aws::String &value)
Definition: UpdateRoutingProfileNameRequest.h:97
Aws::Connect::Model::UpdateRoutingProfileNameRequest::SetName
void SetName(const char *value)
Definition: UpdateRoutingProfileNameRequest.h:148
Aws::Connect::Model::UpdateRoutingProfileNameRequest::WithName
UpdateRoutingProfileNameRequest & WithName(const char *value)
Definition: UpdateRoutingProfileNameRequest.h:163
Aws::Connect::Model::UpdateRoutingProfileNameRequest::WithRoutingProfileId
UpdateRoutingProfileNameRequest & WithRoutingProfileId(const char *value)
Definition: UpdateRoutingProfileNameRequest.h:122
Aws::Connect::Model::UpdateRoutingProfileNameRequest::WithDescription
UpdateRoutingProfileNameRequest & WithDescription(const char *value)
Definition: UpdateRoutingProfileNameRequest.h:212
Aws::Connect::Model::UpdateRoutingProfileNameRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateRoutingProfileNameRequest.h:45
Aws::Connect::Model::UpdateRoutingProfileNameRequest::SetRoutingProfileId
void SetRoutingProfileId(Aws::String &&value)
Definition: UpdateRoutingProfileNameRequest.h:102
Aws::Connect::Model::UpdateRoutingProfileNameRequest::GetName
const Aws::String & GetName() const
Definition: UpdateRoutingProfileNameRequest.h:128
Aws::Connect::Model::UpdateRoutingProfileNameRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateRoutingProfileNameRequest.h:176
Aws::Connect::Model::UpdateRoutingProfileNameRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateRoutingProfileNameRequest.h:194
Aws::Connect::Model::UpdateRoutingProfileNameRequest::WithRoutingProfileId
UpdateRoutingProfileNameRequest & WithRoutingProfileId(const Aws::String &value)
Definition: UpdateRoutingProfileNameRequest.h:112
Aws::Connect::Model::UpdateRoutingProfileNameRequest::SetRoutingProfileId
void SetRoutingProfileId(const char *value)
Definition: UpdateRoutingProfileNameRequest.h:107
Aws::Connect::Model::UpdateRoutingProfileNameRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateRoutingProfileNameRequest.h:143
Aws::Connect::Model::UpdateRoutingProfileNameRequest::RoutingProfileIdHasBeenSet
bool RoutingProfileIdHasBeenSet() const
Definition: UpdateRoutingProfileNameRequest.h:92
Aws::Connect::Model::UpdateRoutingProfileNameRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::UpdateRoutingProfileNameRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateRoutingProfileNameRequest.h:51
Aws::Connect::Model::UpdateRoutingProfileNameRequest::WithDescription
UpdateRoutingProfileNameRequest & WithDescription(const Aws::String &value)
Definition: UpdateRoutingProfileNameRequest.h:200
Aws::Connect::Model::UpdateRoutingProfileNameRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateRoutingProfileNameRequest.h:188
Aws::Connect::Model::UpdateRoutingProfileNameRequest::WithInstanceId
UpdateRoutingProfileNameRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateRoutingProfileNameRequest.h:69
Aws::Connect::Model::UpdateRoutingProfileNameRequest::WithInstanceId
UpdateRoutingProfileNameRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateRoutingProfileNameRequest.h:75
Aws::Connect::Model::UpdateRoutingProfileNameRequest::UpdateRoutingProfileNameRequest
UpdateRoutingProfileNameRequest()
Aws::Connect::Model::UpdateRoutingProfileNameRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateRoutingProfileNameRequest.h:30
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
AWSString.h
Aws::Connect::Model::UpdateRoutingProfileNameRequest::WithInstanceId
UpdateRoutingProfileNameRequest & WithInstanceId(const char *value)
Definition: UpdateRoutingProfileNameRequest.h:81
Aws::Connect::Model::UpdateRoutingProfileNameRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateRoutingProfileNameRequest.h:138
Aws::Connect::Model::UpdateRoutingProfileNameRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateRoutingProfileNameRequest.h:133
Aws::Connect::Model::UpdateRoutingProfileNameRequest::GetRoutingProfileId
const Aws::String & GetRoutingProfileId() const
Definition: UpdateRoutingProfileNameRequest.h:87
Aws::Connect::Model::UpdateRoutingProfileNameRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateRoutingProfileNameRequest.h:170
Aws::Connect::Model::UpdateRoutingProfileNameRequest::WithName
UpdateRoutingProfileNameRequest & WithName(const Aws::String &value)
Definition: UpdateRoutingProfileNameRequest.h:153
Aws::Connect::Model::UpdateRoutingProfileNameRequest::WithName
UpdateRoutingProfileNameRequest & WithName(Aws::String &&value)
Definition: UpdateRoutingProfileNameRequest.h:158
Aws::Connect::Model::UpdateRoutingProfileNameRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateRoutingProfileNameRequest.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UpdateRoutingProfileNameRequest::WithDescription
UpdateRoutingProfileNameRequest & WithDescription(Aws::String &&value)
Definition: UpdateRoutingProfileNameRequest.h:206
Aws::Connect::Model::UpdateRoutingProfileNameRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateRoutingProfileNameRequest.h:182
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::UpdateRoutingProfileNameRequest
Definition: UpdateRoutingProfileNameRequest.h:22
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::UpdateRoutingProfileNameRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateRoutingProfileNameRequest.h:39
Connect_EXPORTS.h
ConnectRequest.h