/** * 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 AppRegistry { namespace Model { class CreateAttributeGroupResult { public: AWS_APPREGISTRY_API CreateAttributeGroupResult(); AWS_APPREGISTRY_API CreateAttributeGroupResult(const Aws::AmazonWebServiceResult& result); AWS_APPREGISTRY_API CreateAttributeGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the attribute group.

*/ inline const AttributeGroup& GetAttributeGroup() const{ return m_attributeGroup; } /** *

Information about the attribute group.

*/ inline void SetAttributeGroup(const AttributeGroup& value) { m_attributeGroup = value; } /** *

Information about the attribute group.

*/ inline void SetAttributeGroup(AttributeGroup&& value) { m_attributeGroup = std::move(value); } /** *

Information about the attribute group.

*/ inline CreateAttributeGroupResult& WithAttributeGroup(const AttributeGroup& value) { SetAttributeGroup(value); return *this;} /** *

Information about the attribute group.

*/ inline CreateAttributeGroupResult& WithAttributeGroup(AttributeGroup&& value) { SetAttributeGroup(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 CreateAttributeGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateAttributeGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateAttributeGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AttributeGroup m_attributeGroup; Aws::String m_requestId; }; } // namespace Model } // namespace AppRegistry } // namespace Aws