AWS SDK for C++  1.9.154
AWS SDK for C++
UpdateQuickConnectNameRequest.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 "UpdateQuickConnectName"; }
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 UpdateQuickConnectNameRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
70 
75  inline UpdateQuickConnectNameRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
76 
81  inline UpdateQuickConnectNameRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
82 
83 
87  inline const Aws::String& GetQuickConnectId() const{ return m_quickConnectId; }
88 
92  inline bool QuickConnectIdHasBeenSet() const { return m_quickConnectIdHasBeenSet; }
93 
97  inline void SetQuickConnectId(const Aws::String& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = value; }
98 
102  inline void SetQuickConnectId(Aws::String&& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = std::move(value); }
103 
107  inline void SetQuickConnectId(const char* value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId.assign(value); }
108 
112  inline UpdateQuickConnectNameRequest& WithQuickConnectId(const Aws::String& value) { SetQuickConnectId(value); return *this;}
113 
117  inline UpdateQuickConnectNameRequest& WithQuickConnectId(Aws::String&& value) { SetQuickConnectId(std::move(value)); return *this;}
118 
122  inline UpdateQuickConnectNameRequest& WithQuickConnectId(const char* value) { SetQuickConnectId(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 UpdateQuickConnectNameRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
154 
158  inline UpdateQuickConnectNameRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
159 
163  inline UpdateQuickConnectNameRequest& 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 UpdateQuickConnectNameRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
195 
199  inline UpdateQuickConnectNameRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
200 
204  inline UpdateQuickConnectNameRequest& 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_quickConnectId;
212  bool m_quickConnectIdHasBeenSet;
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::UpdateQuickConnectNameRequest::WithQuickConnectId
UpdateQuickConnectNameRequest & WithQuickConnectId(const Aws::String &value)
Definition: UpdateQuickConnectNameRequest.h:112
Aws::Connect::Model::UpdateQuickConnectNameRequest::GetName
const Aws::String & GetName() const
Definition: UpdateQuickConnectNameRequest.h:128
Aws::Connect::Model::UpdateQuickConnectNameRequest::UpdateQuickConnectNameRequest
UpdateQuickConnectNameRequest()
Aws::Connect::Model::UpdateQuickConnectNameRequest::WithInstanceId
UpdateQuickConnectNameRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateQuickConnectNameRequest.h:75
Aws::Connect::Model::UpdateQuickConnectNameRequest::WithQuickConnectId
UpdateQuickConnectNameRequest & WithQuickConnectId(Aws::String &&value)
Definition: UpdateQuickConnectNameRequest.h:117
Aws::Connect::Model::UpdateQuickConnectNameRequest::WithName
UpdateQuickConnectNameRequest & WithName(const Aws::String &value)
Definition: UpdateQuickConnectNameRequest.h:153
Aws::Connect::Model::UpdateQuickConnectNameRequest::WithInstanceId
UpdateQuickConnectNameRequest & WithInstanceId(const char *value)
Definition: UpdateQuickConnectNameRequest.h:81
Aws::Connect::Model::UpdateQuickConnectNameRequest::SetName
void SetName(const char *value)
Definition: UpdateQuickConnectNameRequest.h:148
Aws::Connect::Model::UpdateQuickConnectNameRequest::WithName
UpdateQuickConnectNameRequest & WithName(const char *value)
Definition: UpdateQuickConnectNameRequest.h:163
Aws::Connect::Model::UpdateQuickConnectNameRequest::WithInstanceId
UpdateQuickConnectNameRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateQuickConnectNameRequest.h:69
Aws::Connect::Model::UpdateQuickConnectNameRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateQuickConnectNameRequest.h:174
Aws::Connect::Model::UpdateQuickConnectNameRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateQuickConnectNameRequest.h:169
Aws::Connect::Model::UpdateQuickConnectNameRequest::SetQuickConnectId
void SetQuickConnectId(const char *value)
Definition: UpdateQuickConnectNameRequest.h:107
Aws::Connect::Model::UpdateQuickConnectNameRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateQuickConnectNameRequest.h:143
Aws::Connect::Model::UpdateQuickConnectNameRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateQuickConnectNameRequest.h:184
Aws::Connect::Model::UpdateQuickConnectNameRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateQuickConnectNameRequest.h:57
Aws::Connect::Model::UpdateQuickConnectNameRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateQuickConnectNameRequest.h:189
Aws::Connect::Model::UpdateQuickConnectNameRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateQuickConnectNameRequest.h:39
Aws::Connect::Model::UpdateQuickConnectNameRequest::WithDescription
UpdateQuickConnectNameRequest & WithDescription(const Aws::String &value)
Definition: UpdateQuickConnectNameRequest.h:194
Aws::Connect::Model::UpdateQuickConnectNameRequest::WithQuickConnectId
UpdateQuickConnectNameRequest & WithQuickConnectId(const char *value)
Definition: UpdateQuickConnectNameRequest.h:122
Aws::Connect::Model::UpdateQuickConnectNameRequest::WithDescription
UpdateQuickConnectNameRequest & WithDescription(Aws::String &&value)
Definition: UpdateQuickConnectNameRequest.h:199
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::UpdateQuickConnectNameRequest::GetQuickConnectId
const Aws::String & GetQuickConnectId() const
Definition: UpdateQuickConnectNameRequest.h:87
Aws::Connect::Model::UpdateQuickConnectNameRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateQuickConnectNameRequest.h:51
Aws::Connect::Model::UpdateQuickConnectNameRequest::SetQuickConnectId
void SetQuickConnectId(const Aws::String &value)
Definition: UpdateQuickConnectNameRequest.h:97
Aws::Connect::Model::UpdateQuickConnectNameRequest::SetQuickConnectId
void SetQuickConnectId(Aws::String &&value)
Definition: UpdateQuickConnectNameRequest.h:102
Aws::Connect::Model::UpdateQuickConnectNameRequest::QuickConnectIdHasBeenSet
bool QuickConnectIdHasBeenSet() const
Definition: UpdateQuickConnectNameRequest.h:92
AWSString.h
Aws::Connect::Model::UpdateQuickConnectNameRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateQuickConnectNameRequest.h:63
Aws::Connect::Model::UpdateQuickConnectNameRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateQuickConnectNameRequest.h:133
Aws::Connect::Model::UpdateQuickConnectNameRequest::WithName
UpdateQuickConnectNameRequest & WithName(Aws::String &&value)
Definition: UpdateQuickConnectNameRequest.h:158
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::UpdateQuickConnectNameRequest::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::UpdateQuickConnectNameRequest
Definition: UpdateQuickConnectNameRequest.h:22
Aws::Connect::Model::UpdateQuickConnectNameRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateQuickConnectNameRequest.h:45
Aws::Connect::Model::UpdateQuickConnectNameRequest::WithDescription
UpdateQuickConnectNameRequest & WithDescription(const char *value)
Definition: UpdateQuickConnectNameRequest.h:204
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::UpdateQuickConnectNameRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateQuickConnectNameRequest.h:138
Aws::Connect::Model::UpdateQuickConnectNameRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateQuickConnectNameRequest.h:179
Aws::Connect::Model::UpdateQuickConnectNameRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateQuickConnectNameRequest.h:30