AWS SDK for C++  1.9.108
AWS SDK for C++
UpdateClusterRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Snowball
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "UpdateCluster"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::String& GetClusterId() const{ return m_clusterId; }
46 
51  inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
52 
57  inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
58 
63  inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
64 
69  inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
70 
75  inline UpdateClusterRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
76 
81  inline UpdateClusterRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
82 
87  inline UpdateClusterRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
88 
89 
96  inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
97 
104  inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
105 
112  inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
113 
120  inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
121 
128  inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
129 
136  inline UpdateClusterRequest& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
137 
144  inline UpdateClusterRequest& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
145 
152  inline UpdateClusterRequest& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
153 
154 
158  inline const Aws::String& GetDescription() const{ return m_description; }
159 
163  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
164 
168  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
169 
173  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
174 
178  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
179 
183  inline UpdateClusterRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
184 
188  inline UpdateClusterRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
189 
193  inline UpdateClusterRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
194 
195 
200  inline const JobResource& GetResources() const{ return m_resources; }
201 
206  inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; }
207 
212  inline void SetResources(const JobResource& value) { m_resourcesHasBeenSet = true; m_resources = value; }
213 
218  inline void SetResources(JobResource&& value) { m_resourcesHasBeenSet = true; m_resources = std::move(value); }
219 
224  inline UpdateClusterRequest& WithResources(const JobResource& value) { SetResources(value); return *this;}
225 
230  inline UpdateClusterRequest& WithResources(JobResource&& value) { SetResources(std::move(value)); return *this;}
231 
232 
238  inline const OnDeviceServiceConfiguration& GetOnDeviceServiceConfiguration() const{ return m_onDeviceServiceConfiguration; }
239 
245  inline bool OnDeviceServiceConfigurationHasBeenSet() const { return m_onDeviceServiceConfigurationHasBeenSet; }
246 
252  inline void SetOnDeviceServiceConfiguration(const OnDeviceServiceConfiguration& value) { m_onDeviceServiceConfigurationHasBeenSet = true; m_onDeviceServiceConfiguration = value; }
253 
259  inline void SetOnDeviceServiceConfiguration(OnDeviceServiceConfiguration&& value) { m_onDeviceServiceConfigurationHasBeenSet = true; m_onDeviceServiceConfiguration = std::move(value); }
260 
266  inline UpdateClusterRequest& WithOnDeviceServiceConfiguration(const OnDeviceServiceConfiguration& value) { SetOnDeviceServiceConfiguration(value); return *this;}
267 
273  inline UpdateClusterRequest& WithOnDeviceServiceConfiguration(OnDeviceServiceConfiguration&& value) { SetOnDeviceServiceConfiguration(std::move(value)); return *this;}
274 
275 
279  inline const Aws::String& GetAddressId() const{ return m_addressId; }
280 
284  inline bool AddressIdHasBeenSet() const { return m_addressIdHasBeenSet; }
285 
289  inline void SetAddressId(const Aws::String& value) { m_addressIdHasBeenSet = true; m_addressId = value; }
290 
294  inline void SetAddressId(Aws::String&& value) { m_addressIdHasBeenSet = true; m_addressId = std::move(value); }
295 
299  inline void SetAddressId(const char* value) { m_addressIdHasBeenSet = true; m_addressId.assign(value); }
300 
304  inline UpdateClusterRequest& WithAddressId(const Aws::String& value) { SetAddressId(value); return *this;}
305 
309  inline UpdateClusterRequest& WithAddressId(Aws::String&& value) { SetAddressId(std::move(value)); return *this;}
310 
314  inline UpdateClusterRequest& WithAddressId(const char* value) { SetAddressId(value); return *this;}
315 
316 
321  inline const ShippingOption& GetShippingOption() const{ return m_shippingOption; }
322 
327  inline bool ShippingOptionHasBeenSet() const { return m_shippingOptionHasBeenSet; }
328 
333  inline void SetShippingOption(const ShippingOption& value) { m_shippingOptionHasBeenSet = true; m_shippingOption = value; }
334 
339  inline void SetShippingOption(ShippingOption&& value) { m_shippingOptionHasBeenSet = true; m_shippingOption = std::move(value); }
340 
345  inline UpdateClusterRequest& WithShippingOption(const ShippingOption& value) { SetShippingOption(value); return *this;}
346 
351  inline UpdateClusterRequest& WithShippingOption(ShippingOption&& value) { SetShippingOption(std::move(value)); return *this;}
352 
353 
357  inline const Notification& GetNotification() const{ return m_notification; }
358 
362  inline bool NotificationHasBeenSet() const { return m_notificationHasBeenSet; }
363 
367  inline void SetNotification(const Notification& value) { m_notificationHasBeenSet = true; m_notification = value; }
368 
372  inline void SetNotification(Notification&& value) { m_notificationHasBeenSet = true; m_notification = std::move(value); }
373 
377  inline UpdateClusterRequest& WithNotification(const Notification& value) { SetNotification(value); return *this;}
378 
382  inline UpdateClusterRequest& WithNotification(Notification&& value) { SetNotification(std::move(value)); return *this;}
383 
384 
389  inline const Aws::String& GetForwardingAddressId() const{ return m_forwardingAddressId; }
390 
395  inline bool ForwardingAddressIdHasBeenSet() const { return m_forwardingAddressIdHasBeenSet; }
396 
401  inline void SetForwardingAddressId(const Aws::String& value) { m_forwardingAddressIdHasBeenSet = true; m_forwardingAddressId = value; }
402 
407  inline void SetForwardingAddressId(Aws::String&& value) { m_forwardingAddressIdHasBeenSet = true; m_forwardingAddressId = std::move(value); }
408 
413  inline void SetForwardingAddressId(const char* value) { m_forwardingAddressIdHasBeenSet = true; m_forwardingAddressId.assign(value); }
414 
419  inline UpdateClusterRequest& WithForwardingAddressId(const Aws::String& value) { SetForwardingAddressId(value); return *this;}
420 
425  inline UpdateClusterRequest& WithForwardingAddressId(Aws::String&& value) { SetForwardingAddressId(std::move(value)); return *this;}
426 
431  inline UpdateClusterRequest& WithForwardingAddressId(const char* value) { SetForwardingAddressId(value); return *this;}
432 
433  private:
434 
435  Aws::String m_clusterId;
436  bool m_clusterIdHasBeenSet;
437 
438  Aws::String m_roleARN;
439  bool m_roleARNHasBeenSet;
440 
441  Aws::String m_description;
442  bool m_descriptionHasBeenSet;
443 
444  JobResource m_resources;
445  bool m_resourcesHasBeenSet;
446 
447  OnDeviceServiceConfiguration m_onDeviceServiceConfiguration;
448  bool m_onDeviceServiceConfigurationHasBeenSet;
449 
450  Aws::String m_addressId;
451  bool m_addressIdHasBeenSet;
452 
453  ShippingOption m_shippingOption;
454  bool m_shippingOptionHasBeenSet;
455 
456  Notification m_notification;
457  bool m_notificationHasBeenSet;
458 
459  Aws::String m_forwardingAddressId;
460  bool m_forwardingAddressIdHasBeenSet;
461  };
462 
463 } // namespace Model
464 } // namespace Snowball
465 } // namespace Aws
Aws::Snowball::Model::UpdateClusterRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateClusterRequest.h:34
Aws::Snowball::Model::UpdateClusterRequest
Definition: UpdateClusterRequest.h:26
Aws::Snowball::Model::UpdateClusterRequest::SetNotification
void SetNotification(const Notification &value)
Definition: UpdateClusterRequest.h:367
Aws::Snowball::Model::UpdateClusterRequest::WithRoleARN
UpdateClusterRequest & WithRoleARN(const Aws::String &value)
Definition: UpdateClusterRequest.h:136
Aws::Snowball::Model::UpdateClusterRequest::UpdateClusterRequest
UpdateClusterRequest()
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
JobResource.h
Aws::Snowball::Model::UpdateClusterRequest::WithRoleARN
UpdateClusterRequest & WithRoleARN(const char *value)
Definition: UpdateClusterRequest.h:152
Aws::Snowball::Model::UpdateClusterRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateClusterRequest.h:178
Aws::Snowball::Model::UpdateClusterRequest::GetClusterId
const Aws::String & GetClusterId() const
Definition: UpdateClusterRequest.h:45
Aws::Snowball::Model::UpdateClusterRequest::WithDescription
UpdateClusterRequest & WithDescription(const char *value)
Definition: UpdateClusterRequest.h:193
Aws::Snowball::Model::UpdateClusterRequest::WithForwardingAddressId
UpdateClusterRequest & WithForwardingAddressId(const Aws::String &value)
Definition: UpdateClusterRequest.h:419
Aws::Snowball::Model::UpdateClusterRequest::OnDeviceServiceConfigurationHasBeenSet
bool OnDeviceServiceConfigurationHasBeenSet() const
Definition: UpdateClusterRequest.h:245
OnDeviceServiceConfiguration.h
Aws::Snowball::Model::UpdateClusterRequest::WithClusterId
UpdateClusterRequest & WithClusterId(const Aws::String &value)
Definition: UpdateClusterRequest.h:75
Aws::Snowball::Model::UpdateClusterRequest::ForwardingAddressIdHasBeenSet
bool ForwardingAddressIdHasBeenSet() const
Definition: UpdateClusterRequest.h:395
Aws::Snowball::Model::UpdateClusterRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateClusterRequest.h:173
Aws::Snowball::Model::UpdateClusterRequest::WithNotification
UpdateClusterRequest & WithNotification(const Notification &value)
Definition: UpdateClusterRequest.h:377
Aws::Snowball::Model::UpdateClusterRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateClusterRequest.h:163
Aws::Snowball::Model::UpdateClusterRequest::SetOnDeviceServiceConfiguration
void SetOnDeviceServiceConfiguration(const OnDeviceServiceConfiguration &value)
Definition: UpdateClusterRequest.h:252
Aws::Snowball::Model::UpdateClusterRequest::WithAddressId
UpdateClusterRequest & WithAddressId(const Aws::String &value)
Definition: UpdateClusterRequest.h:304
ShippingOption.h
Aws::Snowball::Model::UpdateClusterRequest::ResourcesHasBeenSet
bool ResourcesHasBeenSet() const
Definition: UpdateClusterRequest.h:206
Aws::Snowball::Model::UpdateClusterRequest::SetRoleARN
void SetRoleARN(Aws::String &&value)
Definition: UpdateClusterRequest.h:120
Aws::Snowball::Model::OnDeviceServiceConfiguration
Definition: OnDeviceServiceConfiguration.h:33
Aws::Snowball::Model::UpdateClusterRequest::WithClusterId
UpdateClusterRequest & WithClusterId(const char *value)
Definition: UpdateClusterRequest.h:87
Aws::Snowball::Model::UpdateClusterRequest::SetNotification
void SetNotification(Notification &&value)
Definition: UpdateClusterRequest.h:372
Aws::Snowball::Model::UpdateClusterRequest::SetShippingOption
void SetShippingOption(const ShippingOption &value)
Definition: UpdateClusterRequest.h:333
Aws::Snowball::Model::UpdateClusterRequest::WithAddressId
UpdateClusterRequest & WithAddressId(const char *value)
Definition: UpdateClusterRequest.h:314
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
SnowballRequest.h
Aws::Snowball::Model::UpdateClusterRequest::ShippingOptionHasBeenSet
bool ShippingOptionHasBeenSet() const
Definition: UpdateClusterRequest.h:327
Aws::Snowball::Model::UpdateClusterRequest::SetClusterId
void SetClusterId(Aws::String &&value)
Definition: UpdateClusterRequest.h:63
Aws::Snowball::Model::UpdateClusterRequest::WithNotification
UpdateClusterRequest & WithNotification(Notification &&value)
Definition: UpdateClusterRequest.h:382
Aws::Snowball::Model::UpdateClusterRequest::GetResources
const JobResource & GetResources() const
Definition: UpdateClusterRequest.h:200
Aws::Snowball::Model::UpdateClusterRequest::SetRoleARN
void SetRoleARN(const Aws::String &value)
Definition: UpdateClusterRequest.h:112
Aws::Snowball::Model::UpdateClusterRequest::WithOnDeviceServiceConfiguration
UpdateClusterRequest & WithOnDeviceServiceConfiguration(const OnDeviceServiceConfiguration &value)
Definition: UpdateClusterRequest.h:266
Aws::Snowball::Model::UpdateClusterRequest::SetForwardingAddressId
void SetForwardingAddressId(const char *value)
Definition: UpdateClusterRequest.h:413
Aws::Snowball::Model::UpdateClusterRequest::SetResources
void SetResources(JobResource &&value)
Definition: UpdateClusterRequest.h:218
Aws::Snowball::Model::UpdateClusterRequest::GetNotification
const Notification & GetNotification() const
Definition: UpdateClusterRequest.h:357
Aws::Snowball::Model::UpdateClusterRequest::SetClusterId
void SetClusterId(const char *value)
Definition: UpdateClusterRequest.h:69
Aws::Snowball::Model::UpdateClusterRequest::GetShippingOption
const ShippingOption & GetShippingOption() const
Definition: UpdateClusterRequest.h:321
Aws::Snowball::Model::UpdateClusterRequest::WithForwardingAddressId
UpdateClusterRequest & WithForwardingAddressId(const char *value)
Definition: UpdateClusterRequest.h:431
Aws::Snowball::Model::UpdateClusterRequest::WithClusterId
UpdateClusterRequest & WithClusterId(Aws::String &&value)
Definition: UpdateClusterRequest.h:81
Aws::Snowball::Model::UpdateClusterRequest::WithDescription
UpdateClusterRequest & WithDescription(const Aws::String &value)
Definition: UpdateClusterRequest.h:183
Aws::Snowball::Model::UpdateClusterRequest::SetShippingOption
void SetShippingOption(ShippingOption &&value)
Definition: UpdateClusterRequest.h:339
Aws::Snowball::Model::UpdateClusterRequest::RoleARNHasBeenSet
bool RoleARNHasBeenSet() const
Definition: UpdateClusterRequest.h:104
Aws::Snowball::Model::UpdateClusterRequest::WithResources
UpdateClusterRequest & WithResources(JobResource &&value)
Definition: UpdateClusterRequest.h:230
Aws::Snowball::Model::UpdateClusterRequest::WithOnDeviceServiceConfiguration
UpdateClusterRequest & WithOnDeviceServiceConfiguration(OnDeviceServiceConfiguration &&value)
Definition: UpdateClusterRequest.h:273
AWSString.h
Aws::Snowball::Model::UpdateClusterRequest::SetForwardingAddressId
void SetForwardingAddressId(const Aws::String &value)
Definition: UpdateClusterRequest.h:401
Aws::Snowball::Model::UpdateClusterRequest::NotificationHasBeenSet
bool NotificationHasBeenSet() const
Definition: UpdateClusterRequest.h:362
Aws::Snowball::Model::UpdateClusterRequest::WithRoleARN
UpdateClusterRequest & WithRoleARN(Aws::String &&value)
Definition: UpdateClusterRequest.h:144
Aws::Snowball::Model::UpdateClusterRequest::SetAddressId
void SetAddressId(const Aws::String &value)
Definition: UpdateClusterRequest.h:289
Aws::Snowball::Model::UpdateClusterRequest::GetRoleARN
const Aws::String & GetRoleARN() const
Definition: UpdateClusterRequest.h:96
Aws::Snowball::Model::UpdateClusterRequest::SetOnDeviceServiceConfiguration
void SetOnDeviceServiceConfiguration(OnDeviceServiceConfiguration &&value)
Definition: UpdateClusterRequest.h:259
Aws::Snowball::Model::UpdateClusterRequest::ClusterIdHasBeenSet
bool ClusterIdHasBeenSet() const
Definition: UpdateClusterRequest.h:51
Aws::Snowball::Model::UpdateClusterRequest::WithShippingOption
UpdateClusterRequest & WithShippingOption(ShippingOption &&value)
Definition: UpdateClusterRequest.h:351
Aws::Snowball::Model::JobResource
Definition: JobResource.h:38
Aws::Snowball::Model::UpdateClusterRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Snowball::Model::UpdateClusterRequest::WithAddressId
UpdateClusterRequest & WithAddressId(Aws::String &&value)
Definition: UpdateClusterRequest.h:309
Aws::Snowball::Model::Notification
Definition: Notification.h:41
Notification.h
Aws::Snowball::Model::UpdateClusterRequest::WithForwardingAddressId
UpdateClusterRequest & WithForwardingAddressId(Aws::String &&value)
Definition: UpdateClusterRequest.h:425
Aws::Snowball::SnowballRequest
Definition: SnowballRequest.h:17
Aws::Snowball::Model::UpdateClusterRequest::WithDescription
UpdateClusterRequest & WithDescription(Aws::String &&value)
Definition: UpdateClusterRequest.h:188
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::UpdateClusterRequest::GetForwardingAddressId
const Aws::String & GetForwardingAddressId() const
Definition: UpdateClusterRequest.h:389
Aws::Snowball::Model::UpdateClusterRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateClusterRequest.h:158
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Snowball::Model::UpdateClusterRequest::SetAddressId
void SetAddressId(const char *value)
Definition: UpdateClusterRequest.h:299
Aws::Snowball::Model::UpdateClusterRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Snowball::Model::UpdateClusterRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateClusterRequest.h:168
Aws::Snowball::Model::UpdateClusterRequest::SetResources
void SetResources(const JobResource &value)
Definition: UpdateClusterRequest.h:212
Aws::Snowball::Model::UpdateClusterRequest::SetForwardingAddressId
void SetForwardingAddressId(Aws::String &&value)
Definition: UpdateClusterRequest.h:407
Aws::Snowball::Model::UpdateClusterRequest::WithResources
UpdateClusterRequest & WithResources(const JobResource &value)
Definition: UpdateClusterRequest.h:224
Aws::Snowball::Model::UpdateClusterRequest::AddressIdHasBeenSet
bool AddressIdHasBeenSet() const
Definition: UpdateClusterRequest.h:284
Aws::Snowball::Model::UpdateClusterRequest::GetAddressId
const Aws::String & GetAddressId() const
Definition: UpdateClusterRequest.h:279
Aws::Snowball::Model::UpdateClusterRequest::SetClusterId
void SetClusterId(const Aws::String &value)
Definition: UpdateClusterRequest.h:57
Snowball_EXPORTS.h
Aws::Snowball::Model::UpdateClusterRequest::WithShippingOption
UpdateClusterRequest & WithShippingOption(const ShippingOption &value)
Definition: UpdateClusterRequest.h:345
Aws::Snowball::Model::UpdateClusterRequest::GetOnDeviceServiceConfiguration
const OnDeviceServiceConfiguration & GetOnDeviceServiceConfiguration() const
Definition: UpdateClusterRequest.h:238
Aws::Snowball::Model::ShippingOption
ShippingOption
Definition: ShippingOption.h:17
Aws::Snowball::Model::UpdateClusterRequest::SetAddressId
void SetAddressId(Aws::String &&value)
Definition: UpdateClusterRequest.h:294
Aws::Snowball::Model::UpdateClusterRequest::SetRoleARN
void SetRoleARN(const char *value)
Definition: UpdateClusterRequest.h:128