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>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
35 template <
typename ArnT = Aws::String>
37 m_arnHasBeenSet =
true;
38 m_arn = std::forward<ArnT>(value);
40 template <
typename ArnT = Aws::String>
42 SetArn(std::forward<ArnT>(value));
52 template <
typename CreationTimestampT = Aws::String>
54 m_creationTimestampHasBeenSet =
true;
55 m_creationTimestamp = std::forward<CreationTimestampT>(value);
57 template <
typename CreationTimestampT = Aws::String>
69 template <
typename IdT = Aws::String>
71 m_idHasBeenSet =
true;
72 m_id = std::forward<IdT>(value);
74 template <
typename IdT = Aws::String>
76 SetId(std::forward<IdT>(value));
86 template <
typename LastUpdatedTimestampT = Aws::String>
88 m_lastUpdatedTimestampHasBeenSet =
true;
89 m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value);
91 template <
typename LastUpdatedTimestampT = Aws::String>
103 template <
typename LatestVersionT = Aws::String>
105 m_latestVersionHasBeenSet =
true;
106 m_latestVersion = std::forward<LatestVersionT>(value);
108 template <
typename LatestVersionT = Aws::String>
120 template <
typename LatestVersionArnT = Aws::String>
122 m_latestVersionArnHasBeenSet =
true;
123 m_latestVersionArn = std::forward<LatestVersionArnT>(value);
125 template <
typename LatestVersionArnT = Aws::String>
137 template <
typename NameT = Aws::String>
139 m_nameHasBeenSet =
true;
140 m_name = std::forward<NameT>(value);
142 template <
typename NameT = Aws::String>
144 SetName(std::forward<NameT>(value));
154 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
156 m_tagsHasBeenSet =
true;
157 m_tags = std::forward<TagsT>(value);
159 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 SetTags(std::forward<TagsT>(value));
164 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
166 m_tagsHasBeenSet =
true;
167 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
175 template <
typename RequestIdT = Aws::String>
177 m_requestIdHasBeenSet =
true;
178 m_requestId = std::forward<RequestIdT>(value);
180 template <
typename RequestIdT = Aws::String>
188 bool m_arnHasBeenSet =
false;
191 bool m_creationTimestampHasBeenSet =
false;
194 bool m_idHasBeenSet =
false;
197 bool m_lastUpdatedTimestampHasBeenSet =
false;
200 bool m_latestVersionHasBeenSet =
false;
203 bool m_latestVersionArnHasBeenSet =
false;
206 bool m_nameHasBeenSet =
false;
209 bool m_tagsHasBeenSet =
false;
212 bool m_requestIdHasBeenSet =
false;
void SetTags(TagsT &&value)
const Aws::String & GetCreationTimestamp() const
void SetName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLatestVersionArn(LatestVersionArnT &&value)
const Aws::String & GetRequestId() const
GetSubscriptionDefinitionResult & WithLatestVersion(LatestVersionT &&value)
GetSubscriptionDefinitionResult & WithTags(TagsT &&value)
GetSubscriptionDefinitionResult & WithId(IdT &&value)
void SetCreationTimestamp(CreationTimestampT &&value)
const Aws::String & GetArn() const
const Aws::String & GetId() const
GetSubscriptionDefinitionResult & WithLatestVersionArn(LatestVersionArnT &&value)
GetSubscriptionDefinitionResult & WithCreationTimestamp(CreationTimestampT &&value)
void SetArn(ArnT &&value)
GetSubscriptionDefinitionResult & WithName(NameT &&value)
const Aws::String & GetName() const
GetSubscriptionDefinitionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetLatestVersionArn() const
const Aws::String & GetLastUpdatedTimestamp() const
AWS_GREENGRASS_API GetSubscriptionDefinitionResult()=default
AWS_GREENGRASS_API GetSubscriptionDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSubscriptionDefinitionResult & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
void SetRequestId(RequestIdT &&value)
GetSubscriptionDefinitionResult & WithRequestId(RequestIdT &&value)
void SetLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
void SetLatestVersion(LatestVersionT &&value)
const Aws::String & GetLatestVersion() const
GetSubscriptionDefinitionResult & WithArn(ArnT &&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