/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace Macie2 { namespace Model { /** */ class UpdateResourceProfileDetectionsRequest : public Macie2Request { public: AWS_MACIE2_API UpdateResourceProfileDetectionsRequest(); // 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 "UpdateResourceProfileDetections"; } AWS_MACIE2_API Aws::String SerializePayload() const override; AWS_MACIE2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The Amazon Resource Name (ARN) of the S3 bucket that the request applies * to.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The Amazon Resource Name (ARN) of the S3 bucket that the request applies * to.

*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the S3 bucket that the request applies * to.

*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *

The Amazon Resource Name (ARN) of the S3 bucket that the request applies * to.

*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the S3 bucket that the request applies * to.

*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the S3 bucket that the request applies * to.

*/ inline UpdateResourceProfileDetectionsRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the S3 bucket that the request applies * to.

*/ inline UpdateResourceProfileDetectionsRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the S3 bucket that the request applies * to.

*/ inline UpdateResourceProfileDetectionsRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *

An array of objects, one for each custom data identifier or managed data * identifier that detected the type of sensitive data to start excluding or * including in the bucket's score. To start including all sensitive data types in * the score, don't specify any values for this array.

*/ inline const Aws::Vector& GetSuppressDataIdentifiers() const{ return m_suppressDataIdentifiers; } /** *

An array of objects, one for each custom data identifier or managed data * identifier that detected the type of sensitive data to start excluding or * including in the bucket's score. To start including all sensitive data types in * the score, don't specify any values for this array.

*/ inline bool SuppressDataIdentifiersHasBeenSet() const { return m_suppressDataIdentifiersHasBeenSet; } /** *

An array of objects, one for each custom data identifier or managed data * identifier that detected the type of sensitive data to start excluding or * including in the bucket's score. To start including all sensitive data types in * the score, don't specify any values for this array.

*/ inline void SetSuppressDataIdentifiers(const Aws::Vector& value) { m_suppressDataIdentifiersHasBeenSet = true; m_suppressDataIdentifiers = value; } /** *

An array of objects, one for each custom data identifier or managed data * identifier that detected the type of sensitive data to start excluding or * including in the bucket's score. To start including all sensitive data types in * the score, don't specify any values for this array.

*/ inline void SetSuppressDataIdentifiers(Aws::Vector&& value) { m_suppressDataIdentifiersHasBeenSet = true; m_suppressDataIdentifiers = std::move(value); } /** *

An array of objects, one for each custom data identifier or managed data * identifier that detected the type of sensitive data to start excluding or * including in the bucket's score. To start including all sensitive data types in * the score, don't specify any values for this array.

*/ inline UpdateResourceProfileDetectionsRequest& WithSuppressDataIdentifiers(const Aws::Vector& value) { SetSuppressDataIdentifiers(value); return *this;} /** *

An array of objects, one for each custom data identifier or managed data * identifier that detected the type of sensitive data to start excluding or * including in the bucket's score. To start including all sensitive data types in * the score, don't specify any values for this array.

*/ inline UpdateResourceProfileDetectionsRequest& WithSuppressDataIdentifiers(Aws::Vector&& value) { SetSuppressDataIdentifiers(std::move(value)); return *this;} /** *

An array of objects, one for each custom data identifier or managed data * identifier that detected the type of sensitive data to start excluding or * including in the bucket's score. To start including all sensitive data types in * the score, don't specify any values for this array.

*/ inline UpdateResourceProfileDetectionsRequest& AddSuppressDataIdentifiers(const SuppressDataIdentifier& value) { m_suppressDataIdentifiersHasBeenSet = true; m_suppressDataIdentifiers.push_back(value); return *this; } /** *

An array of objects, one for each custom data identifier or managed data * identifier that detected the type of sensitive data to start excluding or * including in the bucket's score. To start including all sensitive data types in * the score, don't specify any values for this array.

*/ inline UpdateResourceProfileDetectionsRequest& AddSuppressDataIdentifiers(SuppressDataIdentifier&& value) { m_suppressDataIdentifiersHasBeenSet = true; m_suppressDataIdentifiers.push_back(std::move(value)); return *this; } private: Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; Aws::Vector m_suppressDataIdentifiers; bool m_suppressDataIdentifiersHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws