/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request body for CreateDataSet.See Also:
AWS
* API Reference
The type of file your data is stored in. Currently, the supported asset type * is S3_SNAPSHOT.
*/ inline const AssetType& GetAssetType() const{ return m_assetType; } /** *The type of file your data is stored in. Currently, the supported asset type * is S3_SNAPSHOT.
*/ inline bool AssetTypeHasBeenSet() const { return m_assetTypeHasBeenSet; } /** *The type of file your data is stored in. Currently, the supported asset type * is S3_SNAPSHOT.
*/ inline void SetAssetType(const AssetType& value) { m_assetTypeHasBeenSet = true; m_assetType = value; } /** *The type of file your data is stored in. Currently, the supported asset type * is S3_SNAPSHOT.
*/ inline void SetAssetType(AssetType&& value) { m_assetTypeHasBeenSet = true; m_assetType = std::move(value); } /** *The type of file your data is stored in. Currently, the supported asset type * is S3_SNAPSHOT.
*/ inline CreateDataSetRequest& WithAssetType(const AssetType& value) { SetAssetType(value); return *this;} /** *The type of file your data is stored in. Currently, the supported asset type * is S3_SNAPSHOT.
*/ inline CreateDataSetRequest& WithAssetType(AssetType&& value) { SetAssetType(std::move(value)); return *this;} /** *A description for the data set. This value can be up to 16,348 characters * long.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description for the data set. This value can be up to 16,348 characters * long.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description for the data set. This value can be up to 16,348 characters * long.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description for the data set. This value can be up to 16,348 characters * long.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description for the data set. This value can be up to 16,348 characters * long.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description for the data set. This value can be up to 16,348 characters * long.
*/ inline CreateDataSetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description for the data set. This value can be up to 16,348 characters * long.
*/ inline CreateDataSetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description for the data set. This value can be up to 16,348 characters * long.
*/ inline CreateDataSetRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The name of the data set.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the data set.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the data set.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the data set.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the data set.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the data set.
*/ inline CreateDataSetRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the data set.
*/ inline CreateDataSetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the data set.
*/ inline CreateDataSetRequest& WithName(const char* value) { SetName(value); return *this;} /** *A data set tag is an optional label that you can assign to a data set when * you create it. Each tag consists of a key and an optional value, both of which * you define. When you use tagging, you can also use tag-based access control in * IAM policies to control access to these data sets and revisions.
*/ inline const Aws::MapA data set tag is an optional label that you can assign to a data set when * you create it. Each tag consists of a key and an optional value, both of which * you define. When you use tagging, you can also use tag-based access control in * IAM policies to control access to these data sets and revisions.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *A data set tag is an optional label that you can assign to a data set when * you create it. Each tag consists of a key and an optional value, both of which * you define. When you use tagging, you can also use tag-based access control in * IAM policies to control access to these data sets and revisions.
*/ inline void SetTags(const Aws::MapA data set tag is an optional label that you can assign to a data set when * you create it. Each tag consists of a key and an optional value, both of which * you define. When you use tagging, you can also use tag-based access control in * IAM policies to control access to these data sets and revisions.
*/ inline void SetTags(Aws::MapA data set tag is an optional label that you can assign to a data set when * you create it. Each tag consists of a key and an optional value, both of which * you define. When you use tagging, you can also use tag-based access control in * IAM policies to control access to these data sets and revisions.
*/ inline CreateDataSetRequest& WithTags(const Aws::MapA data set tag is an optional label that you can assign to a data set when * you create it. Each tag consists of a key and an optional value, both of which * you define. When you use tagging, you can also use tag-based access control in * IAM policies to control access to these data sets and revisions.
*/ inline CreateDataSetRequest& WithTags(Aws::MapA data set tag is an optional label that you can assign to a data set when * you create it. Each tag consists of a key and an optional value, both of which * you define. When you use tagging, you can also use tag-based access control in * IAM policies to control access to these data sets and revisions.
*/ inline CreateDataSetRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *A data set tag is an optional label that you can assign to a data set when * you create it. Each tag consists of a key and an optional value, both of which * you define. When you use tagging, you can also use tag-based access control in * IAM policies to control access to these data sets and revisions.
*/ inline CreateDataSetRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A data set tag is an optional label that you can assign to a data set when * you create it. Each tag consists of a key and an optional value, both of which * you define. When you use tagging, you can also use tag-based access control in * IAM policies to control access to these data sets and revisions.
*/ inline CreateDataSetRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A data set tag is an optional label that you can assign to a data set when * you create it. Each tag consists of a key and an optional value, both of which * you define. When you use tagging, you can also use tag-based access control in * IAM policies to control access to these data sets and revisions.
*/ inline CreateDataSetRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *A data set tag is an optional label that you can assign to a data set when * you create it. Each tag consists of a key and an optional value, both of which * you define. When you use tagging, you can also use tag-based access control in * IAM policies to control access to these data sets and revisions.
*/ inline CreateDataSetRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A data set tag is an optional label that you can assign to a data set when * you create it. Each tag consists of a key and an optional value, both of which * you define. When you use tagging, you can also use tag-based access control in * IAM policies to control access to these data sets and revisions.
*/ inline CreateDataSetRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A data set tag is an optional label that you can assign to a data set when * you create it. Each tag consists of a key and an optional value, both of which * you define. When you use tagging, you can also use tag-based access control in * IAM policies to control access to these data sets and revisions.
*/ inline CreateDataSetRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: AssetType m_assetType; bool m_assetTypeHasBeenSet; Aws::String m_description; bool m_descriptionHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; Aws::Map