7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/snowball/SnowballRequest.h>
9#include <aws/snowball/model/JobType.h>
10#include <aws/snowball/model/JobResource.h>
11#include <aws/snowball/model/OnDeviceServiceConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/snowball/model/SnowballType.h>
14#include <aws/snowball/model/ShippingOption.h>
15#include <aws/snowball/model/Notification.h>
16#include <aws/snowball/model/TaxDocuments.h>
17#include <aws/snowball/model/RemoteManagement.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
19#include <aws/snowball/model/SnowballCapacity.h>
69 template<
typename ResourcesT = JobResource>
70 void SetResources(ResourcesT&& value) { m_resourcesHasBeenSet =
true; m_resources = std::forward<ResourcesT>(value); }
71 template<
typename ResourcesT = JobResource>
83 template<
typename OnDeviceServiceConfigurationT = OnDeviceServiceConfiguration>
84 void SetOnDeviceServiceConfiguration(OnDeviceServiceConfigurationT&& value) { m_onDeviceServiceConfigurationHasBeenSet =
true; m_onDeviceServiceConfiguration = std::forward<OnDeviceServiceConfigurationT>(value); }
85 template<
typename OnDeviceServiceConfigurationT = OnDeviceServiceConfiguration>
96 template<
typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
98 template<
typename DescriptionT = Aws::String>
108 template<
typename AddressIdT = Aws::String>
109 void SetAddressId(AddressIdT&& value) { m_addressIdHasBeenSet =
true; m_addressId = std::forward<AddressIdT>(value); }
110 template<
typename AddressIdT = Aws::String>
123 template<
typename KmsKeyARNT = Aws::String>
124 void SetKmsKeyARN(KmsKeyARNT&& value) { m_kmsKeyARNHasBeenSet =
true; m_kmsKeyARN = std::forward<KmsKeyARNT>(value); }
125 template<
typename KmsKeyARNT = Aws::String>
138 template<
typename RoleARNT = Aws::String>
139 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet =
true; m_roleARN = std::forward<RoleARNT>(value); }
140 template<
typename RoleARNT = Aws::String>
195 template<
typename NotificationT = Notification>
196 void SetNotification(NotificationT&& value) { m_notificationHasBeenSet =
true; m_notification = std::forward<NotificationT>(value); }
197 template<
typename NotificationT = Notification>
208 template<
typename ForwardingAddressIdT = Aws::String>
209 void SetForwardingAddressId(ForwardingAddressIdT&& value) { m_forwardingAddressIdHasBeenSet =
true; m_forwardingAddressId = std::forward<ForwardingAddressIdT>(value); }
210 template<
typename ForwardingAddressIdT = Aws::String>
220 template<
typename TaxDocumentsT = TaxDocuments>
221 void SetTaxDocuments(TaxDocumentsT&& value) { m_taxDocumentsHasBeenSet =
true; m_taxDocuments = std::forward<TaxDocumentsT>(value); }
222 template<
typename TaxDocumentsT = TaxDocuments>
247 inline void SetInitialClusterSize(
int value) { m_initialClusterSizeHasBeenSet =
true; m_initialClusterSize = value; }
261 inline void SetForceCreateJobs(
bool value) { m_forceCreateJobsHasBeenSet =
true; m_forceCreateJobs = value; }
272 template<
typename LongTermPricingIdsT = Aws::Vector<Aws::String>>
273 void SetLongTermPricingIds(LongTermPricingIdsT&& value) { m_longTermPricingIdsHasBeenSet =
true; m_longTermPricingIds = std::forward<LongTermPricingIdsT>(value); }
274 template<
typename LongTermPricingIdsT = Aws::Vector<Aws::String>>
276 template<
typename LongTermPricingIdsT = Aws::String>
298 bool m_jobTypeHasBeenSet =
false;
300 JobResource m_resources;
301 bool m_resourcesHasBeenSet =
false;
303 OnDeviceServiceConfiguration m_onDeviceServiceConfiguration;
304 bool m_onDeviceServiceConfigurationHasBeenSet =
false;
307 bool m_descriptionHasBeenSet =
false;
310 bool m_addressIdHasBeenSet =
false;
313 bool m_kmsKeyARNHasBeenSet =
false;
316 bool m_roleARNHasBeenSet =
false;
319 bool m_snowballTypeHasBeenSet =
false;
322 bool m_shippingOptionHasBeenSet =
false;
324 Notification m_notification;
325 bool m_notificationHasBeenSet =
false;
328 bool m_forwardingAddressIdHasBeenSet =
false;
330 TaxDocuments m_taxDocuments;
331 bool m_taxDocumentsHasBeenSet =
false;
334 bool m_remoteManagementHasBeenSet =
false;
336 int m_initialClusterSize{0};
337 bool m_initialClusterSizeHasBeenSet =
false;
339 bool m_forceCreateJobs{
false};
340 bool m_forceCreateJobsHasBeenSet =
false;
343 bool m_longTermPricingIdsHasBeenSet =
false;
346 bool m_snowballCapacityPreferenceHasBeenSet =
false;
void SetForwardingAddressId(ForwardingAddressIdT &&value)
void SetForceCreateJobs(bool value)
AWS_SNOWBALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool TaxDocumentsHasBeenSet() const
bool LongTermPricingIdsHasBeenSet() const
CreateClusterRequest & WithAddressId(AddressIdT &&value)
CreateClusterRequest & WithOnDeviceServiceConfiguration(OnDeviceServiceConfigurationT &&value)
AWS_SNOWBALL_API CreateClusterRequest()=default
bool SnowballTypeHasBeenSet() const
const Aws::String & GetKmsKeyARN() const
SnowballType GetSnowballType() const
void SetTaxDocuments(TaxDocumentsT &&value)
void SetAddressId(AddressIdT &&value)
const Aws::String & GetDescription() const
CreateClusterRequest & WithDescription(DescriptionT &&value)
bool ResourcesHasBeenSet() const
bool SnowballCapacityPreferenceHasBeenSet() const
CreateClusterRequest & WithTaxDocuments(TaxDocumentsT &&value)
void SetLongTermPricingIds(LongTermPricingIdsT &&value)
CreateClusterRequest & WithJobType(JobType value)
const Notification & GetNotification() const
CreateClusterRequest & WithNotification(NotificationT &&value)
const Aws::Vector< Aws::String > & GetLongTermPricingIds() const
void SetKmsKeyARN(KmsKeyARNT &&value)
bool InitialClusterSizeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool ForwardingAddressIdHasBeenSet() const
void SetInitialClusterSize(int value)
void SetJobType(JobType value)
bool RoleARNHasBeenSet() const
CreateClusterRequest & WithSnowballType(SnowballType value)
SnowballCapacity GetSnowballCapacityPreference() const
CreateClusterRequest & WithLongTermPricingIds(LongTermPricingIdsT &&value)
const Aws::String & GetForwardingAddressId() const
CreateClusterRequest & WithRoleARN(RoleARNT &&value)
CreateClusterRequest & WithRemoteManagement(RemoteManagement value)
AWS_SNOWBALL_API Aws::String SerializePayload() const override
int GetInitialClusterSize() const
CreateClusterRequest & WithForceCreateJobs(bool value)
const JobResource & GetResources() const
void SetSnowballCapacityPreference(SnowballCapacity value)
bool NotificationHasBeenSet() const
CreateClusterRequest & WithKmsKeyARN(KmsKeyARNT &&value)
CreateClusterRequest & WithInitialClusterSize(int value)
void SetOnDeviceServiceConfiguration(OnDeviceServiceConfigurationT &&value)
bool RemoteManagementHasBeenSet() const
bool ForceCreateJobsHasBeenSet() const
CreateClusterRequest & WithForwardingAddressId(ForwardingAddressIdT &&value)
RemoteManagement GetRemoteManagement() const
JobType GetJobType() const
const Aws::String & GetRoleARN() const
void SetSnowballType(SnowballType value)
bool KmsKeyARNHasBeenSet() const
bool AddressIdHasBeenSet() const
const TaxDocuments & GetTaxDocuments() const
bool OnDeviceServiceConfigurationHasBeenSet() const
void SetDescription(DescriptionT &&value)
CreateClusterRequest & AddLongTermPricingIds(LongTermPricingIdsT &&value)
CreateClusterRequest & WithSnowballCapacityPreference(SnowballCapacity value)
bool DescriptionHasBeenSet() const
CreateClusterRequest & WithResources(ResourcesT &&value)
void SetRoleARN(RoleARNT &&value)
void SetRemoteManagement(RemoteManagement value)
bool JobTypeHasBeenSet() const
void SetResources(ResourcesT &&value)
CreateClusterRequest & WithShippingOption(ShippingOption value)
void SetShippingOption(ShippingOption value)
const OnDeviceServiceConfiguration & GetOnDeviceServiceConfiguration() const
ShippingOption GetShippingOption() const
const Aws::String & GetAddressId() const
bool GetForceCreateJobs() const
bool ShippingOptionHasBeenSet() const
void SetNotification(NotificationT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector