/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CloudDirectory { namespace Model { class GetFacetResult { public: AWS_CLOUDDIRECTORY_API GetFacetResult(); AWS_CLOUDDIRECTORY_API GetFacetResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDDIRECTORY_API GetFacetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Facet structure that is associated with the facet.

*/ inline const Facet& GetFacet() const{ return m_facet; } /** *

The Facet structure that is associated with the facet.

*/ inline void SetFacet(const Facet& value) { m_facet = value; } /** *

The Facet structure that is associated with the facet.

*/ inline void SetFacet(Facet&& value) { m_facet = std::move(value); } /** *

The Facet structure that is associated with the facet.

*/ inline GetFacetResult& WithFacet(const Facet& value) { SetFacet(value); return *this;} /** *

The Facet structure that is associated with the facet.

*/ inline GetFacetResult& WithFacet(Facet&& value) { SetFacet(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetFacetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetFacetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetFacetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Facet m_facet; Aws::String m_requestId; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws