/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A unique identifier for an attribute.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the schema that contains the facet and * attribute.
*/ inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; } /** *The Amazon Resource Name (ARN) of the schema that contains the facet and * attribute.
*/ inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the schema that contains the facet and * attribute.
*/ inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; } /** *The Amazon Resource Name (ARN) of the schema that contains the facet and * attribute.
*/ inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the schema that contains the facet and * attribute.
*/ inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); } /** *The Amazon Resource Name (ARN) of the schema that contains the facet and * attribute.
*/ inline AttributeKey& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the schema that contains the facet and * attribute.
*/ inline AttributeKey& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the schema that contains the facet and * attribute.
*/ inline AttributeKey& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;} /** *The name of the facet that the attribute exists within.
*/ inline const Aws::String& GetFacetName() const{ return m_facetName; } /** *The name of the facet that the attribute exists within.
*/ inline bool FacetNameHasBeenSet() const { return m_facetNameHasBeenSet; } /** *The name of the facet that the attribute exists within.
*/ inline void SetFacetName(const Aws::String& value) { m_facetNameHasBeenSet = true; m_facetName = value; } /** *The name of the facet that the attribute exists within.
*/ inline void SetFacetName(Aws::String&& value) { m_facetNameHasBeenSet = true; m_facetName = std::move(value); } /** *The name of the facet that the attribute exists within.
*/ inline void SetFacetName(const char* value) { m_facetNameHasBeenSet = true; m_facetName.assign(value); } /** *The name of the facet that the attribute exists within.
*/ inline AttributeKey& WithFacetName(const Aws::String& value) { SetFacetName(value); return *this;} /** *The name of the facet that the attribute exists within.
*/ inline AttributeKey& WithFacetName(Aws::String&& value) { SetFacetName(std::move(value)); return *this;} /** *The name of the facet that the attribute exists within.
*/ inline AttributeKey& WithFacetName(const char* value) { SetFacetName(value); return *this;} /** *The name of the attribute.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the attribute.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the attribute.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the attribute.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the attribute.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the attribute.
*/ inline AttributeKey& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the attribute.
*/ inline AttributeKey& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the attribute.
*/ inline AttributeKey& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_schemaArn; bool m_schemaArnHasBeenSet = false; Aws::String m_facetName; bool m_facetNameHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws