AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAttributeGroupRequest.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 <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace AppRegistry
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_APPREGISTRY_API CreateAttributeGroupRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateAttributeGroup"; }
33
34 AWS_APPREGISTRY_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetName() const{ return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
44 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
45 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
46 inline CreateAttributeGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline CreateAttributeGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline CreateAttributeGroupRequest& WithName(const char* value) { SetName(value); return *this;}
50
52
55 inline const Aws::String& GetDescription() const{ return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
58 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
59 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
60 inline CreateAttributeGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
61 inline CreateAttributeGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
62 inline CreateAttributeGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
64
66
70 inline const Aws::String& GetAttributes() const{ return m_attributes; }
71 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
72 inline void SetAttributes(const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes = value; }
73 inline void SetAttributes(Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
74 inline void SetAttributes(const char* value) { m_attributesHasBeenSet = true; m_attributes.assign(value); }
75 inline CreateAttributeGroupRequest& WithAttributes(const Aws::String& value) { SetAttributes(value); return *this;}
76 inline CreateAttributeGroupRequest& WithAttributes(Aws::String&& value) { SetAttributes(std::move(value)); return *this;}
77 inline CreateAttributeGroupRequest& WithAttributes(const char* value) { SetAttributes(value); return *this;}
79
81
84 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
85 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
86 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
87 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
89 inline CreateAttributeGroupRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
90 inline CreateAttributeGroupRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
91 inline CreateAttributeGroupRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
92 inline CreateAttributeGroupRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
93 inline CreateAttributeGroupRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
94 inline CreateAttributeGroupRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
95 inline CreateAttributeGroupRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
96 inline CreateAttributeGroupRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
98
100
107 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
108 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
109 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
110 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
111 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
112 inline CreateAttributeGroupRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
113 inline CreateAttributeGroupRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
114 inline CreateAttributeGroupRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
116 private:
117
118 Aws::String m_name;
119 bool m_nameHasBeenSet = false;
120
121 Aws::String m_description;
122 bool m_descriptionHasBeenSet = false;
123
124 Aws::String m_attributes;
125 bool m_attributesHasBeenSet = false;
126
128 bool m_tagsHasBeenSet = false;
129
130 Aws::String m_clientToken;
131 bool m_clientTokenHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace AppRegistry
136} // namespace Aws
CreateAttributeGroupRequest & WithClientToken(Aws::String &&value)
CreateAttributeGroupRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateAttributeGroupRequest & WithDescription(const char *value)
CreateAttributeGroupRequest & AddTags(Aws::String &&key, const char *value)
CreateAttributeGroupRequest & WithAttributes(const char *value)
CreateAttributeGroupRequest & AddTags(const char *key, const char *value)
CreateAttributeGroupRequest & WithName(Aws::String &&value)
CreateAttributeGroupRequest & WithName(const Aws::String &value)
CreateAttributeGroupRequest & AddTags(const char *key, Aws::String &&value)
CreateAttributeGroupRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAttributeGroupRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAttributeGroupRequest & WithAttributes(const Aws::String &value)
CreateAttributeGroupRequest & WithAttributes(Aws::String &&value)
CreateAttributeGroupRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateAttributeGroupRequest & WithClientToken(const Aws::String &value)
CreateAttributeGroupRequest & WithName(const char *value)
CreateAttributeGroupRequest & WithDescription(Aws::String &&value)
CreateAttributeGroupRequest & WithClientToken(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAttributeGroupRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAttributeGroupRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_APPREGISTRY_API Aws::String SerializePayload() const override
CreateAttributeGroupRequest & WithDescription(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String