AWS SDK for C++  1.9.104
AWS SDK for C++
UpdateAttributeGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace AppRegistry
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetAttributeGroup() const{ return m_attributeGroup; }
40 
45  inline bool AttributeGroupHasBeenSet() const { return m_attributeGroupHasBeenSet; }
46 
51  inline void SetAttributeGroup(const Aws::String& value) { m_attributeGroupHasBeenSet = true; m_attributeGroup = value; }
52 
57  inline void SetAttributeGroup(Aws::String&& value) { m_attributeGroupHasBeenSet = true; m_attributeGroup = std::move(value); }
58 
63  inline void SetAttributeGroup(const char* value) { m_attributeGroupHasBeenSet = true; m_attributeGroup.assign(value); }
64 
69  inline UpdateAttributeGroupRequest& WithAttributeGroup(const Aws::String& value) { SetAttributeGroup(value); return *this;}
70 
75  inline UpdateAttributeGroupRequest& WithAttributeGroup(Aws::String&& value) { SetAttributeGroup(std::move(value)); return *this;}
76 
81  inline UpdateAttributeGroupRequest& WithAttributeGroup(const char* value) { SetAttributeGroup(value); return *this;}
82 
83 
88  inline const Aws::String& GetName() const{ return m_name; }
89 
94  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
95 
100  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
101 
106  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
107 
112  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
113 
118  inline UpdateAttributeGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
119 
124  inline UpdateAttributeGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
125 
130  inline UpdateAttributeGroupRequest& WithName(const char* value) { SetName(value); return *this;}
131 
132 
136  inline const Aws::String& GetDescription() const{ return m_description; }
137 
141  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
142 
146  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
147 
151  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
152 
156  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
157 
161  inline UpdateAttributeGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
162 
166  inline UpdateAttributeGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
167 
171  inline UpdateAttributeGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
172 
173 
178  inline const Aws::String& GetAttributes() const{ return m_attributes; }
179 
184  inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
185 
190  inline void SetAttributes(const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes = value; }
191 
196  inline void SetAttributes(Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
197 
202  inline void SetAttributes(const char* value) { m_attributesHasBeenSet = true; m_attributes.assign(value); }
203 
208  inline UpdateAttributeGroupRequest& WithAttributes(const Aws::String& value) { SetAttributes(value); return *this;}
209 
214  inline UpdateAttributeGroupRequest& WithAttributes(Aws::String&& value) { SetAttributes(std::move(value)); return *this;}
215 
220  inline UpdateAttributeGroupRequest& WithAttributes(const char* value) { SetAttributes(value); return *this;}
221 
222  private:
223 
224  Aws::String m_attributeGroup;
225  bool m_attributeGroupHasBeenSet;
226 
227  Aws::String m_name;
228  bool m_nameHasBeenSet;
229 
230  Aws::String m_description;
231  bool m_descriptionHasBeenSet;
232 
233  Aws::String m_attributes;
234  bool m_attributesHasBeenSet;
235  };
236 
237 } // namespace Model
238 } // namespace AppRegistry
239 } // namespace Aws
Aws::AppRegistry::AppRegistryRequest
Definition: AppRegistryRequest.h:17
AWS_APPREGISTRY_API
#define AWS_APPREGISTRY_API
Definition: AppRegistry_EXPORTS.h:28
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::WithDescription
UpdateAttributeGroupRequest & WithDescription(Aws::String &&value)
Definition: UpdateAttributeGroupRequest.h:166
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateAttributeGroupRequest.h:146
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateAttributeGroupRequest.h:100
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateAttributeGroupRequest.h:141
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::SetAttributeGroup
void SetAttributeGroup(Aws::String &&value)
Definition: UpdateAttributeGroupRequest.h:57
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateAttributeGroupRequest.h:106
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::AttributesHasBeenSet
bool AttributesHasBeenSet() const
Definition: UpdateAttributeGroupRequest.h:184
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::WithAttributeGroup
UpdateAttributeGroupRequest & WithAttributeGroup(const char *value)
Definition: UpdateAttributeGroupRequest.h:81
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::WithDescription
UpdateAttributeGroupRequest & WithDescription(const char *value)
Definition: UpdateAttributeGroupRequest.h:171
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::SetAttributeGroup
void SetAttributeGroup(const Aws::String &value)
Definition: UpdateAttributeGroupRequest.h:51
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::WithAttributes
UpdateAttributeGroupRequest & WithAttributes(const char *value)
Definition: UpdateAttributeGroupRequest.h:220
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateAttributeGroupRequest.h:156
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::WithName
UpdateAttributeGroupRequest & WithName(const char *value)
Definition: UpdateAttributeGroupRequest.h:130
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::UpdateAttributeGroupRequest
UpdateAttributeGroupRequest()
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::WithAttributes
UpdateAttributeGroupRequest & WithAttributes(Aws::String &&value)
Definition: UpdateAttributeGroupRequest.h:214
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::WithAttributeGroup
UpdateAttributeGroupRequest & WithAttributeGroup(Aws::String &&value)
Definition: UpdateAttributeGroupRequest.h:75
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateAttributeGroupRequest.h:94
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::WithAttributeGroup
UpdateAttributeGroupRequest & WithAttributeGroup(const Aws::String &value)
Definition: UpdateAttributeGroupRequest.h:69
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateAttributeGroupRequest.h:151
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::WithAttributes
UpdateAttributeGroupRequest & WithAttributes(const Aws::String &value)
Definition: UpdateAttributeGroupRequest.h:208
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::WithName
UpdateAttributeGroupRequest & WithName(Aws::String &&value)
Definition: UpdateAttributeGroupRequest.h:124
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::GetName
const Aws::String & GetName() const
Definition: UpdateAttributeGroupRequest.h:88
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::SetAttributes
void SetAttributes(const Aws::String &value)
Definition: UpdateAttributeGroupRequest.h:190
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::SetAttributes
void SetAttributes(Aws::String &&value)
Definition: UpdateAttributeGroupRequest.h:196
AWSString.h
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::SetAttributes
void SetAttributes(const char *value)
Definition: UpdateAttributeGroupRequest.h:202
AppRegistryRequest.h
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateAttributeGroupRequest.h:136
Aws
Definition: AccessManagementClient.h:15
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateAttributeGroupRequest.h:30
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::WithName
UpdateAttributeGroupRequest & WithName(const Aws::String &value)
Definition: UpdateAttributeGroupRequest.h:118
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::WithDescription
UpdateAttributeGroupRequest & WithDescription(const Aws::String &value)
Definition: UpdateAttributeGroupRequest.h:161
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::GetAttributes
const Aws::String & GetAttributes() const
Definition: UpdateAttributeGroupRequest.h:178
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::SetAttributeGroup
void SetAttributeGroup(const char *value)
Definition: UpdateAttributeGroupRequest.h:63
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::AttributeGroupHasBeenSet
bool AttributeGroupHasBeenSet() const
Definition: UpdateAttributeGroupRequest.h:45
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::GetAttributeGroup
const Aws::String & GetAttributeGroup() const
Definition: UpdateAttributeGroupRequest.h:39
Aws::AppRegistry::Model::UpdateAttributeGroupRequest::SetName
void SetName(const char *value)
Definition: UpdateAttributeGroupRequest.h:112
Aws::AppRegistry::Model::UpdateAttributeGroupRequest
Definition: UpdateAttributeGroupRequest.h:22
AppRegistry_EXPORTS.h