/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that contains Name
, ARN
,
* Attributes
, Rules
, and
* ObjectTypes
. See Facets
* for more information.See Also:
AWS
* API Reference
The name of the Facet.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the Facet.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the Facet.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the Facet.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the Facet.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the Facet.
*/ inline Facet& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the Facet.
*/ inline Facet& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the Facet.
*/ inline Facet& WithName(const char* value) { SetName(value); return *this;} /** *The object type that is associated with the facet. See * CreateFacetRequest$ObjectType for more details.
*/ inline const ObjectType& GetObjectType() const{ return m_objectType; } /** *The object type that is associated with the facet. See * CreateFacetRequest$ObjectType for more details.
*/ inline bool ObjectTypeHasBeenSet() const { return m_objectTypeHasBeenSet; } /** *The object type that is associated with the facet. See * CreateFacetRequest$ObjectType for more details.
*/ inline void SetObjectType(const ObjectType& value) { m_objectTypeHasBeenSet = true; m_objectType = value; } /** *The object type that is associated with the facet. See * CreateFacetRequest$ObjectType for more details.
*/ inline void SetObjectType(ObjectType&& value) { m_objectTypeHasBeenSet = true; m_objectType = std::move(value); } /** *The object type that is associated with the facet. See * CreateFacetRequest$ObjectType for more details.
*/ inline Facet& WithObjectType(const ObjectType& value) { SetObjectType(value); return *this;} /** *The object type that is associated with the facet. See * CreateFacetRequest$ObjectType for more details.
*/ inline Facet& WithObjectType(ObjectType&& value) { SetObjectType(std::move(value)); return *this;} /** *There are two different styles that you can define on any given facet,
* Static
and Dynamic
. For static facets, all attributes
* must be defined in the schema. For dynamic facets, attributes can be defined
* during data plane operations.
There are two different styles that you can define on any given facet,
* Static
and Dynamic
. For static facets, all attributes
* must be defined in the schema. For dynamic facets, attributes can be defined
* during data plane operations.
There are two different styles that you can define on any given facet,
* Static
and Dynamic
. For static facets, all attributes
* must be defined in the schema. For dynamic facets, attributes can be defined
* during data plane operations.
There are two different styles that you can define on any given facet,
* Static
and Dynamic
. For static facets, all attributes
* must be defined in the schema. For dynamic facets, attributes can be defined
* during data plane operations.
There are two different styles that you can define on any given facet,
* Static
and Dynamic
. For static facets, all attributes
* must be defined in the schema. For dynamic facets, attributes can be defined
* during data plane operations.
There are two different styles that you can define on any given facet,
* Static
and Dynamic
. For static facets, all attributes
* must be defined in the schema. For dynamic facets, attributes can be defined
* during data plane operations.