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/AppRegistryRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace AppRegistry 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_APPREGISTRY_API GetAttributeGroupRequest : public AppRegistryRequest 22 { 23 public: 24 GetAttributeGroupRequest(); 25 26 // Service request name is the Operation name which will send this request out, 27 // each operation should has unique request name, so that we can get operation's name from this request. 28 // Note: this is not true for response, multiple operations may have the same response name, 29 // so we can not get operation's name from response. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "GetAttributeGroup"; } 31 32 Aws::String SerializePayload() const override; 33 34 35 /** 36 * <p>The name or ID of the attribute group that holds the attributes to describe 37 * the application.</p> 38 */ GetAttributeGroup()39 inline const Aws::String& GetAttributeGroup() const{ return m_attributeGroup; } 40 41 /** 42 * <p>The name or ID of the attribute group that holds the attributes to describe 43 * the application.</p> 44 */ AttributeGroupHasBeenSet()45 inline bool AttributeGroupHasBeenSet() const { return m_attributeGroupHasBeenSet; } 46 47 /** 48 * <p>The name or ID of the attribute group that holds the attributes to describe 49 * the application.</p> 50 */ SetAttributeGroup(const Aws::String & value)51 inline void SetAttributeGroup(const Aws::String& value) { m_attributeGroupHasBeenSet = true; m_attributeGroup = value; } 52 53 /** 54 * <p>The name or ID of the attribute group that holds the attributes to describe 55 * the application.</p> 56 */ SetAttributeGroup(Aws::String && value)57 inline void SetAttributeGroup(Aws::String&& value) { m_attributeGroupHasBeenSet = true; m_attributeGroup = std::move(value); } 58 59 /** 60 * <p>The name or ID of the attribute group that holds the attributes to describe 61 * the application.</p> 62 */ SetAttributeGroup(const char * value)63 inline void SetAttributeGroup(const char* value) { m_attributeGroupHasBeenSet = true; m_attributeGroup.assign(value); } 64 65 /** 66 * <p>The name or ID of the attribute group that holds the attributes to describe 67 * the application.</p> 68 */ WithAttributeGroup(const Aws::String & value)69 inline GetAttributeGroupRequest& WithAttributeGroup(const Aws::String& value) { SetAttributeGroup(value); return *this;} 70 71 /** 72 * <p>The name or ID of the attribute group that holds the attributes to describe 73 * the application.</p> 74 */ WithAttributeGroup(Aws::String && value)75 inline GetAttributeGroupRequest& WithAttributeGroup(Aws::String&& value) { SetAttributeGroup(std::move(value)); return *this;} 76 77 /** 78 * <p>The name or ID of the attribute group that holds the attributes to describe 79 * the application.</p> 80 */ WithAttributeGroup(const char * value)81 inline GetAttributeGroupRequest& WithAttributeGroup(const char* value) { SetAttributeGroup(value); return *this;} 82 83 private: 84 85 Aws::String m_attributeGroup; 86 bool m_attributeGroupHasBeenSet; 87 }; 88 89 } // namespace Model 90 } // namespace AppRegistry 91 } // namespace Aws 92