/** * 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 #include #include #include #include namespace Aws { namespace Snowball { namespace Model { /** */ class CreateJobRequest : public SnowballRequest { public: AWS_SNOWBALL_API 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_SNOWBALL_API Aws::String SerializePayload() const override; AWS_SNOWBALL_API 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;} /** *

Specifies the service or services on the Snow Family device that your * transferred data will be exported from or imported into. Amazon Web Services * Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon Web * Services Storage Gateway service Tape Gateway type.

*/ inline const OnDeviceServiceConfiguration& GetOnDeviceServiceConfiguration() const{ return m_onDeviceServiceConfiguration; } /** *

Specifies the service or services on the Snow Family device that your * transferred data will be exported from or imported into. Amazon Web Services * Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon Web * Services Storage Gateway service Tape Gateway type.

*/ inline bool OnDeviceServiceConfigurationHasBeenSet() const { return m_onDeviceServiceConfigurationHasBeenSet; } /** *

Specifies the service or services on the Snow Family device that your * transferred data will be exported from or imported into. Amazon Web Services * Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon Web * Services Storage Gateway service Tape Gateway type.

*/ inline void SetOnDeviceServiceConfiguration(const OnDeviceServiceConfiguration& value) { m_onDeviceServiceConfigurationHasBeenSet = true; m_onDeviceServiceConfiguration = value; } /** *

Specifies the service or services on the Snow Family device that your * transferred data will be exported from or imported into. Amazon Web Services * Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon Web * Services Storage Gateway service Tape Gateway type.

*/ inline void SetOnDeviceServiceConfiguration(OnDeviceServiceConfiguration&& value) { m_onDeviceServiceConfigurationHasBeenSet = true; m_onDeviceServiceConfiguration = std::move(value); } /** *

Specifies the service or services on the Snow Family device that your * transferred data will be exported from or imported into. Amazon Web Services * Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon Web * Services Storage Gateway service Tape Gateway type.

*/ inline CreateJobRequest& WithOnDeviceServiceConfiguration(const OnDeviceServiceConfiguration& value) { SetOnDeviceServiceConfiguration(value); return *this;} /** *

Specifies the service or services on the Snow Family device that your * transferred data will be exported from or imported into. Amazon Web Services * Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon Web * Services Storage Gateway service Tape Gateway type.

*/ inline CreateJobRequest& WithOnDeviceServiceConfiguration(OnDeviceServiceConfiguration&& value) { SetOnDeviceServiceConfiguration(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 Snow device shipped to.

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

The ID for the address that you want the Snow device shipped to.

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

The ID for the address that you want the Snow device shipped to.

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

The ID for the address that you want the Snow device 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 Snow device shipped to.

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

The ID for the address that you want the Snow device shipped to.

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

The ID for the address that you want the Snow device shipped to.

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

The ID for the address that you want the Snow device 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 Snow device you'd like for this job. In all other regions, * Snowballs come with 80 TB in storage capacity.

For more information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

*/ 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 Snow device you'd like for this job. In all other regions, * Snowballs come with 80 TB in storage capacity.

For more information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

*/ 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 Snow device you'd like for this job. In all other regions, * Snowballs come with 80 TB in storage capacity.

For more information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

*/ 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 Snow device you'd like for this job. In all other regions, * Snowballs come with 80 TB in storage capacity.

For more information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

*/ 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 Snow device you'd like for this job. In all other regions, * Snowballs come with 80 TB in storage capacity.

For more information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

*/ 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 Snow device you'd like for this job. In all other regions, * Snowballs come with 80 TB in storage capacity.

For more information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

*/ 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 Snow device, rather it represents how quickly the Snow device moves to * its destination while in transit. Regional shipping speeds are as follows:

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

  • In the * European Union (EU), you have access to express shipping. Typically, Snow * devices 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, Snow devices 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 Snow device, rather it represents how quickly the Snow device moves to * its destination while in transit. Regional shipping speeds are as follows:

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

  • In the * European Union (EU), you have access to express shipping. Typically, Snow * devices 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, Snow devices 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 Snow device, rather it represents how quickly the Snow device moves to * its destination while in transit. Regional shipping speeds are as follows:

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

  • In the * European Union (EU), you have access to express shipping. Typically, Snow * devices 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, Snow devices 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 Snow device, rather it represents how quickly the Snow device moves to * its destination while in transit. Regional shipping speeds are as follows:

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

  • In the * European Union (EU), you have access to express shipping. Typically, Snow * devices 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, Snow devices 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 Snow device, rather it represents how quickly the Snow device moves to * its destination while in transit. Regional shipping speeds are as follows:

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

  • In the * European Union (EU), you have access to express shipping. Typically, Snow * devices 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, Snow devices 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 Snow device, rather it represents how quickly the Snow device moves to * its destination while in transit. Regional shipping speeds are as follows:

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

  • In the * European Union (EU), you have access to express shipping. Typically, Snow * devices 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, Snow devices 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 Snow Family devices to use for this job.

For * cluster jobs, Amazon Web Services Snow Family currently supports only the * EDGE device type.

The type of Amazon Web Services * Snow 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.

For more * information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

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

The type of Snow Family devices to use for this job.

For * cluster jobs, Amazon Web Services Snow Family currently supports only the * EDGE device type.

The type of Amazon Web Services * Snow 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.

For more * information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

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

The type of Snow Family devices to use for this job.

For * cluster jobs, Amazon Web Services Snow Family currently supports only the * EDGE device type.

The type of Amazon Web Services * Snow 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.

For more * information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

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

The type of Snow Family devices to use for this job.

For * cluster jobs, Amazon Web Services Snow Family currently supports only the * EDGE device type.

The type of Amazon Web Services * Snow 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.

For more * information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

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

The type of Snow Family devices to use for this job.

For * cluster jobs, Amazon Web Services Snow Family currently supports only the * EDGE device type.

The type of Amazon Web Services * Snow 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.

For more * information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

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

The type of Snow Family devices to use for this job.

For * cluster jobs, Amazon Web Services Snow Family currently supports only the * EDGE device type.

The type of Amazon Web Services * Snow 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.

For more * information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User 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 Amazon Web Services Region.

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

The tax documents required in your Amazon Web Services Region.

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

The tax documents required in your Amazon Web Services Region.

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

The tax documents required in your Amazon Web Services Region.

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

The tax documents required in your Amazon Web Services Region.

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

The tax documents required in your Amazon Web Services Region.

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

Defines the device configuration for an Snowcone job.

For more * information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

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

Defines the device configuration for an Snowcone job.

For more * information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

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

Defines the device configuration for an Snowcone job.

For more * information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

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

Defines the device configuration for an Snowcone job.

For more * information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

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

Defines the device configuration for an Snowcone job.

For more * information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

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

Defines the device configuration for an Snowcone job.

For more * information, see * "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide or * "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" * (Snow Family Devices and Capacity) in the Snowcone User Guide.

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

Allows you to securely operate and manage Snowcone devices remotely from * outside of your internal network. When set to INSTALLED_AUTOSTART, * remote management will automatically be available when the device arrives at * your location. Otherwise, you need to use the Snowball Edge client to manage the * device. When set to NOT_INSTALLED, remote management will not be * available on the device.

*/ inline const RemoteManagement& GetRemoteManagement() const{ return m_remoteManagement; } /** *

Allows you to securely operate and manage Snowcone devices remotely from * outside of your internal network. When set to INSTALLED_AUTOSTART, * remote management will automatically be available when the device arrives at * your location. Otherwise, you need to use the Snowball Edge client to manage the * device. When set to NOT_INSTALLED, remote management will not be * available on the device.

*/ inline bool RemoteManagementHasBeenSet() const { return m_remoteManagementHasBeenSet; } /** *

Allows you to securely operate and manage Snowcone devices remotely from * outside of your internal network. When set to INSTALLED_AUTOSTART, * remote management will automatically be available when the device arrives at * your location. Otherwise, you need to use the Snowball Edge client to manage the * device. When set to NOT_INSTALLED, remote management will not be * available on the device.

*/ inline void SetRemoteManagement(const RemoteManagement& value) { m_remoteManagementHasBeenSet = true; m_remoteManagement = value; } /** *

Allows you to securely operate and manage Snowcone devices remotely from * outside of your internal network. When set to INSTALLED_AUTOSTART, * remote management will automatically be available when the device arrives at * your location. Otherwise, you need to use the Snowball Edge client to manage the * device. When set to NOT_INSTALLED, remote management will not be * available on the device.

*/ inline void SetRemoteManagement(RemoteManagement&& value) { m_remoteManagementHasBeenSet = true; m_remoteManagement = std::move(value); } /** *

Allows you to securely operate and manage Snowcone devices remotely from * outside of your internal network. When set to INSTALLED_AUTOSTART, * remote management will automatically be available when the device arrives at * your location. Otherwise, you need to use the Snowball Edge client to manage the * device. When set to NOT_INSTALLED, remote management will not be * available on the device.

*/ inline CreateJobRequest& WithRemoteManagement(const RemoteManagement& value) { SetRemoteManagement(value); return *this;} /** *

Allows you to securely operate and manage Snowcone devices remotely from * outside of your internal network. When set to INSTALLED_AUTOSTART, * remote management will automatically be available when the device arrives at * your location. Otherwise, you need to use the Snowball Edge client to manage the * device. When set to NOT_INSTALLED, remote management will not be * available on the device.

*/ inline CreateJobRequest& WithRemoteManagement(RemoteManagement&& value) { SetRemoteManagement(std::move(value)); return *this;} /** *

The ID of the long-term pricing type for the device.

*/ inline const Aws::String& GetLongTermPricingId() const{ return m_longTermPricingId; } /** *

The ID of the long-term pricing type for the device.

*/ inline bool LongTermPricingIdHasBeenSet() const { return m_longTermPricingIdHasBeenSet; } /** *

The ID of the long-term pricing type for the device.

*/ inline void SetLongTermPricingId(const Aws::String& value) { m_longTermPricingIdHasBeenSet = true; m_longTermPricingId = value; } /** *

The ID of the long-term pricing type for the device.

*/ inline void SetLongTermPricingId(Aws::String&& value) { m_longTermPricingIdHasBeenSet = true; m_longTermPricingId = std::move(value); } /** *

The ID of the long-term pricing type for the device.

*/ inline void SetLongTermPricingId(const char* value) { m_longTermPricingIdHasBeenSet = true; m_longTermPricingId.assign(value); } /** *

The ID of the long-term pricing type for the device.

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

The ID of the long-term pricing type for the device.

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

The ID of the long-term pricing type for the device.

*/ inline CreateJobRequest& WithLongTermPricingId(const char* value) { SetLongTermPricingId(value); return *this;} /** *

The highest impact level of data that will be stored or processed on the * device, provided at job creation.

*/ inline const ImpactLevel& GetImpactLevel() const{ return m_impactLevel; } /** *

The highest impact level of data that will be stored or processed on the * device, provided at job creation.

*/ inline bool ImpactLevelHasBeenSet() const { return m_impactLevelHasBeenSet; } /** *

The highest impact level of data that will be stored or processed on the * device, provided at job creation.

*/ inline void SetImpactLevel(const ImpactLevel& value) { m_impactLevelHasBeenSet = true; m_impactLevel = value; } /** *

The highest impact level of data that will be stored or processed on the * device, provided at job creation.

*/ inline void SetImpactLevel(ImpactLevel&& value) { m_impactLevelHasBeenSet = true; m_impactLevel = std::move(value); } /** *

The highest impact level of data that will be stored or processed on the * device, provided at job creation.

*/ inline CreateJobRequest& WithImpactLevel(const ImpactLevel& value) { SetImpactLevel(value); return *this;} /** *

The highest impact level of data that will be stored or processed on the * device, provided at job creation.

*/ inline CreateJobRequest& WithImpactLevel(ImpactLevel&& value) { SetImpactLevel(std::move(value)); return *this;} /** *

Information identifying the person picking up the device.

*/ inline const PickupDetails& GetPickupDetails() const{ return m_pickupDetails; } /** *

Information identifying the person picking up the device.

*/ inline bool PickupDetailsHasBeenSet() const { return m_pickupDetailsHasBeenSet; } /** *

Information identifying the person picking up the device.

*/ inline void SetPickupDetails(const PickupDetails& value) { m_pickupDetailsHasBeenSet = true; m_pickupDetails = value; } /** *

Information identifying the person picking up the device.

*/ inline void SetPickupDetails(PickupDetails&& value) { m_pickupDetailsHasBeenSet = true; m_pickupDetails = std::move(value); } /** *

Information identifying the person picking up the device.

*/ inline CreateJobRequest& WithPickupDetails(const PickupDetails& value) { SetPickupDetails(value); return *this;} /** *

Information identifying the person picking up the device.

*/ inline CreateJobRequest& WithPickupDetails(PickupDetails&& value) { SetPickupDetails(std::move(value)); return *this;} private: JobType m_jobType; bool m_jobTypeHasBeenSet = false; JobResource m_resources; bool m_resourcesHasBeenSet = false; OnDeviceServiceConfiguration m_onDeviceServiceConfiguration; bool m_onDeviceServiceConfigurationHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_addressId; bool m_addressIdHasBeenSet = false; Aws::String m_kmsKeyARN; bool m_kmsKeyARNHasBeenSet = false; Aws::String m_roleARN; bool m_roleARNHasBeenSet = false; SnowballCapacity m_snowballCapacityPreference; bool m_snowballCapacityPreferenceHasBeenSet = false; ShippingOption m_shippingOption; bool m_shippingOptionHasBeenSet = false; Notification m_notification; bool m_notificationHasBeenSet = false; Aws::String m_clusterId; bool m_clusterIdHasBeenSet = false; SnowballType m_snowballType; bool m_snowballTypeHasBeenSet = false; Aws::String m_forwardingAddressId; bool m_forwardingAddressIdHasBeenSet = false; TaxDocuments m_taxDocuments; bool m_taxDocumentsHasBeenSet = false; DeviceConfiguration m_deviceConfiguration; bool m_deviceConfigurationHasBeenSet = false; RemoteManagement m_remoteManagement; bool m_remoteManagementHasBeenSet = false; Aws::String m_longTermPricingId; bool m_longTermPricingIdHasBeenSet = false; ImpactLevel m_impactLevel; bool m_impactLevelHasBeenSet = false; PickupDetails m_pickupDetails; bool m_pickupDetailsHasBeenSet = false; }; } // namespace Model } // namespace Snowball } // namespace Aws