/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace CloudDirectory { namespace Model { /** */ class DeleteFacetRequest : public CloudDirectoryRequest { public: AWS_CLOUDDIRECTORY_API DeleteFacetRequest(); // 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 "DeleteFacet"; } AWS_CLOUDDIRECTORY_API Aws::String SerializePayload() const override; AWS_CLOUDDIRECTORY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) that is associated with the Facet. For * more information, see arns.

*/ inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; } /** *

The Amazon Resource Name (ARN) that is associated with the Facet. For * more information, see arns.

*/ inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) that is associated with the Facet. For * more information, see arns.

*/ inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; } /** *

The Amazon Resource Name (ARN) that is associated with the Facet. For * more information, see arns.

*/ inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); } /** *

The Amazon Resource Name (ARN) that is associated with the Facet. For * more information, see arns.

*/ inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); } /** *

The Amazon Resource Name (ARN) that is associated with the Facet. For * more information, see arns.

*/ inline DeleteFacetRequest& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;} /** *

The Amazon Resource Name (ARN) that is associated with the Facet. For * more information, see arns.

*/ inline DeleteFacetRequest& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that is associated with the Facet. For * more information, see arns.

*/ inline DeleteFacetRequest& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;} /** *

The name of the facet to delete.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the facet to delete.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the facet to delete.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the facet to delete.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the facet to delete.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the facet to delete.

*/ inline DeleteFacetRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the facet to delete.

*/ inline DeleteFacetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the facet to delete.

*/ inline DeleteFacetRequest& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_schemaArn; bool m_schemaArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws