AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
GetSubscriptionDefinitionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/Greengrass_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Greengrass {
23namespace Model {
25 public:
26 AWS_GREENGRASS_API GetSubscriptionDefinitionResult() = default;
29
31
34 inline const Aws::String& GetArn() const { return m_arn; }
35 template <typename ArnT = Aws::String>
36 void SetArn(ArnT&& value) {
37 m_arnHasBeenSet = true;
38 m_arn = std::forward<ArnT>(value);
39 }
40 template <typename ArnT = Aws::String>
42 SetArn(std::forward<ArnT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetCreationTimestamp() const { return m_creationTimestamp; }
52 template <typename CreationTimestampT = Aws::String>
53 void SetCreationTimestamp(CreationTimestampT&& value) {
54 m_creationTimestampHasBeenSet = true;
55 m_creationTimestamp = std::forward<CreationTimestampT>(value);
56 }
57 template <typename CreationTimestampT = Aws::String>
59 SetCreationTimestamp(std::forward<CreationTimestampT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetId() const { return m_id; }
69 template <typename IdT = Aws::String>
70 void SetId(IdT&& value) {
71 m_idHasBeenSet = true;
72 m_id = std::forward<IdT>(value);
73 }
74 template <typename IdT = Aws::String>
76 SetId(std::forward<IdT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::String& GetLastUpdatedTimestamp() const { return m_lastUpdatedTimestamp; }
86 template <typename LastUpdatedTimestampT = Aws::String>
87 void SetLastUpdatedTimestamp(LastUpdatedTimestampT&& value) {
88 m_lastUpdatedTimestampHasBeenSet = true;
89 m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value);
90 }
91 template <typename LastUpdatedTimestampT = Aws::String>
93 SetLastUpdatedTimestamp(std::forward<LastUpdatedTimestampT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetLatestVersion() const { return m_latestVersion; }
103 template <typename LatestVersionT = Aws::String>
104 void SetLatestVersion(LatestVersionT&& value) {
105 m_latestVersionHasBeenSet = true;
106 m_latestVersion = std::forward<LatestVersionT>(value);
107 }
108 template <typename LatestVersionT = Aws::String>
110 SetLatestVersion(std::forward<LatestVersionT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetLatestVersionArn() const { return m_latestVersionArn; }
120 template <typename LatestVersionArnT = Aws::String>
121 void SetLatestVersionArn(LatestVersionArnT&& value) {
122 m_latestVersionArnHasBeenSet = true;
123 m_latestVersionArn = std::forward<LatestVersionArnT>(value);
124 }
125 template <typename LatestVersionArnT = Aws::String>
127 SetLatestVersionArn(std::forward<LatestVersionArnT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetName() const { return m_name; }
137 template <typename NameT = Aws::String>
138 void SetName(NameT&& value) {
139 m_nameHasBeenSet = true;
140 m_name = std::forward<NameT>(value);
141 }
142 template <typename NameT = Aws::String>
144 SetName(std::forward<NameT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
154 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
155 void SetTags(TagsT&& value) {
156 m_tagsHasBeenSet = true;
157 m_tags = std::forward<TagsT>(value);
158 }
159 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 SetTags(std::forward<TagsT>(value));
162 return *this;
163 }
164 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
165 GetSubscriptionDefinitionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
166 m_tagsHasBeenSet = true;
167 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
168 return *this;
169 }
171
173
174 inline const Aws::String& GetRequestId() const { return m_requestId; }
175 template <typename RequestIdT = Aws::String>
176 void SetRequestId(RequestIdT&& value) {
177 m_requestIdHasBeenSet = true;
178 m_requestId = std::forward<RequestIdT>(value);
179 }
180 template <typename RequestIdT = Aws::String>
182 SetRequestId(std::forward<RequestIdT>(value));
183 return *this;
184 }
186 private:
187 Aws::String m_arn;
188 bool m_arnHasBeenSet = false;
189
190 Aws::String m_creationTimestamp;
191 bool m_creationTimestampHasBeenSet = false;
192
193 Aws::String m_id;
194 bool m_idHasBeenSet = false;
195
196 Aws::String m_lastUpdatedTimestamp;
197 bool m_lastUpdatedTimestampHasBeenSet = false;
198
199 Aws::String m_latestVersion;
200 bool m_latestVersionHasBeenSet = false;
201
202 Aws::String m_latestVersionArn;
203 bool m_latestVersionArnHasBeenSet = false;
204
205 Aws::String m_name;
206 bool m_nameHasBeenSet = false;
207
209 bool m_tagsHasBeenSet = false;
210
211 Aws::String m_requestId;
212 bool m_requestIdHasBeenSet = false;
213};
214
215} // namespace Model
216} // namespace Greengrass
217} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetSubscriptionDefinitionResult & WithLatestVersion(LatestVersionT &&value)
GetSubscriptionDefinitionResult & WithTags(TagsT &&value)
GetSubscriptionDefinitionResult & WithLatestVersionArn(LatestVersionArnT &&value)
GetSubscriptionDefinitionResult & WithCreationTimestamp(CreationTimestampT &&value)
GetSubscriptionDefinitionResult & WithName(NameT &&value)
GetSubscriptionDefinitionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_GREENGRASS_API GetSubscriptionDefinitionResult()=default
AWS_GREENGRASS_API GetSubscriptionDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSubscriptionDefinitionResult & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
GetSubscriptionDefinitionResult & WithRequestId(RequestIdT &&value)
AWS_GREENGRASS_API GetSubscriptionDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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