AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 template<typename IdT = Aws::String>
43 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
44 template<typename IdT = Aws::String>
45 GetAttributeGroupResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
47
49
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template<typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
56 template<typename ArnT = Aws::String>
57 GetAttributeGroupResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
59
61
64 inline const Aws::String& GetName() const { return m_name; }
65 template<typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
67 template<typename NameT = Aws::String>
68 GetAttributeGroupResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 template<typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
78 template<typename DescriptionT = Aws::String>
79 GetAttributeGroupResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
81
83
87 inline const Aws::String& GetAttributes() const { return m_attributes; }
88 template<typename AttributesT = Aws::String>
89 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
90 template<typename AttributesT = Aws::String>
91 GetAttributeGroupResult& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
93
95
99 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
100 template<typename CreationTimeT = Aws::Utils::DateTime>
101 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
102 template<typename CreationTimeT = Aws::Utils::DateTime>
103 GetAttributeGroupResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
105
107
112 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
113 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
114 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
115 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
116 GetAttributeGroupResult& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
118
120
123 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
124 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
126 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 GetAttributeGroupResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
128 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
129 GetAttributeGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
130 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
131 }
133
135
138 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
139 template<typename CreatedByT = Aws::String>
140 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
141 template<typename CreatedByT = Aws::String>
142 GetAttributeGroupResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
144
146
147 inline const Aws::String& GetRequestId() const { return m_requestId; }
148 template<typename RequestIdT = Aws::String>
149 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
150 template<typename RequestIdT = Aws::String>
151 GetAttributeGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
153 private:
154
155 Aws::String m_id;
156 bool m_idHasBeenSet = false;
157
158 Aws::String m_arn;
159 bool m_arnHasBeenSet = false;
160
161 Aws::String m_name;
162 bool m_nameHasBeenSet = false;
163
164 Aws::String m_description;
165 bool m_descriptionHasBeenSet = false;
166
167 Aws::String m_attributes;
168 bool m_attributesHasBeenSet = false;
169
170 Aws::Utils::DateTime m_creationTime{};
171 bool m_creationTimeHasBeenSet = false;
172
173 Aws::Utils::DateTime m_lastUpdateTime{};
174 bool m_lastUpdateTimeHasBeenSet = false;
175
177 bool m_tagsHasBeenSet = false;
178
179 Aws::String m_createdBy;
180 bool m_createdByHasBeenSet = false;
181
182 Aws::String m_requestId;
183 bool m_requestIdHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace AppRegistry
188} // namespace Aws
AWS_APPREGISTRY_API GetAttributeGroupResult()=default
GetAttributeGroupResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
const Aws::Utils::DateTime & GetCreationTime() const
AWS_APPREGISTRY_API GetAttributeGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAttributeGroupResult & WithAttributes(AttributesT &&value)
GetAttributeGroupResult & WithArn(ArnT &&value)
GetAttributeGroupResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_APPREGISTRY_API GetAttributeGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAttributeGroupResult & WithDescription(DescriptionT &&value)
GetAttributeGroupResult & WithName(NameT &&value)
GetAttributeGroupResult & WithCreatedBy(CreatedByT &&value)
GetAttributeGroupResult & WithCreationTime(CreationTimeT &&value)
GetAttributeGroupResult & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetAttributeGroupResult & WithId(IdT &&value)
GetAttributeGroupResult & WithLastUpdateTime(LastUpdateTimeT &&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