/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Snowball { namespace Model { /** */ class AWS_SNOWBALL_API CreateJobRequest : public SnowballRequest { public: CreateJobRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateJob"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Defines the type of job that you're creating.

*/ inline const JobType& GetJobType() const{ return m_jobType; } /** *

Defines the type of job that you're creating.

*/ inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; } /** *

Defines the type of job that you're creating.

*/ inline void SetJobType(const JobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; } /** *

Defines the type of job that you're creating.

*/ inline void SetJobType(JobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); } /** *

Defines the type of job that you're creating.

*/ inline CreateJobRequest& WithJobType(const JobType& value) { SetJobType(value); return *this;} /** *

Defines the type of job that you're creating.

*/ inline CreateJobRequest& WithJobType(JobType&& value) { SetJobType(std::move(value)); return *this;} /** *

Defines the Amazon S3 buckets associated with this job.

With * IMPORT jobs, you specify the bucket or buckets that your * transferred data will be imported into.

With EXPORT jobs, * you specify the bucket or buckets that your transferred data will be exported * from. Optionally, you can also specify a KeyRange value. If you * choose to export a range, you define the length of the range by providing either * an inclusive BeginMarker value, an inclusive EndMarker * value, or both. Ranges are UTF-8 binary sorted.

*/ inline const JobResource& GetResources() const{ return m_resources; } /** *

Defines the Amazon S3 buckets associated with this job.

With * IMPORT jobs, you specify the bucket or buckets that your * transferred data will be imported into.

With EXPORT jobs, * you specify the bucket or buckets that your transferred data will be exported * from. Optionally, you can also specify a KeyRange value. If you * choose to export a range, you define the length of the range by providing either * an inclusive BeginMarker value, an inclusive EndMarker * value, or both. Ranges are UTF-8 binary sorted.

*/ inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; } /** *

Defines the Amazon S3 buckets associated with this job.

With * IMPORT jobs, you specify the bucket or buckets that your * transferred data will be imported into.

With EXPORT jobs, * you specify the bucket or buckets that your transferred data will be exported * from. Optionally, you can also specify a KeyRange value. If you * choose to export a range, you define the length of the range by providing either * an inclusive BeginMarker value, an inclusive EndMarker * value, or both. Ranges are UTF-8 binary sorted.

*/ inline void SetResources(const JobResource& value) { m_resourcesHasBeenSet = true; m_resources = value; } /** *

Defines the Amazon S3 buckets associated with this job.

With * IMPORT jobs, you specify the bucket or buckets that your * transferred data will be imported into.

With EXPORT jobs, * you specify the bucket or buckets that your transferred data will be exported * from. Optionally, you can also specify a KeyRange value. If you * choose to export a range, you define the length of the range by providing either * an inclusive BeginMarker value, an inclusive EndMarker * value, or both. Ranges are UTF-8 binary sorted.

*/ inline void SetResources(JobResource&& value) { m_resourcesHasBeenSet = true; m_resources = std::move(value); } /** *

Defines the Amazon S3 buckets associated with this job.

With * IMPORT jobs, you specify the bucket or buckets that your * transferred data will be imported into.

With EXPORT jobs, * you specify the bucket or buckets that your transferred data will be exported * from. Optionally, you can also specify a KeyRange value. If you * choose to export a range, you define the length of the range by providing either * an inclusive BeginMarker value, an inclusive EndMarker * value, or both. Ranges are UTF-8 binary sorted.

*/ inline CreateJobRequest& WithResources(const JobResource& value) { SetResources(value); return *this;} /** *

Defines the Amazon S3 buckets associated with this job.

With * IMPORT jobs, you specify the bucket or buckets that your * transferred data will be imported into.

With EXPORT jobs, * you specify the bucket or buckets that your transferred data will be exported * from. Optionally, you can also specify a KeyRange value. If you * choose to export a range, you define the length of the range by providing either * an inclusive BeginMarker value, an inclusive EndMarker * value, or both. Ranges are UTF-8 binary sorted.

*/ inline CreateJobRequest& WithResources(JobResource&& value) { SetResources(std::move(value)); return *this;} /** *

Defines an optional description of this specific job, for example * Important Photos 2016-08-11.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

Defines an optional description of this specific job, for example * Important Photos 2016-08-11.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

Defines an optional description of this specific job, for example * Important Photos 2016-08-11.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

Defines an optional description of this specific job, for example * Important Photos 2016-08-11.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

Defines an optional description of this specific job, for example * Important Photos 2016-08-11.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

Defines an optional description of this specific job, for example * Important Photos 2016-08-11.

*/ inline CreateJobRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Defines an optional description of this specific job, for example * Important Photos 2016-08-11.

*/ inline CreateJobRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

Defines an optional description of this specific job, for example * Important Photos 2016-08-11.

*/ inline CreateJobRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The ID for the address that you want the Snowball shipped to.

*/ inline const Aws::String& GetAddressId() const{ return m_addressId; } /** *

The ID for the address that you want the Snowball shipped to.

*/ inline bool AddressIdHasBeenSet() const { return m_addressIdHasBeenSet; } /** *

The ID for the address that you want the Snowball shipped to.

*/ inline void SetAddressId(const Aws::String& value) { m_addressIdHasBeenSet = true; m_addressId = value; } /** *

The ID for the address that you want the Snowball shipped to.

*/ inline void SetAddressId(Aws::String&& value) { m_addressIdHasBeenSet = true; m_addressId = std::move(value); } /** *

The ID for the address that you want the Snowball shipped to.

*/ inline void SetAddressId(const char* value) { m_addressIdHasBeenSet = true; m_addressId.assign(value); } /** *

The ID for the address that you want the Snowball shipped to.

*/ inline CreateJobRequest& WithAddressId(const Aws::String& value) { SetAddressId(value); return *this;} /** *

The ID for the address that you want the Snowball shipped to.

*/ inline CreateJobRequest& WithAddressId(Aws::String&& value) { SetAddressId(std::move(value)); return *this;} /** *

The ID for the address that you want the Snowball shipped to.

*/ inline CreateJobRequest& WithAddressId(const char* value) { SetAddressId(value); return *this;} /** *

The KmsKeyARN that you want to associate with this job. * KmsKeyARNs are created using the CreateKey * AWS Key Management Service (KMS) API action.

*/ inline const Aws::String& GetKmsKeyARN() const{ return m_kmsKeyARN; } /** *

The KmsKeyARN that you want to associate with this job. * KmsKeyARNs are created using the CreateKey * AWS Key Management Service (KMS) API action.

*/ inline bool KmsKeyARNHasBeenSet() const { return m_kmsKeyARNHasBeenSet; } /** *

The KmsKeyARN that you want to associate with this job. * KmsKeyARNs are created using the CreateKey * AWS Key Management Service (KMS) API action.

*/ inline void SetKmsKeyARN(const Aws::String& value) { m_kmsKeyARNHasBeenSet = true; m_kmsKeyARN = value; } /** *

The KmsKeyARN that you want to associate with this job. * KmsKeyARNs are created using the CreateKey * AWS Key Management Service (KMS) API action.

*/ inline void SetKmsKeyARN(Aws::String&& value) { m_kmsKeyARNHasBeenSet = true; m_kmsKeyARN = std::move(value); } /** *

The KmsKeyARN that you want to associate with this job. * KmsKeyARNs are created using the CreateKey * AWS Key Management Service (KMS) API action.

*/ inline void SetKmsKeyARN(const char* value) { m_kmsKeyARNHasBeenSet = true; m_kmsKeyARN.assign(value); } /** *

The KmsKeyARN that you want to associate with this job. * KmsKeyARNs are created using the CreateKey * AWS Key Management Service (KMS) API action.

*/ inline CreateJobRequest& WithKmsKeyARN(const Aws::String& value) { SetKmsKeyARN(value); return *this;} /** *

The KmsKeyARN that you want to associate with this job. * KmsKeyARNs are created using the CreateKey * AWS Key Management Service (KMS) API action.

*/ inline CreateJobRequest& WithKmsKeyARN(Aws::String&& value) { SetKmsKeyARN(std::move(value)); return *this;} /** *

The KmsKeyARN that you want to associate with this job. * KmsKeyARNs are created using the CreateKey * AWS Key Management Service (KMS) API action.

*/ inline CreateJobRequest& WithKmsKeyARN(const char* value) { SetKmsKeyARN(value); return *this;} /** *

The RoleARN that you want to associate with this job. * RoleArns are created using the CreateRole * AWS Identity and Access Management (IAM) API action.

*/ inline const Aws::String& GetRoleARN() const{ return m_roleARN; } /** *

The RoleARN that you want to associate with this job. * RoleArns are created using the CreateRole * AWS Identity and Access Management (IAM) API action.

*/ inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; } /** *

The RoleARN that you want to associate with this job. * RoleArns are created using the CreateRole * AWS Identity and Access Management (IAM) API action.

*/ inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; } /** *

The RoleARN that you want to associate with this job. * RoleArns are created using the CreateRole * AWS Identity and Access Management (IAM) API action.

*/ inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); } /** *

The RoleARN that you want to associate with this job. * RoleArns are created using the CreateRole * AWS Identity and Access Management (IAM) API action.

*/ inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); } /** *

The RoleARN that you want to associate with this job. * RoleArns are created using the CreateRole * AWS Identity and Access Management (IAM) API action.

*/ inline CreateJobRequest& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;} /** *

The RoleARN that you want to associate with this job. * RoleArns are created using the CreateRole * AWS Identity and Access Management (IAM) API action.

*/ inline CreateJobRequest& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;} /** *

The RoleARN that you want to associate with this job. * RoleArns are created using the CreateRole * AWS Identity and Access Management (IAM) API action.

*/ inline CreateJobRequest& WithRoleARN(const char* value) { SetRoleARN(value); return *this;} /** *

If your job is being created in one of the US regions, you have the option of * specifying what size Snowball you'd like for this job. In all other regions, * Snowballs come with 80 TB in storage capacity.

*/ inline const SnowballCapacity& GetSnowballCapacityPreference() const{ return m_snowballCapacityPreference; } /** *

If your job is being created in one of the US regions, you have the option of * specifying what size Snowball you'd like for this job. In all other regions, * Snowballs come with 80 TB in storage capacity.

*/ inline bool SnowballCapacityPreferenceHasBeenSet() const { return m_snowballCapacityPreferenceHasBeenSet; } /** *

If your job is being created in one of the US regions, you have the option of * specifying what size Snowball you'd like for this job. In all other regions, * Snowballs come with 80 TB in storage capacity.

*/ inline void SetSnowballCapacityPreference(const SnowballCapacity& value) { m_snowballCapacityPreferenceHasBeenSet = true; m_snowballCapacityPreference = value; } /** *

If your job is being created in one of the US regions, you have the option of * specifying what size Snowball you'd like for this job. In all other regions, * Snowballs come with 80 TB in storage capacity.

*/ inline void SetSnowballCapacityPreference(SnowballCapacity&& value) { m_snowballCapacityPreferenceHasBeenSet = true; m_snowballCapacityPreference = std::move(value); } /** *

If your job is being created in one of the US regions, you have the option of * specifying what size Snowball you'd like for this job. In all other regions, * Snowballs come with 80 TB in storage capacity.

*/ inline CreateJobRequest& WithSnowballCapacityPreference(const SnowballCapacity& value) { SetSnowballCapacityPreference(value); return *this;} /** *

If your job is being created in one of the US regions, you have the option of * specifying what size Snowball you'd like for this job. In all other regions, * Snowballs come with 80 TB in storage capacity.

*/ inline CreateJobRequest& WithSnowballCapacityPreference(SnowballCapacity&& value) { SetSnowballCapacityPreference(std::move(value)); return *this;} /** *

The shipping speed for this job. This speed doesn't dictate how soon you'll * get the Snowball, rather it represents how quickly the Snowball moves to its * destination while in transit. Regional shipping speeds are as follows:

    *
  • In Australia, you have access to express shipping. Typically, Snowballs * shipped express are delivered in about a day.

  • In the European * Union (EU), you have access to express shipping. Typically, Snowballs shipped * express are delivered in about a day. In addition, most countries in the EU have * access to standard shipping, which typically takes less than a week, one * way.

  • In India, Snowballs are delivered in one to seven * days.

  • In the US, you have access to one-day shipping and * two-day shipping.

*/ inline const ShippingOption& GetShippingOption() const{ return m_shippingOption; } /** *

The shipping speed for this job. This speed doesn't dictate how soon you'll * get the Snowball, rather it represents how quickly the Snowball moves to its * destination while in transit. Regional shipping speeds are as follows:

    *
  • In Australia, you have access to express shipping. Typically, Snowballs * shipped express are delivered in about a day.

  • In the European * Union (EU), you have access to express shipping. Typically, Snowballs shipped * express are delivered in about a day. In addition, most countries in the EU have * access to standard shipping, which typically takes less than a week, one * way.

  • In India, Snowballs are delivered in one to seven * days.

  • In the US, you have access to one-day shipping and * two-day shipping.

*/ inline bool ShippingOptionHasBeenSet() const { return m_shippingOptionHasBeenSet; } /** *

The shipping speed for this job. This speed doesn't dictate how soon you'll * get the Snowball, rather it represents how quickly the Snowball moves to its * destination while in transit. Regional shipping speeds are as follows:

    *
  • In Australia, you have access to express shipping. Typically, Snowballs * shipped express are delivered in about a day.

  • In the European * Union (EU), you have access to express shipping. Typically, Snowballs shipped * express are delivered in about a day. In addition, most countries in the EU have * access to standard shipping, which typically takes less than a week, one * way.

  • In India, Snowballs are delivered in one to seven * days.

  • In the US, you have access to one-day shipping and * two-day shipping.

*/ inline void SetShippingOption(const ShippingOption& value) { m_shippingOptionHasBeenSet = true; m_shippingOption = value; } /** *

The shipping speed for this job. This speed doesn't dictate how soon you'll * get the Snowball, rather it represents how quickly the Snowball moves to its * destination while in transit. Regional shipping speeds are as follows:

    *
  • In Australia, you have access to express shipping. Typically, Snowballs * shipped express are delivered in about a day.

  • In the European * Union (EU), you have access to express shipping. Typically, Snowballs shipped * express are delivered in about a day. In addition, most countries in the EU have * access to standard shipping, which typically takes less than a week, one * way.

  • In India, Snowballs are delivered in one to seven * days.

  • In the US, you have access to one-day shipping and * two-day shipping.

*/ inline void SetShippingOption(ShippingOption&& value) { m_shippingOptionHasBeenSet = true; m_shippingOption = std::move(value); } /** *

The shipping speed for this job. This speed doesn't dictate how soon you'll * get the Snowball, rather it represents how quickly the Snowball moves to its * destination while in transit. Regional shipping speeds are as follows:

    *
  • In Australia, you have access to express shipping. Typically, Snowballs * shipped express are delivered in about a day.

  • In the European * Union (EU), you have access to express shipping. Typically, Snowballs shipped * express are delivered in about a day. In addition, most countries in the EU have * access to standard shipping, which typically takes less than a week, one * way.

  • In India, Snowballs are delivered in one to seven * days.

  • In the US, you have access to one-day shipping and * two-day shipping.

*/ inline CreateJobRequest& WithShippingOption(const ShippingOption& value) { SetShippingOption(value); return *this;} /** *

The shipping speed for this job. This speed doesn't dictate how soon you'll * get the Snowball, rather it represents how quickly the Snowball moves to its * destination while in transit. Regional shipping speeds are as follows:

    *
  • In Australia, you have access to express shipping. Typically, Snowballs * shipped express are delivered in about a day.

  • In the European * Union (EU), you have access to express shipping. Typically, Snowballs shipped * express are delivered in about a day. In addition, most countries in the EU have * access to standard shipping, which typically takes less than a week, one * way.

  • In India, Snowballs are delivered in one to seven * days.

  • In the US, you have access to one-day shipping and * two-day shipping.

*/ inline CreateJobRequest& WithShippingOption(ShippingOption&& value) { SetShippingOption(std::move(value)); return *this;} /** *

Defines the Amazon Simple Notification Service (Amazon SNS) notification * settings for this job.

*/ inline const Notification& GetNotification() const{ return m_notification; } /** *

Defines the Amazon Simple Notification Service (Amazon SNS) notification * settings for this job.

*/ inline bool NotificationHasBeenSet() const { return m_notificationHasBeenSet; } /** *

Defines the Amazon Simple Notification Service (Amazon SNS) notification * settings for this job.

*/ inline void SetNotification(const Notification& value) { m_notificationHasBeenSet = true; m_notification = value; } /** *

Defines the Amazon Simple Notification Service (Amazon SNS) notification * settings for this job.

*/ inline void SetNotification(Notification&& value) { m_notificationHasBeenSet = true; m_notification = std::move(value); } /** *

Defines the Amazon Simple Notification Service (Amazon SNS) notification * settings for this job.

*/ inline CreateJobRequest& WithNotification(const Notification& value) { SetNotification(value); return *this;} /** *

Defines the Amazon Simple Notification Service (Amazon SNS) notification * settings for this job.

*/ inline CreateJobRequest& WithNotification(Notification&& value) { SetNotification(std::move(value)); return *this;} /** *

The ID of a cluster. If you're creating a job for a node in a cluster, you * need to provide only this clusterId value. The other job attributes * are inherited from the cluster.

*/ inline const Aws::String& GetClusterId() const{ return m_clusterId; } /** *

The ID of a cluster. If you're creating a job for a node in a cluster, you * need to provide only this clusterId value. The other job attributes * are inherited from the cluster.

*/ inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; } /** *

The ID of a cluster. If you're creating a job for a node in a cluster, you * need to provide only this clusterId value. The other job attributes * are inherited from the cluster.

*/ inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; } /** *

The ID of a cluster. If you're creating a job for a node in a cluster, you * need to provide only this clusterId value. The other job attributes * are inherited from the cluster.

*/ inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); } /** *

The ID of a cluster. If you're creating a job for a node in a cluster, you * need to provide only this clusterId value. The other job attributes * are inherited from the cluster.

*/ inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); } /** *

The ID of a cluster. If you're creating a job for a node in a cluster, you * need to provide only this clusterId value. The other job attributes * are inherited from the cluster.

*/ inline CreateJobRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;} /** *

The ID of a cluster. If you're creating a job for a node in a cluster, you * need to provide only this clusterId value. The other job attributes * are inherited from the cluster.

*/ inline CreateJobRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;} /** *

The ID of a cluster. If you're creating a job for a node in a cluster, you * need to provide only this clusterId value. The other job attributes * are inherited from the cluster.

*/ inline CreateJobRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;} /** *

The type of AWS Snowball device to use for this job.

For * cluster jobs, AWS Snowball currently supports only the EDGE device * type.

The type of AWS Snowball device to use for this job. * Currently, the only supported device type for cluster jobs is * EDGE.

For more information, see Snowball * Edge Device Options in the Snowball Edge Developer Guide.

*/ inline const SnowballType& GetSnowballType() const{ return m_snowballType; } /** *

The type of AWS Snowball device to use for this job.

For * cluster jobs, AWS Snowball currently supports only the EDGE device * type.

The type of AWS Snowball device to use for this job. * Currently, the only supported device type for cluster jobs is * EDGE.

For more information, see Snowball * Edge Device Options in the Snowball Edge Developer Guide.

*/ inline bool SnowballTypeHasBeenSet() const { return m_snowballTypeHasBeenSet; } /** *

The type of AWS Snowball device to use for this job.

For * cluster jobs, AWS Snowball currently supports only the EDGE device * type.

The type of AWS Snowball device to use for this job. * Currently, the only supported device type for cluster jobs is * EDGE.

For more information, see Snowball * Edge Device Options in the Snowball Edge Developer Guide.

*/ inline void SetSnowballType(const SnowballType& value) { m_snowballTypeHasBeenSet = true; m_snowballType = value; } /** *

The type of AWS Snowball device to use for this job.

For * cluster jobs, AWS Snowball currently supports only the EDGE device * type.

The type of AWS Snowball device to use for this job. * Currently, the only supported device type for cluster jobs is * EDGE.

For more information, see Snowball * Edge Device Options in the Snowball Edge Developer Guide.

*/ inline void SetSnowballType(SnowballType&& value) { m_snowballTypeHasBeenSet = true; m_snowballType = std::move(value); } /** *

The type of AWS Snowball device to use for this job.

For * cluster jobs, AWS Snowball currently supports only the EDGE device * type.

The type of AWS Snowball device to use for this job. * Currently, the only supported device type for cluster jobs is * EDGE.

For more information, see Snowball * Edge Device Options in the Snowball Edge Developer Guide.

*/ inline CreateJobRequest& WithSnowballType(const SnowballType& value) { SetSnowballType(value); return *this;} /** *

The type of AWS Snowball device to use for this job.

For * cluster jobs, AWS Snowball currently supports only the EDGE device * type.

The type of AWS Snowball device to use for this job. * Currently, the only supported device type for cluster jobs is * EDGE.

For more information, see Snowball * Edge Device Options in the Snowball Edge Developer Guide.

*/ inline CreateJobRequest& WithSnowballType(SnowballType&& value) { SetSnowballType(std::move(value)); return *this;} /** *

The forwarding address ID for a job. This field is not supported in most * regions.

*/ inline const Aws::String& GetForwardingAddressId() const{ return m_forwardingAddressId; } /** *

The forwarding address ID for a job. This field is not supported in most * regions.

*/ inline bool ForwardingAddressIdHasBeenSet() const { return m_forwardingAddressIdHasBeenSet; } /** *

The forwarding address ID for a job. This field is not supported in most * regions.

*/ inline void SetForwardingAddressId(const Aws::String& value) { m_forwardingAddressIdHasBeenSet = true; m_forwardingAddressId = value; } /** *

The forwarding address ID for a job. This field is not supported in most * regions.

*/ inline void SetForwardingAddressId(Aws::String&& value) { m_forwardingAddressIdHasBeenSet = true; m_forwardingAddressId = std::move(value); } /** *

The forwarding address ID for a job. This field is not supported in most * regions.

*/ inline void SetForwardingAddressId(const char* value) { m_forwardingAddressIdHasBeenSet = true; m_forwardingAddressId.assign(value); } /** *

The forwarding address ID for a job. This field is not supported in most * regions.

*/ inline CreateJobRequest& WithForwardingAddressId(const Aws::String& value) { SetForwardingAddressId(value); return *this;} /** *

The forwarding address ID for a job. This field is not supported in most * regions.

*/ inline CreateJobRequest& WithForwardingAddressId(Aws::String&& value) { SetForwardingAddressId(std::move(value)); return *this;} /** *

The forwarding address ID for a job. This field is not supported in most * regions.

*/ inline CreateJobRequest& WithForwardingAddressId(const char* value) { SetForwardingAddressId(value); return *this;} /** *

The tax documents required in your AWS Region.

*/ inline const TaxDocuments& GetTaxDocuments() const{ return m_taxDocuments; } /** *

The tax documents required in your AWS Region.

*/ inline bool TaxDocumentsHasBeenSet() const { return m_taxDocumentsHasBeenSet; } /** *

The tax documents required in your AWS Region.

*/ inline void SetTaxDocuments(const TaxDocuments& value) { m_taxDocumentsHasBeenSet = true; m_taxDocuments = value; } /** *

The tax documents required in your AWS Region.

*/ inline void SetTaxDocuments(TaxDocuments&& value) { m_taxDocumentsHasBeenSet = true; m_taxDocuments = std::move(value); } /** *

The tax documents required in your AWS Region.

*/ inline CreateJobRequest& WithTaxDocuments(const TaxDocuments& value) { SetTaxDocuments(value); return *this;} /** *

The tax documents required in your AWS Region.

*/ inline CreateJobRequest& WithTaxDocuments(TaxDocuments&& value) { SetTaxDocuments(std::move(value)); return *this;} /** *

Defines the device configuration for an AWS Snowcone job.

*/ inline const DeviceConfiguration& GetDeviceConfiguration() const{ return m_deviceConfiguration; } /** *

Defines the device configuration for an AWS Snowcone job.

*/ inline bool DeviceConfigurationHasBeenSet() const { return m_deviceConfigurationHasBeenSet; } /** *

Defines the device configuration for an AWS Snowcone job.

*/ inline void SetDeviceConfiguration(const DeviceConfiguration& value) { m_deviceConfigurationHasBeenSet = true; m_deviceConfiguration = value; } /** *

Defines the device configuration for an AWS Snowcone job.

*/ inline void SetDeviceConfiguration(DeviceConfiguration&& value) { m_deviceConfigurationHasBeenSet = true; m_deviceConfiguration = std::move(value); } /** *

Defines the device configuration for an AWS Snowcone job.

*/ inline CreateJobRequest& WithDeviceConfiguration(const DeviceConfiguration& value) { SetDeviceConfiguration(value); return *this;} /** *

Defines the device configuration for an AWS Snowcone job.

*/ inline CreateJobRequest& WithDeviceConfiguration(DeviceConfiguration&& value) { SetDeviceConfiguration(std::move(value)); return *this;} private: JobType m_jobType; bool m_jobTypeHasBeenSet; JobResource m_resources; bool m_resourcesHasBeenSet; Aws::String m_description; bool m_descriptionHasBeenSet; Aws::String m_addressId; bool m_addressIdHasBeenSet; Aws::String m_kmsKeyARN; bool m_kmsKeyARNHasBeenSet; Aws::String m_roleARN; bool m_roleARNHasBeenSet; SnowballCapacity m_snowballCapacityPreference; bool m_snowballCapacityPreferenceHasBeenSet; ShippingOption m_shippingOption; bool m_shippingOptionHasBeenSet; Notification m_notification; bool m_notificationHasBeenSet; Aws::String m_clusterId; bool m_clusterIdHasBeenSet; SnowballType m_snowballType; bool m_snowballTypeHasBeenSet; Aws::String m_forwardingAddressId; bool m_forwardingAddressIdHasBeenSet; TaxDocuments m_taxDocuments; bool m_taxDocumentsHasBeenSet; DeviceConfiguration m_deviceConfiguration; bool m_deviceConfigurationHasBeenSet; }; } // namespace Model } // namespace Snowball } // namespace Aws