/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request body for CreateRevision.See Also:
AWS
* API Reference
An optional comment about the revision.
*/ inline const Aws::String& GetComment() const{ return m_comment; } /** *An optional comment about the revision.
*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *An optional comment about the revision.
*/ inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; } /** *An optional comment about the revision.
*/ inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); } /** *An optional comment about the revision.
*/ inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); } /** *An optional comment about the revision.
*/ inline CreateRevisionRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;} /** *An optional comment about the revision.
*/ inline CreateRevisionRequest& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;} /** *An optional comment about the revision.
*/ inline CreateRevisionRequest& WithComment(const char* value) { SetComment(value); return *this;} /** *The unique identifier for a data set.
*/ inline const Aws::String& GetDataSetId() const{ return m_dataSetId; } /** *The unique identifier for a data set.
*/ inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; } /** *The unique identifier for a data set.
*/ inline void SetDataSetId(const Aws::String& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = value; } /** *The unique identifier for a data set.
*/ inline void SetDataSetId(Aws::String&& value) { m_dataSetIdHasBeenSet = true; m_dataSetId = std::move(value); } /** *The unique identifier for a data set.
*/ inline void SetDataSetId(const char* value) { m_dataSetIdHasBeenSet = true; m_dataSetId.assign(value); } /** *The unique identifier for a data set.
*/ inline CreateRevisionRequest& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;} /** *The unique identifier for a data set.
*/ inline CreateRevisionRequest& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;} /** *The unique identifier for a data set.
*/ inline CreateRevisionRequest& WithDataSetId(const char* value) { SetDataSetId(value); return *this;} /** *A revision tag is an optional label that you can assign to a revision 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 revision tag is an optional label that you can assign to a revision 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 revision tag is an optional label that you can assign to a revision 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 revision tag is an optional label that you can assign to a revision 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 revision tag is an optional label that you can assign to a revision 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 CreateRevisionRequest& WithTags(const Aws::MapA revision tag is an optional label that you can assign to a revision 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 CreateRevisionRequest& WithTags(Aws::MapA revision tag is an optional label that you can assign to a revision 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 CreateRevisionRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *A revision tag is an optional label that you can assign to a revision 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 CreateRevisionRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A revision tag is an optional label that you can assign to a revision 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 CreateRevisionRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A revision tag is an optional label that you can assign to a revision 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 CreateRevisionRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *A revision tag is an optional label that you can assign to a revision 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 CreateRevisionRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *A revision tag is an optional label that you can assign to a revision 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 CreateRevisionRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *A revision tag is an optional label that you can assign to a revision 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 CreateRevisionRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_comment; bool m_commentHasBeenSet; Aws::String m_dataSetId; bool m_dataSetIdHasBeenSet; Aws::Map