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/core/utils/memory/stl/AWSString.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 DisassociateAttributeGroupResult 28 { 29 public: 30 DisassociateAttributeGroupResult(); 31 DisassociateAttributeGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 DisassociateAttributeGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>The Amazon resource name (ARN) that specifies the application.</p> 37 */ GetApplicationArn()38 inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; } 39 40 /** 41 * <p>The Amazon resource name (ARN) that specifies the application.</p> 42 */ SetApplicationArn(const Aws::String & value)43 inline void SetApplicationArn(const Aws::String& value) { m_applicationArn = value; } 44 45 /** 46 * <p>The Amazon resource name (ARN) that specifies the application.</p> 47 */ SetApplicationArn(Aws::String && value)48 inline void SetApplicationArn(Aws::String&& value) { m_applicationArn = std::move(value); } 49 50 /** 51 * <p>The Amazon resource name (ARN) that specifies the application.</p> 52 */ SetApplicationArn(const char * value)53 inline void SetApplicationArn(const char* value) { m_applicationArn.assign(value); } 54 55 /** 56 * <p>The Amazon resource name (ARN) that specifies the application.</p> 57 */ WithApplicationArn(const Aws::String & value)58 inline DisassociateAttributeGroupResult& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;} 59 60 /** 61 * <p>The Amazon resource name (ARN) that specifies the application.</p> 62 */ WithApplicationArn(Aws::String && value)63 inline DisassociateAttributeGroupResult& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;} 64 65 /** 66 * <p>The Amazon resource name (ARN) that specifies the application.</p> 67 */ WithApplicationArn(const char * value)68 inline DisassociateAttributeGroupResult& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;} 69 70 71 /** 72 * <p>The Amazon resource name (ARN) that specifies the attribute group.</p> 73 */ GetAttributeGroupArn()74 inline const Aws::String& GetAttributeGroupArn() const{ return m_attributeGroupArn; } 75 76 /** 77 * <p>The Amazon resource name (ARN) that specifies the attribute group.</p> 78 */ SetAttributeGroupArn(const Aws::String & value)79 inline void SetAttributeGroupArn(const Aws::String& value) { m_attributeGroupArn = value; } 80 81 /** 82 * <p>The Amazon resource name (ARN) that specifies the attribute group.</p> 83 */ SetAttributeGroupArn(Aws::String && value)84 inline void SetAttributeGroupArn(Aws::String&& value) { m_attributeGroupArn = std::move(value); } 85 86 /** 87 * <p>The Amazon resource name (ARN) that specifies the attribute group.</p> 88 */ SetAttributeGroupArn(const char * value)89 inline void SetAttributeGroupArn(const char* value) { m_attributeGroupArn.assign(value); } 90 91 /** 92 * <p>The Amazon resource name (ARN) that specifies the attribute group.</p> 93 */ WithAttributeGroupArn(const Aws::String & value)94 inline DisassociateAttributeGroupResult& WithAttributeGroupArn(const Aws::String& value) { SetAttributeGroupArn(value); return *this;} 95 96 /** 97 * <p>The Amazon resource name (ARN) that specifies the attribute group.</p> 98 */ WithAttributeGroupArn(Aws::String && value)99 inline DisassociateAttributeGroupResult& WithAttributeGroupArn(Aws::String&& value) { SetAttributeGroupArn(std::move(value)); return *this;} 100 101 /** 102 * <p>The Amazon resource name (ARN) that specifies the attribute group.</p> 103 */ WithAttributeGroupArn(const char * value)104 inline DisassociateAttributeGroupResult& WithAttributeGroupArn(const char* value) { SetAttributeGroupArn(value); return *this;} 105 106 private: 107 108 Aws::String m_applicationArn; 109 110 Aws::String m_attributeGroupArn; 111 }; 112 113 } // namespace Model 114 } // namespace AppRegistry 115 } // namespace Aws 116