AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateClusterRequest.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/snowball/SnowballRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/snowball/model/JobResource.h>
11#include <aws/snowball/model/OnDeviceServiceConfiguration.h>
12#include <aws/snowball/model/ShippingOption.h>
13#include <aws/snowball/model/Notification.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Snowball
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SNOWBALL_API UpdateClusterRequest();
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_SNOWBALL_API Aws::String SerializePayload() const override;
37
39
40
42
46 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
47 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
48 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
49 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
50 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
51 inline UpdateClusterRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
52 inline UpdateClusterRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
53 inline UpdateClusterRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
55
57
63 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
64 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
65 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
66 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
67 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
68 inline UpdateClusterRequest& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
69 inline UpdateClusterRequest& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
70 inline UpdateClusterRequest& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline UpdateClusterRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline UpdateClusterRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline UpdateClusterRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
92 inline const JobResource& GetResources() const{ return m_resources; }
93 inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; }
94 inline void SetResources(const JobResource& value) { m_resourcesHasBeenSet = true; m_resources = value; }
95 inline void SetResources(JobResource&& value) { m_resourcesHasBeenSet = true; m_resources = std::move(value); }
96 inline UpdateClusterRequest& WithResources(const JobResource& value) { SetResources(value); return *this;}
97 inline UpdateClusterRequest& WithResources(JobResource&& value) { SetResources(std::move(value)); return *this;}
99
101
106 inline const OnDeviceServiceConfiguration& GetOnDeviceServiceConfiguration() const{ return m_onDeviceServiceConfiguration; }
107 inline bool OnDeviceServiceConfigurationHasBeenSet() const { return m_onDeviceServiceConfigurationHasBeenSet; }
108 inline void SetOnDeviceServiceConfiguration(const OnDeviceServiceConfiguration& value) { m_onDeviceServiceConfigurationHasBeenSet = true; m_onDeviceServiceConfiguration = value; }
109 inline void SetOnDeviceServiceConfiguration(OnDeviceServiceConfiguration&& value) { m_onDeviceServiceConfigurationHasBeenSet = true; m_onDeviceServiceConfiguration = std::move(value); }
113
115
118 inline const Aws::String& GetAddressId() const{ return m_addressId; }
119 inline bool AddressIdHasBeenSet() const { return m_addressIdHasBeenSet; }
120 inline void SetAddressId(const Aws::String& value) { m_addressIdHasBeenSet = true; m_addressId = value; }
121 inline void SetAddressId(Aws::String&& value) { m_addressIdHasBeenSet = true; m_addressId = std::move(value); }
122 inline void SetAddressId(const char* value) { m_addressIdHasBeenSet = true; m_addressId.assign(value); }
123 inline UpdateClusterRequest& WithAddressId(const Aws::String& value) { SetAddressId(value); return *this;}
124 inline UpdateClusterRequest& WithAddressId(Aws::String&& value) { SetAddressId(std::move(value)); return *this;}
125 inline UpdateClusterRequest& WithAddressId(const char* value) { SetAddressId(value); return *this;}
127
129
133 inline const ShippingOption& GetShippingOption() const{ return m_shippingOption; }
134 inline bool ShippingOptionHasBeenSet() const { return m_shippingOptionHasBeenSet; }
135 inline void SetShippingOption(const ShippingOption& value) { m_shippingOptionHasBeenSet = true; m_shippingOption = value; }
136 inline void SetShippingOption(ShippingOption&& value) { m_shippingOptionHasBeenSet = true; m_shippingOption = std::move(value); }
137 inline UpdateClusterRequest& WithShippingOption(const ShippingOption& value) { SetShippingOption(value); return *this;}
138 inline UpdateClusterRequest& WithShippingOption(ShippingOption&& value) { SetShippingOption(std::move(value)); return *this;}
140
142
145 inline const Notification& GetNotification() const{ return m_notification; }
146 inline bool NotificationHasBeenSet() const { return m_notificationHasBeenSet; }
147 inline void SetNotification(const Notification& value) { m_notificationHasBeenSet = true; m_notification = value; }
148 inline void SetNotification(Notification&& value) { m_notificationHasBeenSet = true; m_notification = std::move(value); }
149 inline UpdateClusterRequest& WithNotification(const Notification& value) { SetNotification(value); return *this;}
150 inline UpdateClusterRequest& WithNotification(Notification&& value) { SetNotification(std::move(value)); return *this;}
152
154
158 inline const Aws::String& GetForwardingAddressId() const{ return m_forwardingAddressId; }
159 inline bool ForwardingAddressIdHasBeenSet() const { return m_forwardingAddressIdHasBeenSet; }
160 inline void SetForwardingAddressId(const Aws::String& value) { m_forwardingAddressIdHasBeenSet = true; m_forwardingAddressId = value; }
161 inline void SetForwardingAddressId(Aws::String&& value) { m_forwardingAddressIdHasBeenSet = true; m_forwardingAddressId = std::move(value); }
162 inline void SetForwardingAddressId(const char* value) { m_forwardingAddressIdHasBeenSet = true; m_forwardingAddressId.assign(value); }
164 inline UpdateClusterRequest& WithForwardingAddressId(Aws::String&& value) { SetForwardingAddressId(std::move(value)); return *this;}
165 inline UpdateClusterRequest& WithForwardingAddressId(const char* value) { SetForwardingAddressId(value); return *this;}
167 private:
168
169 Aws::String m_clusterId;
170 bool m_clusterIdHasBeenSet = false;
171
172 Aws::String m_roleARN;
173 bool m_roleARNHasBeenSet = false;
174
175 Aws::String m_description;
176 bool m_descriptionHasBeenSet = false;
177
178 JobResource m_resources;
179 bool m_resourcesHasBeenSet = false;
180
181 OnDeviceServiceConfiguration m_onDeviceServiceConfiguration;
182 bool m_onDeviceServiceConfigurationHasBeenSet = false;
183
184 Aws::String m_addressId;
185 bool m_addressIdHasBeenSet = false;
186
187 ShippingOption m_shippingOption;
188 bool m_shippingOptionHasBeenSet = false;
189
190 Notification m_notification;
191 bool m_notificationHasBeenSet = false;
192
193 Aws::String m_forwardingAddressId;
194 bool m_forwardingAddressIdHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace Snowball
199} // namespace Aws
UpdateClusterRequest & WithDescription(const char *value)
UpdateClusterRequest & WithResources(const JobResource &value)
void SetOnDeviceServiceConfiguration(OnDeviceServiceConfiguration &&value)
void SetResources(const JobResource &value)
UpdateClusterRequest & WithResources(JobResource &&value)
UpdateClusterRequest & WithClusterId(Aws::String &&value)
void SetForwardingAddressId(const Aws::String &value)
const OnDeviceServiceConfiguration & GetOnDeviceServiceConfiguration() const
UpdateClusterRequest & WithClusterId(const char *value)
UpdateClusterRequest & WithForwardingAddressId(const Aws::String &value)
UpdateClusterRequest & WithOnDeviceServiceConfiguration(const OnDeviceServiceConfiguration &value)
AWS_SNOWBALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SNOWBALL_API Aws::String SerializePayload() const override
void SetShippingOption(const ShippingOption &value)
const ShippingOption & GetShippingOption() const
void SetNotification(const Notification &value)
UpdateClusterRequest & WithOnDeviceServiceConfiguration(OnDeviceServiceConfiguration &&value)
UpdateClusterRequest & WithForwardingAddressId(const char *value)
UpdateClusterRequest & WithClusterId(const Aws::String &value)
void SetDescription(const Aws::String &value)
UpdateClusterRequest & WithDescription(const Aws::String &value)
UpdateClusterRequest & WithDescription(Aws::String &&value)
UpdateClusterRequest & WithForwardingAddressId(Aws::String &&value)
UpdateClusterRequest & WithNotification(Notification &&value)
UpdateClusterRequest & WithShippingOption(const ShippingOption &value)
UpdateClusterRequest & WithRoleARN(Aws::String &&value)
UpdateClusterRequest & WithAddressId(const char *value)
void SetClusterId(const Aws::String &value)
UpdateClusterRequest & WithShippingOption(ShippingOption &&value)
UpdateClusterRequest & WithAddressId(const Aws::String &value)
UpdateClusterRequest & WithRoleARN(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateClusterRequest & WithAddressId(Aws::String &&value)
UpdateClusterRequest & WithRoleARN(const Aws::String &value)
UpdateClusterRequest & WithNotification(const Notification &value)
void SetOnDeviceServiceConfiguration(const OnDeviceServiceConfiguration &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String