AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateAttributeGroupRequest.h
1
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
12namespace Aws
13{
14namespace AppRegistry
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_APPREGISTRY_API UpdateAttributeGroupRequest() = default;
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.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateAttributeGroup"; }
31
32 AWS_APPREGISTRY_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetAttributeGroup() const { return m_attributeGroup; }
41 inline bool AttributeGroupHasBeenSet() const { return m_attributeGroupHasBeenSet; }
42 template<typename AttributeGroupT = Aws::String>
43 void SetAttributeGroup(AttributeGroupT&& value) { m_attributeGroupHasBeenSet = true; m_attributeGroup = std::forward<AttributeGroupT>(value); }
44 template<typename AttributeGroupT = Aws::String>
45 UpdateAttributeGroupRequest& WithAttributeGroup(AttributeGroupT&& value) { SetAttributeGroup(std::forward<AttributeGroupT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDescription() const { return m_description; }
53 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
54 template<typename DescriptionT = Aws::String>
55 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
56 template<typename DescriptionT = Aws::String>
57 UpdateAttributeGroupRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
59
61
65 inline const Aws::String& GetAttributes() const { return m_attributes; }
66 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
67 template<typename AttributesT = Aws::String>
68 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
69 template<typename AttributesT = Aws::String>
70 UpdateAttributeGroupRequest& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
72 private:
73
74 Aws::String m_attributeGroup;
75 bool m_attributeGroupHasBeenSet = false;
76
77 Aws::String m_description;
78 bool m_descriptionHasBeenSet = false;
79
80 Aws::String m_attributes;
81 bool m_attributesHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace AppRegistry
86} // namespace Aws
UpdateAttributeGroupRequest & WithAttributeGroup(AttributeGroupT &&value)
AWS_APPREGISTRY_API UpdateAttributeGroupRequest()=default
UpdateAttributeGroupRequest & WithAttributes(AttributesT &&value)
UpdateAttributeGroupRequest & WithDescription(DescriptionT &&value)
AWS_APPREGISTRY_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String