AWS SDK for C++  1.9.104
AWS SDK for C++
UpdateGatewayInformationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace StorageGateway
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateGatewayInformation"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
38 
39  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
40 
41 
42  inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
43 
44 
45  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
46 
47 
48  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
49 
50 
51  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
52 
53 
54  inline UpdateGatewayInformationRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
55 
56 
57  inline UpdateGatewayInformationRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
58 
59 
60  inline UpdateGatewayInformationRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
61 
62 
63 
64  inline const Aws::String& GetGatewayName() const{ return m_gatewayName; }
65 
66 
67  inline bool GatewayNameHasBeenSet() const { return m_gatewayNameHasBeenSet; }
68 
69 
70  inline void SetGatewayName(const Aws::String& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = value; }
71 
72 
73  inline void SetGatewayName(Aws::String&& value) { m_gatewayNameHasBeenSet = true; m_gatewayName = std::move(value); }
74 
75 
76  inline void SetGatewayName(const char* value) { m_gatewayNameHasBeenSet = true; m_gatewayName.assign(value); }
77 
78 
79  inline UpdateGatewayInformationRequest& WithGatewayName(const Aws::String& value) { SetGatewayName(value); return *this;}
80 
81 
82  inline UpdateGatewayInformationRequest& WithGatewayName(Aws::String&& value) { SetGatewayName(std::move(value)); return *this;}
83 
84 
85  inline UpdateGatewayInformationRequest& WithGatewayName(const char* value) { SetGatewayName(value); return *this;}
86 
87 
91  inline const Aws::String& GetGatewayTimezone() const{ return m_gatewayTimezone; }
92 
96  inline bool GatewayTimezoneHasBeenSet() const { return m_gatewayTimezoneHasBeenSet; }
97 
101  inline void SetGatewayTimezone(const Aws::String& value) { m_gatewayTimezoneHasBeenSet = true; m_gatewayTimezone = value; }
102 
106  inline void SetGatewayTimezone(Aws::String&& value) { m_gatewayTimezoneHasBeenSet = true; m_gatewayTimezone = std::move(value); }
107 
111  inline void SetGatewayTimezone(const char* value) { m_gatewayTimezoneHasBeenSet = true; m_gatewayTimezone.assign(value); }
112 
116  inline UpdateGatewayInformationRequest& WithGatewayTimezone(const Aws::String& value) { SetGatewayTimezone(value); return *this;}
117 
121  inline UpdateGatewayInformationRequest& WithGatewayTimezone(Aws::String&& value) { SetGatewayTimezone(std::move(value)); return *this;}
122 
126  inline UpdateGatewayInformationRequest& WithGatewayTimezone(const char* value) { SetGatewayTimezone(value); return *this;}
127 
128 
136  inline const Aws::String& GetCloudWatchLogGroupARN() const{ return m_cloudWatchLogGroupARN; }
137 
145  inline bool CloudWatchLogGroupARNHasBeenSet() const { return m_cloudWatchLogGroupARNHasBeenSet; }
146 
154  inline void SetCloudWatchLogGroupARN(const Aws::String& value) { m_cloudWatchLogGroupARNHasBeenSet = true; m_cloudWatchLogGroupARN = value; }
155 
163  inline void SetCloudWatchLogGroupARN(Aws::String&& value) { m_cloudWatchLogGroupARNHasBeenSet = true; m_cloudWatchLogGroupARN = std::move(value); }
164 
172  inline void SetCloudWatchLogGroupARN(const char* value) { m_cloudWatchLogGroupARNHasBeenSet = true; m_cloudWatchLogGroupARN.assign(value); }
173 
181  inline UpdateGatewayInformationRequest& WithCloudWatchLogGroupARN(const Aws::String& value) { SetCloudWatchLogGroupARN(value); return *this;}
182 
190  inline UpdateGatewayInformationRequest& WithCloudWatchLogGroupARN(Aws::String&& value) { SetCloudWatchLogGroupARN(std::move(value)); return *this;}
191 
199  inline UpdateGatewayInformationRequest& WithCloudWatchLogGroupARN(const char* value) { SetCloudWatchLogGroupARN(value); return *this;}
200 
201 
205  inline const GatewayCapacity& GetGatewayCapacity() const{ return m_gatewayCapacity; }
206 
210  inline bool GatewayCapacityHasBeenSet() const { return m_gatewayCapacityHasBeenSet; }
211 
215  inline void SetGatewayCapacity(const GatewayCapacity& value) { m_gatewayCapacityHasBeenSet = true; m_gatewayCapacity = value; }
216 
220  inline void SetGatewayCapacity(GatewayCapacity&& value) { m_gatewayCapacityHasBeenSet = true; m_gatewayCapacity = std::move(value); }
221 
225  inline UpdateGatewayInformationRequest& WithGatewayCapacity(const GatewayCapacity& value) { SetGatewayCapacity(value); return *this;}
226 
230  inline UpdateGatewayInformationRequest& WithGatewayCapacity(GatewayCapacity&& value) { SetGatewayCapacity(std::move(value)); return *this;}
231 
232  private:
233 
234  Aws::String m_gatewayARN;
235  bool m_gatewayARNHasBeenSet;
236 
237  Aws::String m_gatewayName;
238  bool m_gatewayNameHasBeenSet;
239 
240  Aws::String m_gatewayTimezone;
241  bool m_gatewayTimezoneHasBeenSet;
242 
243  Aws::String m_cloudWatchLogGroupARN;
244  bool m_cloudWatchLogGroupARNHasBeenSet;
245 
246  GatewayCapacity m_gatewayCapacity;
247  bool m_gatewayCapacityHasBeenSet;
248  };
249 
250 } // namespace Model
251 } // namespace StorageGateway
252 } // namespace Aws
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::WithGatewayARN
UpdateGatewayInformationRequest & WithGatewayARN(Aws::String &&value)
Definition: UpdateGatewayInformationRequest.h:57
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::SetGatewayName
void SetGatewayName(Aws::String &&value)
Definition: UpdateGatewayInformationRequest.h:73
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::WithGatewayName
UpdateGatewayInformationRequest & WithGatewayName(const char *value)
Definition: UpdateGatewayInformationRequest.h:85
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::WithGatewayName
UpdateGatewayInformationRequest & WithGatewayName(const Aws::String &value)
Definition: UpdateGatewayInformationRequest.h:79
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::GatewayTimezoneHasBeenSet
bool GatewayTimezoneHasBeenSet() const
Definition: UpdateGatewayInformationRequest.h:96
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: UpdateGatewayInformationRequest.h:51
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::GatewayCapacityHasBeenSet
bool GatewayCapacityHasBeenSet() const
Definition: UpdateGatewayInformationRequest.h:210
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::SetCloudWatchLogGroupARN
void SetCloudWatchLogGroupARN(const Aws::String &value)
Definition: UpdateGatewayInformationRequest.h:154
Aws::StorageGateway::Model::UpdateGatewayInformationRequest
Definition: UpdateGatewayInformationRequest.h:23
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::WithGatewayTimezone
UpdateGatewayInformationRequest & WithGatewayTimezone(const Aws::String &value)
Definition: UpdateGatewayInformationRequest.h:116
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::GetGatewayTimezone
const Aws::String & GetGatewayTimezone() const
Definition: UpdateGatewayInformationRequest.h:91
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::SetGatewayCapacity
void SetGatewayCapacity(const GatewayCapacity &value)
Definition: UpdateGatewayInformationRequest.h:215
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::SetGatewayCapacity
void SetGatewayCapacity(GatewayCapacity &&value)
Definition: UpdateGatewayInformationRequest.h:220
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::SetGatewayTimezone
void SetGatewayTimezone(const char *value)
Definition: UpdateGatewayInformationRequest.h:111
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateGatewayInformationRequest.h:31
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::GetGatewayName
const Aws::String & GetGatewayName() const
Definition: UpdateGatewayInformationRequest.h:64
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::SetGatewayTimezone
void SetGatewayTimezone(const Aws::String &value)
Definition: UpdateGatewayInformationRequest.h:101
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: UpdateGatewayInformationRequest.h:39
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::GatewayNameHasBeenSet
bool GatewayNameHasBeenSet() const
Definition: UpdateGatewayInformationRequest.h:67
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::GetCloudWatchLogGroupARN
const Aws::String & GetCloudWatchLogGroupARN() const
Definition: UpdateGatewayInformationRequest.h:136
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::WithGatewayCapacity
UpdateGatewayInformationRequest & WithGatewayCapacity(const GatewayCapacity &value)
Definition: UpdateGatewayInformationRequest.h:225
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::WithGatewayName
UpdateGatewayInformationRequest & WithGatewayName(Aws::String &&value)
Definition: UpdateGatewayInformationRequest.h:82
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::SetCloudWatchLogGroupARN
void SetCloudWatchLogGroupARN(const char *value)
Definition: UpdateGatewayInformationRequest.h:172
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::SetGatewayName
void SetGatewayName(const Aws::String &value)
Definition: UpdateGatewayInformationRequest.h:70
Aws::StorageGateway::Model::GatewayCapacity
GatewayCapacity
Definition: GatewayCapacity.h:17
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::WithCloudWatchLogGroupARN
UpdateGatewayInformationRequest & WithCloudWatchLogGroupARN(Aws::String &&value)
Definition: UpdateGatewayInformationRequest.h:190
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::WithGatewayARN
UpdateGatewayInformationRequest & WithGatewayARN(const Aws::String &value)
Definition: UpdateGatewayInformationRequest.h:54
AWSString.h
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::WithGatewayCapacity
UpdateGatewayInformationRequest & WithGatewayCapacity(GatewayCapacity &&value)
Definition: UpdateGatewayInformationRequest.h:230
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::SetGatewayName
void SetGatewayName(const char *value)
Definition: UpdateGatewayInformationRequest.h:76
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::WithGatewayTimezone
UpdateGatewayInformationRequest & WithGatewayTimezone(Aws::String &&value)
Definition: UpdateGatewayInformationRequest.h:121
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::WithCloudWatchLogGroupARN
UpdateGatewayInformationRequest & WithCloudWatchLogGroupARN(const Aws::String &value)
Definition: UpdateGatewayInformationRequest.h:181
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::WithGatewayARN
UpdateGatewayInformationRequest & WithGatewayARN(const char *value)
Definition: UpdateGatewayInformationRequest.h:60
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::SetCloudWatchLogGroupARN
void SetCloudWatchLogGroupARN(Aws::String &&value)
Definition: UpdateGatewayInformationRequest.h:163
StorageGatewayRequest.h
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::UpdateGatewayInformationRequest
UpdateGatewayInformationRequest()
GatewayCapacity.h
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: UpdateGatewayInformationRequest.h:45
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::WithCloudWatchLogGroupARN
UpdateGatewayInformationRequest & WithCloudWatchLogGroupARN(const char *value)
Definition: UpdateGatewayInformationRequest.h:199
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::GetGatewayCapacity
const GatewayCapacity & GetGatewayCapacity() const
Definition: UpdateGatewayInformationRequest.h:205
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::SetGatewayTimezone
void SetGatewayTimezone(Aws::String &&value)
Definition: UpdateGatewayInformationRequest.h:106
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::GatewayARNHasBeenSet
bool GatewayARNHasBeenSet() const
Definition: UpdateGatewayInformationRequest.h:42
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::CloudWatchLogGroupARNHasBeenSet
bool CloudWatchLogGroupARNHasBeenSet() const
Definition: UpdateGatewayInformationRequest.h:145
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: UpdateGatewayInformationRequest.h:48
Aws::StorageGateway::Model::UpdateGatewayInformationRequest::WithGatewayTimezone
UpdateGatewayInformationRequest & WithGatewayTimezone(const char *value)
Definition: UpdateGatewayInformationRequest.h:126