1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/servicecatalog-appregistry/AppRegistry_EXPORTS.h> 8 #include <aws/servicecatalog-appregistry/model/AttributeGroup.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace AppRegistry 24 { 25 namespace Model 26 { 27 class AWS_APPREGISTRY_API UpdateAttributeGroupResult 28 { 29 public: 30 UpdateAttributeGroupResult(); 31 UpdateAttributeGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 UpdateAttributeGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>The updated information of the attribute group.</p> 37 */ GetAttributeGroup()38 inline const AttributeGroup& GetAttributeGroup() const{ return m_attributeGroup; } 39 40 /** 41 * <p>The updated information of the attribute group.</p> 42 */ SetAttributeGroup(const AttributeGroup & value)43 inline void SetAttributeGroup(const AttributeGroup& value) { m_attributeGroup = value; } 44 45 /** 46 * <p>The updated information of the attribute group.</p> 47 */ SetAttributeGroup(AttributeGroup && value)48 inline void SetAttributeGroup(AttributeGroup&& value) { m_attributeGroup = std::move(value); } 49 50 /** 51 * <p>The updated information of the attribute group.</p> 52 */ WithAttributeGroup(const AttributeGroup & value)53 inline UpdateAttributeGroupResult& WithAttributeGroup(const AttributeGroup& value) { SetAttributeGroup(value); return *this;} 54 55 /** 56 * <p>The updated information of the attribute group.</p> 57 */ WithAttributeGroup(AttributeGroup && value)58 inline UpdateAttributeGroupResult& WithAttributeGroup(AttributeGroup&& value) { SetAttributeGroup(std::move(value)); return *this;} 59 60 private: 61 62 AttributeGroup m_attributeGroup; 63 }; 64 65 } // namespace Model 66 } // namespace AppRegistry 67 } // namespace Aws 68