AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAttributeGroupResult.h
1
6#pragma once
7#include <aws/servicecatalog-appregistry/AppRegistry_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace AppRegistry
26{
27namespace Model
28{
30 {
31 public:
32 AWS_APPREGISTRY_API GetAttributeGroupResult();
35
36
38
41 inline const Aws::String& GetId() const{ return m_id; }
42 inline void SetId(const Aws::String& value) { m_id = value; }
43 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
44 inline void SetId(const char* value) { m_id.assign(value); }
45 inline GetAttributeGroupResult& WithId(const Aws::String& value) { SetId(value); return *this;}
46 inline GetAttributeGroupResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
47 inline GetAttributeGroupResult& WithId(const char* value) { SetId(value); return *this;}
49
51
55 inline const Aws::String& GetArn() const{ return m_arn; }
56 inline void SetArn(const Aws::String& value) { m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arn.assign(value); }
59 inline GetAttributeGroupResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline GetAttributeGroupResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline GetAttributeGroupResult& WithArn(const char* value) { SetArn(value); return *this;}
63
65
68 inline const Aws::String& GetName() const{ return m_name; }
69 inline void SetName(const Aws::String& value) { m_name = value; }
70 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
71 inline void SetName(const char* value) { m_name.assign(value); }
72 inline GetAttributeGroupResult& WithName(const Aws::String& value) { SetName(value); return *this;}
73 inline GetAttributeGroupResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 inline GetAttributeGroupResult& WithName(const char* value) { SetName(value); return *this;}
76
78
81 inline const Aws::String& GetDescription() const{ return m_description; }
82 inline void SetDescription(const Aws::String& value) { m_description = value; }
83 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
84 inline void SetDescription(const char* value) { m_description.assign(value); }
85 inline GetAttributeGroupResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
86 inline GetAttributeGroupResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
87 inline GetAttributeGroupResult& WithDescription(const char* value) { SetDescription(value); return *this;}
89
91
95 inline const Aws::String& GetAttributes() const{ return m_attributes; }
96 inline void SetAttributes(const Aws::String& value) { m_attributes = value; }
97 inline void SetAttributes(Aws::String&& value) { m_attributes = std::move(value); }
98 inline void SetAttributes(const char* value) { m_attributes.assign(value); }
99 inline GetAttributeGroupResult& WithAttributes(const Aws::String& value) { SetAttributes(value); return *this;}
100 inline GetAttributeGroupResult& WithAttributes(Aws::String&& value) { SetAttributes(std::move(value)); return *this;}
101 inline GetAttributeGroupResult& WithAttributes(const char* value) { SetAttributes(value); return *this;}
103
105
109 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
110 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
111 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
113 inline GetAttributeGroupResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
115
117
122 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
123 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTime = value; }
124 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTime = std::move(value); }
126 inline GetAttributeGroupResult& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
128
130
133 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
134 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
135 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
136 inline GetAttributeGroupResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
137 inline GetAttributeGroupResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
138 inline GetAttributeGroupResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
139 inline GetAttributeGroupResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
140 inline GetAttributeGroupResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
141 inline GetAttributeGroupResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
142 inline GetAttributeGroupResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
143 inline GetAttributeGroupResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
144 inline GetAttributeGroupResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
146
148
151 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
152 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
153 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
154 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
155 inline GetAttributeGroupResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
156 inline GetAttributeGroupResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
157 inline GetAttributeGroupResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
159
161
162 inline const Aws::String& GetRequestId() const{ return m_requestId; }
163 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
164 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
165 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
166 inline GetAttributeGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
167 inline GetAttributeGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
168 inline GetAttributeGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
170 private:
171
172 Aws::String m_id;
173
174 Aws::String m_arn;
175
176 Aws::String m_name;
177
178 Aws::String m_description;
179
180 Aws::String m_attributes;
181
182 Aws::Utils::DateTime m_creationTime;
183
184 Aws::Utils::DateTime m_lastUpdateTime;
185
187
188 Aws::String m_createdBy;
189
190 Aws::String m_requestId;
191 };
192
193} // namespace Model
194} // namespace AppRegistry
195} // namespace Aws
GetAttributeGroupResult & WithLastUpdateTime(const Aws::Utils::DateTime &value)
GetAttributeGroupResult & WithArn(const char *value)
GetAttributeGroupResult & WithName(const Aws::String &value)
GetAttributeGroupResult & WithAttributes(const char *value)
GetAttributeGroupResult & WithId(const Aws::String &value)
GetAttributeGroupResult & WithName(const char *value)
GetAttributeGroupResult & WithRequestId(Aws::String &&value)
GetAttributeGroupResult & WithDescription(const char *value)
GetAttributeGroupResult & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
GetAttributeGroupResult & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetAttributeGroupResult & WithRequestId(const Aws::String &value)
GetAttributeGroupResult & AddTags(const Aws::String &key, const Aws::String &value)
AWS_APPREGISTRY_API GetAttributeGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAttributeGroupResult & AddTags(const char *key, const char *value)
GetAttributeGroupResult & WithArn(Aws::String &&value)
GetAttributeGroupResult & WithCreatedBy(const Aws::String &value)
GetAttributeGroupResult & WithCreatedBy(Aws::String &&value)
GetAttributeGroupResult & AddTags(Aws::String &&key, Aws::String &&value)
GetAttributeGroupResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
GetAttributeGroupResult & AddTags(Aws::String &&key, const char *value)
AWS_APPREGISTRY_API GetAttributeGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAttributeGroupResult & WithAttributes(const Aws::String &value)
GetAttributeGroupResult & WithAttributes(Aws::String &&value)
GetAttributeGroupResult & WithCreatedBy(const char *value)
GetAttributeGroupResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
GetAttributeGroupResult & WithLastUpdateTime(Aws::Utils::DateTime &&value)
GetAttributeGroupResult & AddTags(const char *key, Aws::String &&value)
GetAttributeGroupResult & WithId(Aws::String &&value)
GetAttributeGroupResult & WithDescription(const Aws::String &value)
GetAttributeGroupResult & WithDescription(Aws::String &&value)
GetAttributeGroupResult & WithRequestId(const char *value)
GetAttributeGroupResult & WithName(Aws::String &&value)
GetAttributeGroupResult & WithCreationTime(const Aws::Utils::DateTime &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetAttributeGroupResult & WithArn(const Aws::String &value)
GetAttributeGroupResult & WithId(const char *value)
GetAttributeGroupResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(const Aws::Map< Aws::String, 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
Aws::Utils::Json::JsonValue JsonValue