7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/snowball/SnowballRequest.h>
10#include <aws/snowball/Snowball_EXPORTS.h>
11#include <aws/snowball/model/JobResource.h>
12#include <aws/snowball/model/JobType.h>
13#include <aws/snowball/model/Notification.h>
14#include <aws/snowball/model/OnDeviceServiceConfiguration.h>
15#include <aws/snowball/model/RemoteManagement.h>
16#include <aws/snowball/model/ShippingOption.h>
17#include <aws/snowball/model/SnowballCapacity.h>
18#include <aws/snowball/model/SnowballType.h>
19#include <aws/snowball/model/TaxDocuments.h>
55 m_jobTypeHasBeenSet =
true;
71 template <
typename ResourcesT = JobResource>
73 m_resourcesHasBeenSet =
true;
74 m_resources = std::forward<ResourcesT>(value);
76 template <
typename ResourcesT = JobResource>
91 template <
typename OnDeviceServiceConfigurationT = OnDeviceServiceConfiguration>
93 m_onDeviceServiceConfigurationHasBeenSet =
true;
94 m_onDeviceServiceConfiguration = std::forward<OnDeviceServiceConfigurationT>(value);
96 template <
typename OnDeviceServiceConfigurationT = OnDeviceServiceConfiguration>
110 template <
typename DescriptionT = Aws::String>
112 m_descriptionHasBeenSet =
true;
113 m_description = std::forward<DescriptionT>(value);
115 template <
typename DescriptionT = Aws::String>
128 template <
typename AddressIdT = Aws::String>
130 m_addressIdHasBeenSet =
true;
131 m_addressId = std::forward<AddressIdT>(value);
133 template <
typename AddressIdT = Aws::String>
149 template <
typename KmsKeyARNT = Aws::String>
151 m_kmsKeyARNHasBeenSet =
true;
152 m_kmsKeyARN = std::forward<KmsKeyARNT>(value);
154 template <
typename KmsKeyARNT = Aws::String>
170 template <
typename RoleARNT = Aws::String>
172 m_roleARNHasBeenSet =
true;
173 m_roleARN = std::forward<RoleARNT>(value);
175 template <
typename RoleARNT = Aws::String>
195 m_snowballTypeHasBeenSet =
true;
196 m_snowballType = value;
229 m_shippingOptionHasBeenSet =
true;
230 m_shippingOption = value;
245 template <
typename NotificationT = Notification>
247 m_notificationHasBeenSet =
true;
248 m_notification = std::forward<NotificationT>(value);
250 template <
typename NotificationT = Notification>
264 template <
typename ForwardingAddressIdT = Aws::String>
266 m_forwardingAddressIdHasBeenSet =
true;
267 m_forwardingAddressId = std::forward<ForwardingAddressIdT>(value);
269 template <
typename ForwardingAddressIdT = Aws::String>
282 template <
typename TaxDocumentsT = TaxDocuments>
284 m_taxDocumentsHasBeenSet =
true;
285 m_taxDocuments = std::forward<TaxDocumentsT>(value);
287 template <
typename TaxDocumentsT = TaxDocuments>
305 m_remoteManagementHasBeenSet =
true;
306 m_remoteManagement = value;
322 m_initialClusterSizeHasBeenSet =
true;
323 m_initialClusterSize = value;
342 m_forceCreateJobsHasBeenSet =
true;
343 m_forceCreateJobs = value;
358 template <
typename LongTermPricingIdsT = Aws::Vector<Aws::String>>
360 m_longTermPricingIdsHasBeenSet =
true;
361 m_longTermPricingIds = std::forward<LongTermPricingIdsT>(value);
363 template <
typename LongTermPricingIdsT = Aws::Vector<Aws::String>>
368 template <
typename LongTermPricingIdsT = Aws::String>
370 m_longTermPricingIdsHasBeenSet =
true;
371 m_longTermPricingIds.emplace_back(std::forward<LongTermPricingIdsT>(value));
389 m_snowballCapacityPreferenceHasBeenSet =
true;
390 m_snowballCapacityPreference = value;
399 bool m_jobTypeHasBeenSet =
false;
401 JobResource m_resources;
402 bool m_resourcesHasBeenSet =
false;
404 OnDeviceServiceConfiguration m_onDeviceServiceConfiguration;
405 bool m_onDeviceServiceConfigurationHasBeenSet =
false;
408 bool m_descriptionHasBeenSet =
false;
411 bool m_addressIdHasBeenSet =
false;
414 bool m_kmsKeyARNHasBeenSet =
false;
417 bool m_roleARNHasBeenSet =
false;
420 bool m_snowballTypeHasBeenSet =
false;
423 bool m_shippingOptionHasBeenSet =
false;
425 Notification m_notification;
426 bool m_notificationHasBeenSet =
false;
429 bool m_forwardingAddressIdHasBeenSet =
false;
431 TaxDocuments m_taxDocuments;
432 bool m_taxDocumentsHasBeenSet =
false;
435 bool m_remoteManagementHasBeenSet =
false;
437 int m_initialClusterSize{0};
438 bool m_initialClusterSizeHasBeenSet =
false;
440 bool m_forceCreateJobs{
false};
441 bool m_forceCreateJobsHasBeenSet =
false;
444 bool m_longTermPricingIdsHasBeenSet =
false;
447 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