AWS SDK for C++  1.9.154
AWS SDK for C++
UpdateQueueNameRequest.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 "UpdateQueueName"; }
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 UpdateQueueNameRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
70 
75  inline UpdateQueueNameRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
76 
81  inline UpdateQueueNameRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
82 
83 
87  inline const Aws::String& GetQueueId() const{ return m_queueId; }
88 
92  inline bool QueueIdHasBeenSet() const { return m_queueIdHasBeenSet; }
93 
97  inline void SetQueueId(const Aws::String& value) { m_queueIdHasBeenSet = true; m_queueId = value; }
98 
102  inline void SetQueueId(Aws::String&& value) { m_queueIdHasBeenSet = true; m_queueId = std::move(value); }
103 
107  inline void SetQueueId(const char* value) { m_queueIdHasBeenSet = true; m_queueId.assign(value); }
108 
112  inline UpdateQueueNameRequest& WithQueueId(const Aws::String& value) { SetQueueId(value); return *this;}
113 
117  inline UpdateQueueNameRequest& WithQueueId(Aws::String&& value) { SetQueueId(std::move(value)); return *this;}
118 
122  inline UpdateQueueNameRequest& WithQueueId(const char* value) { SetQueueId(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 UpdateQueueNameRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
154 
158  inline UpdateQueueNameRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
159 
163  inline UpdateQueueNameRequest& WithName(const char* value) { SetName(value); return *this;}
164 
165 
169  inline const Aws::String& GetDescription() const{ return m_description; }
170 
174  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
175 
179  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
180 
184  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
185 
189  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
190 
194  inline UpdateQueueNameRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
195 
199  inline UpdateQueueNameRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
200 
204  inline UpdateQueueNameRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
205 
206  private:
207 
208  Aws::String m_instanceId;
209  bool m_instanceIdHasBeenSet;
210 
211  Aws::String m_queueId;
212  bool m_queueIdHasBeenSet;
213 
214  Aws::String m_name;
215  bool m_nameHasBeenSet;
216 
217  Aws::String m_description;
218  bool m_descriptionHasBeenSet;
219  };
220 
221 } // namespace Model
222 } // namespace Connect
223 } // namespace Aws
Aws::Connect::Model::UpdateQueueNameRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateQueueNameRequest.h:57
Aws::Connect::Model::UpdateQueueNameRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateQueueNameRequest.h:39
Aws::Connect::Model::UpdateQueueNameRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateQueueNameRequest.h:143
Aws::Connect::Model::UpdateQueueNameRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateQueueNameRequest.h:51
Aws::Connect::Model::UpdateQueueNameRequest::WithInstanceId
UpdateQueueNameRequest & WithInstanceId(const char *value)
Definition: UpdateQueueNameRequest.h:81
Aws::Connect::Model::UpdateQueueNameRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateQueueNameRequest.h:184
Aws::Connect::Model::UpdateQueueNameRequest::WithDescription
UpdateQueueNameRequest & WithDescription(const char *value)
Definition: UpdateQueueNameRequest.h:204
Aws::Connect::Model::UpdateQueueNameRequest::GetQueueId
const Aws::String & GetQueueId() const
Definition: UpdateQueueNameRequest.h:87
Aws::Connect::Model::UpdateQueueNameRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateQueueNameRequest.h:30
Aws::Connect::Model::UpdateQueueNameRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateQueueNameRequest.h:133
Aws::Connect::Model::UpdateQueueNameRequest::WithDescription
UpdateQueueNameRequest & WithDescription(const Aws::String &value)
Definition: UpdateQueueNameRequest.h:194
Aws::Connect::Model::UpdateQueueNameRequest::WithQueueId
UpdateQueueNameRequest & WithQueueId(Aws::String &&value)
Definition: UpdateQueueNameRequest.h:117
Aws::Connect::Model::UpdateQueueNameRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateQueueNameRequest.h:179
Aws::Connect::Model::UpdateQueueNameRequest::SetQueueId
void SetQueueId(const char *value)
Definition: UpdateQueueNameRequest.h:107
Aws::Connect::Model::UpdateQueueNameRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateQueueNameRequest.h:138
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::UpdateQueueNameRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateQueueNameRequest.h:169
Aws::Connect::Model::UpdateQueueNameRequest::WithName
UpdateQueueNameRequest & WithName(Aws::String &&value)
Definition: UpdateQueueNameRequest.h:158
AWSString.h
Aws::Connect::Model::UpdateQueueNameRequest::UpdateQueueNameRequest
UpdateQueueNameRequest()
Aws::Connect::Model::UpdateQueueNameRequest::SetQueueId
void SetQueueId(const Aws::String &value)
Definition: UpdateQueueNameRequest.h:97
Aws::Connect::Model::UpdateQueueNameRequest::WithQueueId
UpdateQueueNameRequest & WithQueueId(const Aws::String &value)
Definition: UpdateQueueNameRequest.h:112
Aws::Connect::Model::UpdateQueueNameRequest::SetQueueId
void SetQueueId(Aws::String &&value)
Definition: UpdateQueueNameRequest.h:102
Aws::Connect::Model::UpdateQueueNameRequest::WithInstanceId
UpdateQueueNameRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateQueueNameRequest.h:69
Aws::Connect::Model::UpdateQueueNameRequest::WithName
UpdateQueueNameRequest & WithName(const Aws::String &value)
Definition: UpdateQueueNameRequest.h:153
Aws::Connect::Model::UpdateQueueNameRequest::WithName
UpdateQueueNameRequest & WithName(const char *value)
Definition: UpdateQueueNameRequest.h:163
Aws::Connect::Model::UpdateQueueNameRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateQueueNameRequest.h:45
Aws::Connect::Model::UpdateQueueNameRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateQueueNameRequest.h:174
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UpdateQueueNameRequest::QueueIdHasBeenSet
bool QueueIdHasBeenSet() const
Definition: UpdateQueueNameRequest.h:92
Aws::Connect::Model::UpdateQueueNameRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateQueueNameRequest.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::UpdateQueueNameRequest::WithDescription
UpdateQueueNameRequest & WithDescription(Aws::String &&value)
Definition: UpdateQueueNameRequest.h:199
Aws::Connect::Model::UpdateQueueNameRequest::GetName
const Aws::String & GetName() const
Definition: UpdateQueueNameRequest.h:128
Aws::Connect::Model::UpdateQueueNameRequest
Definition: UpdateQueueNameRequest.h:22
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::UpdateQueueNameRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateQueueNameRequest.h:189
Aws::Connect::Model::UpdateQueueNameRequest::WithInstanceId
UpdateQueueNameRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateQueueNameRequest.h:75
Connect_EXPORTS.h
Aws::Connect::Model::UpdateQueueNameRequest::SetName
void SetName(const char *value)
Definition: UpdateQueueNameRequest.h:148
ConnectRequest.h
Aws::Connect::Model::UpdateQueueNameRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::UpdateQueueNameRequest::WithQueueId
UpdateQueueNameRequest & WithQueueId(const char *value)
Definition: UpdateQueueNameRequest.h:122