/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include (Discontinued) The S3 resources that you want to associate with Amazon Macie
* Classic for monitoring and data classification. This data type is used as a
* request parameter in the AssociateS3Resources
action and a response
* parameter in the ListS3Resources
action. See Also:
* AWS
* API Reference
(Discontinued) The name of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *(Discontinued) The name of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *(Discontinued) The name of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *(Discontinued) The name of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *(Discontinued) The name of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *(Discontinued) The name of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline S3ResourceClassification& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *(Discontinued) The name of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline S3ResourceClassification& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *(Discontinued) The name of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline S3ResourceClassification& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** *(Discontinued) The prefix of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *(Discontinued) The prefix of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *(Discontinued) The prefix of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *(Discontinued) The prefix of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *(Discontinued) The prefix of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *(Discontinued) The prefix of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline S3ResourceClassification& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** *(Discontinued) The prefix of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline S3ResourceClassification& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** *(Discontinued) The prefix of the S3 bucket that you want to associate with * Amazon Macie Classic.
*/ inline S3ResourceClassification& WithPrefix(const char* value) { SetPrefix(value); return *this;} /** *(Discontinued) The classification type that you want to specify for the * resource associated with Amazon Macie Classic.
*/ inline const ClassificationType& GetClassificationType() const{ return m_classificationType; } /** *(Discontinued) The classification type that you want to specify for the * resource associated with Amazon Macie Classic.
*/ inline bool ClassificationTypeHasBeenSet() const { return m_classificationTypeHasBeenSet; } /** *(Discontinued) The classification type that you want to specify for the * resource associated with Amazon Macie Classic.
*/ inline void SetClassificationType(const ClassificationType& value) { m_classificationTypeHasBeenSet = true; m_classificationType = value; } /** *(Discontinued) The classification type that you want to specify for the * resource associated with Amazon Macie Classic.
*/ inline void SetClassificationType(ClassificationType&& value) { m_classificationTypeHasBeenSet = true; m_classificationType = std::move(value); } /** *(Discontinued) The classification type that you want to specify for the * resource associated with Amazon Macie Classic.
*/ inline S3ResourceClassification& WithClassificationType(const ClassificationType& value) { SetClassificationType(value); return *this;} /** *(Discontinued) The classification type that you want to specify for the * resource associated with Amazon Macie Classic.
*/ inline S3ResourceClassification& WithClassificationType(ClassificationType&& value) { SetClassificationType(std::move(value)); return *this;} private: Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; Aws::String m_prefix; bool m_prefixHasBeenSet = false; ClassificationType m_classificationType; bool m_classificationTypeHasBeenSet = false; }; } // namespace Model } // namespace Macie } // namespace Aws