AWS SDK for C++  1.9.44
AWS SDK for C++
UpdateGatewayRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace AlexaForBusiness
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 "UpdateGateway"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetGatewayArn() const{ return m_gatewayArn; }
41 
45  inline bool GatewayArnHasBeenSet() const { return m_gatewayArnHasBeenSet; }
46 
50  inline void SetGatewayArn(const Aws::String& value) { m_gatewayArnHasBeenSet = true; m_gatewayArn = value; }
51 
55  inline void SetGatewayArn(Aws::String&& value) { m_gatewayArnHasBeenSet = true; m_gatewayArn = std::move(value); }
56 
60  inline void SetGatewayArn(const char* value) { m_gatewayArnHasBeenSet = true; m_gatewayArn.assign(value); }
61 
65  inline UpdateGatewayRequest& WithGatewayArn(const Aws::String& value) { SetGatewayArn(value); return *this;}
66 
70  inline UpdateGatewayRequest& WithGatewayArn(Aws::String&& value) { SetGatewayArn(std::move(value)); return *this;}
71 
75  inline UpdateGatewayRequest& WithGatewayArn(const char* value) { SetGatewayArn(value); return *this;}
76 
77 
81  inline const Aws::String& GetName() const{ return m_name; }
82 
86  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 
91  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
92 
96  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
97 
101  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
102 
106  inline UpdateGatewayRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
107 
111  inline UpdateGatewayRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
112 
116  inline UpdateGatewayRequest& WithName(const char* value) { SetName(value); return *this;}
117 
118 
122  inline const Aws::String& GetDescription() const{ return m_description; }
123 
127  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
128 
132  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
133 
137  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
138 
142  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
143 
147  inline UpdateGatewayRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
148 
152  inline UpdateGatewayRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
153 
157  inline UpdateGatewayRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
158 
159 
164  inline const Aws::String& GetSoftwareVersion() const{ return m_softwareVersion; }
165 
170  inline bool SoftwareVersionHasBeenSet() const { return m_softwareVersionHasBeenSet; }
171 
176  inline void SetSoftwareVersion(const Aws::String& value) { m_softwareVersionHasBeenSet = true; m_softwareVersion = value; }
177 
182  inline void SetSoftwareVersion(Aws::String&& value) { m_softwareVersionHasBeenSet = true; m_softwareVersion = std::move(value); }
183 
188  inline void SetSoftwareVersion(const char* value) { m_softwareVersionHasBeenSet = true; m_softwareVersion.assign(value); }
189 
194  inline UpdateGatewayRequest& WithSoftwareVersion(const Aws::String& value) { SetSoftwareVersion(value); return *this;}
195 
200  inline UpdateGatewayRequest& WithSoftwareVersion(Aws::String&& value) { SetSoftwareVersion(std::move(value)); return *this;}
201 
206  inline UpdateGatewayRequest& WithSoftwareVersion(const char* value) { SetSoftwareVersion(value); return *this;}
207 
208  private:
209 
210  Aws::String m_gatewayArn;
211  bool m_gatewayArnHasBeenSet;
212 
213  Aws::String m_name;
214  bool m_nameHasBeenSet;
215 
216  Aws::String m_description;
217  bool m_descriptionHasBeenSet;
218 
219  Aws::String m_softwareVersion;
220  bool m_softwareVersionHasBeenSet;
221  };
222 
223 } // namespace Model
224 } // namespace AlexaForBusiness
225 } // namespace Aws
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateGatewayRequest.h:132
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::WithName
UpdateGatewayRequest & WithName(const Aws::String &value)
Definition: UpdateGatewayRequest.h:106
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::WithSoftwareVersion
UpdateGatewayRequest & WithSoftwareVersion(const char *value)
Definition: UpdateGatewayRequest.h:206
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::GetSoftwareVersion
const Aws::String & GetSoftwareVersion() const
Definition: UpdateGatewayRequest.h:164
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::WithDescription
UpdateGatewayRequest & WithDescription(Aws::String &&value)
Definition: UpdateGatewayRequest.h:152
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateGatewayRequest.h:96
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::WithSoftwareVersion
UpdateGatewayRequest & WithSoftwareVersion(Aws::String &&value)
Definition: UpdateGatewayRequest.h:200
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::WithDescription
UpdateGatewayRequest & WithDescription(const Aws::String &value)
Definition: UpdateGatewayRequest.h:147
Aws::AlexaForBusiness::Model::UpdateGatewayRequest
Definition: UpdateGatewayRequest.h:22
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::SetSoftwareVersion
void SetSoftwareVersion(const char *value)
Definition: UpdateGatewayRequest.h:188
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::WithGatewayArn
UpdateGatewayRequest & WithGatewayArn(const char *value)
Definition: UpdateGatewayRequest.h:75
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::SetGatewayArn
void SetGatewayArn(Aws::String &&value)
Definition: UpdateGatewayRequest.h:55
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::WithDescription
UpdateGatewayRequest & WithDescription(const char *value)
Definition: UpdateGatewayRequest.h:157
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::GetName
const Aws::String & GetName() const
Definition: UpdateGatewayRequest.h:81
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::SetSoftwareVersion
void SetSoftwareVersion(const Aws::String &value)
Definition: UpdateGatewayRequest.h:176
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::WithName
UpdateGatewayRequest & WithName(Aws::String &&value)
Definition: UpdateGatewayRequest.h:111
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::SetName
void SetName(const char *value)
Definition: UpdateGatewayRequest.h:101
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::SoftwareVersionHasBeenSet
bool SoftwareVersionHasBeenSet() const
Definition: UpdateGatewayRequest.h:170
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateGatewayRequest.h:137
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateGatewayRequest.h:142
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateGatewayRequest.h:122
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateGatewayRequest.h:86
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateGatewayRequest.h:91
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::WithName
UpdateGatewayRequest & WithName(const char *value)
Definition: UpdateGatewayRequest.h:116
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateGatewayRequest.h:127
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::UpdateGatewayRequest
UpdateGatewayRequest()
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::GetGatewayArn
const Aws::String & GetGatewayArn() const
Definition: UpdateGatewayRequest.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::SetGatewayArn
void SetGatewayArn(const Aws::String &value)
Definition: UpdateGatewayRequest.h:50
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::WithSoftwareVersion
UpdateGatewayRequest & WithSoftwareVersion(const Aws::String &value)
Definition: UpdateGatewayRequest.h:194
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::SetSoftwareVersion
void SetSoftwareVersion(Aws::String &&value)
Definition: UpdateGatewayRequest.h:182
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::SetGatewayArn
void SetGatewayArn(const char *value)
Definition: UpdateGatewayRequest.h:60
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::WithGatewayArn
UpdateGatewayRequest & WithGatewayArn(const Aws::String &value)
Definition: UpdateGatewayRequest.h:65
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::GatewayArnHasBeenSet
bool GatewayArnHasBeenSet() const
Definition: UpdateGatewayRequest.h:45
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::WithGatewayArn
UpdateGatewayRequest & WithGatewayArn(Aws::String &&value)
Definition: UpdateGatewayRequest.h:70
AlexaForBusinessRequest.h
Aws::AlexaForBusiness::Model::UpdateGatewayRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateGatewayRequest.h:30