/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CloudDirectory { namespace Model { /** *

The facet attribute reference that specifies the attribute definition that * contains the attribute facet name and attribute name.

See Also:

* AWS * API Reference

*/ class FacetAttributeReference { public: AWS_CLOUDDIRECTORY_API FacetAttributeReference(); AWS_CLOUDDIRECTORY_API FacetAttributeReference(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDDIRECTORY_API FacetAttributeReference& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The target facet name that is associated with the facet reference. See Attribute * References for more information.

*/ inline const Aws::String& GetTargetFacetName() const{ return m_targetFacetName; } /** *

The target facet name that is associated with the facet reference. See Attribute * References for more information.

*/ inline bool TargetFacetNameHasBeenSet() const { return m_targetFacetNameHasBeenSet; } /** *

The target facet name that is associated with the facet reference. See Attribute * References for more information.

*/ inline void SetTargetFacetName(const Aws::String& value) { m_targetFacetNameHasBeenSet = true; m_targetFacetName = value; } /** *

The target facet name that is associated with the facet reference. See Attribute * References for more information.

*/ inline void SetTargetFacetName(Aws::String&& value) { m_targetFacetNameHasBeenSet = true; m_targetFacetName = std::move(value); } /** *

The target facet name that is associated with the facet reference. See Attribute * References for more information.

*/ inline void SetTargetFacetName(const char* value) { m_targetFacetNameHasBeenSet = true; m_targetFacetName.assign(value); } /** *

The target facet name that is associated with the facet reference. See Attribute * References for more information.

*/ inline FacetAttributeReference& WithTargetFacetName(const Aws::String& value) { SetTargetFacetName(value); return *this;} /** *

The target facet name that is associated with the facet reference. See Attribute * References for more information.

*/ inline FacetAttributeReference& WithTargetFacetName(Aws::String&& value) { SetTargetFacetName(std::move(value)); return *this;} /** *

The target facet name that is associated with the facet reference. See Attribute * References for more information.

*/ inline FacetAttributeReference& WithTargetFacetName(const char* value) { SetTargetFacetName(value); return *this;} /** *

The target attribute name that is associated with the facet reference. See Attribute * References for more information.

*/ inline const Aws::String& GetTargetAttributeName() const{ return m_targetAttributeName; } /** *

The target attribute name that is associated with the facet reference. See Attribute * References for more information.

*/ inline bool TargetAttributeNameHasBeenSet() const { return m_targetAttributeNameHasBeenSet; } /** *

The target attribute name that is associated with the facet reference. See Attribute * References for more information.

*/ inline void SetTargetAttributeName(const Aws::String& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = value; } /** *

The target attribute name that is associated with the facet reference. See Attribute * References for more information.

*/ inline void SetTargetAttributeName(Aws::String&& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = std::move(value); } /** *

The target attribute name that is associated with the facet reference. See Attribute * References for more information.

*/ inline void SetTargetAttributeName(const char* value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName.assign(value); } /** *

The target attribute name that is associated with the facet reference. See Attribute * References for more information.

*/ inline FacetAttributeReference& WithTargetAttributeName(const Aws::String& value) { SetTargetAttributeName(value); return *this;} /** *

The target attribute name that is associated with the facet reference. See Attribute * References for more information.

*/ inline FacetAttributeReference& WithTargetAttributeName(Aws::String&& value) { SetTargetAttributeName(std::move(value)); return *this;} /** *

The target attribute name that is associated with the facet reference. See Attribute * References for more information.

*/ inline FacetAttributeReference& WithTargetAttributeName(const char* value) { SetTargetAttributeName(value); return *this;} private: Aws::String m_targetFacetName; bool m_targetFacetNameHasBeenSet = false; Aws::String m_targetAttributeName; bool m_targetAttributeNameHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws