/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a custom data identifier or managed data identifier that detected a
* type of sensitive data to start excluding or including in an S3 bucket's
* sensitivity score.See Also:
AWS
* API Reference
The unique identifier for the custom data identifier or managed data * identifier that detected the type of sensitive data to exclude or include in the * score.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique identifier for the custom data identifier or managed data * identifier that detected the type of sensitive data to exclude or include in the * score.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique identifier for the custom data identifier or managed data * identifier that detected the type of sensitive data to exclude or include in the * score.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique identifier for the custom data identifier or managed data * identifier that detected the type of sensitive data to exclude or include in the * score.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique identifier for the custom data identifier or managed data * identifier that detected the type of sensitive data to exclude or include in the * score.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique identifier for the custom data identifier or managed data * identifier that detected the type of sensitive data to exclude or include in the * score.
*/ inline SuppressDataIdentifier& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique identifier for the custom data identifier or managed data * identifier that detected the type of sensitive data to exclude or include in the * score.
*/ inline SuppressDataIdentifier& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique identifier for the custom data identifier or managed data * identifier that detected the type of sensitive data to exclude or include in the * score.
*/ inline SuppressDataIdentifier& WithId(const char* value) { SetId(value); return *this;} /** *The type of data identifier that detected the sensitive data. Possible values * are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data * identifier.
*/ inline const DataIdentifierType& GetType() const{ return m_type; } /** *The type of data identifier that detected the sensitive data. Possible values * are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data * identifier.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of data identifier that detected the sensitive data. Possible values * are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data * identifier.
*/ inline void SetType(const DataIdentifierType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of data identifier that detected the sensitive data. Possible values * are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data * identifier.
*/ inline void SetType(DataIdentifierType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of data identifier that detected the sensitive data. Possible values * are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data * identifier.
*/ inline SuppressDataIdentifier& WithType(const DataIdentifierType& value) { SetType(value); return *this;} /** *The type of data identifier that detected the sensitive data. Possible values * are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data * identifier.
*/ inline SuppressDataIdentifier& WithType(DataIdentifierType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; DataIdentifierType m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws