7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
13#include <aws/greengrassv2/model/CloudComponentStatus.h>
14#include <aws/greengrassv2/model/ComponentPlatform.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace GreengrassV2 {
42 template <
typename ArnT = Aws::String>
44 m_arnHasBeenSet =
true;
45 m_arn = std::forward<ArnT>(value);
47 template <
typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
59 template <
typename ComponentNameT = Aws::String>
61 m_componentNameHasBeenSet =
true;
62 m_componentName = std::forward<ComponentNameT>(value);
64 template <
typename ComponentNameT = Aws::String>
76 template <
typename ComponentVersionT = Aws::String>
78 m_componentVersionHasBeenSet =
true;
79 m_componentVersion = std::forward<ComponentVersionT>(value);
81 template <
typename ComponentVersionT = Aws::String>
94 template <
typename CreationTimestampT = Aws::Utils::DateTime>
96 m_creationTimestampHasBeenSet =
true;
97 m_creationTimestamp = std::forward<CreationTimestampT>(value);
99 template <
typename CreationTimestampT = Aws::Utils::DateTime>
111 template <
typename PublisherT = Aws::String>
113 m_publisherHasBeenSet =
true;
114 m_publisher = std::forward<PublisherT>(value);
116 template <
typename PublisherT = Aws::String>
128 template <
typename DescriptionT = Aws::String>
130 m_descriptionHasBeenSet =
true;
131 m_description = std::forward<DescriptionT>(value);
133 template <
typename DescriptionT = Aws::String>
146 template <
typename StatusT = CloudComponentStatus>
148 m_statusHasBeenSet =
true;
149 m_status = std::forward<StatusT>(value);
151 template <
typename StatusT = CloudComponentStatus>
163 template <
typename PlatformsT = Aws::Vector<ComponentPlatform>>
165 m_platformsHasBeenSet =
true;
166 m_platforms = std::forward<PlatformsT>(value);
168 template <
typename PlatformsT = Aws::Vector<ComponentPlatform>>
173 template <
typename PlatformsT = ComponentPlatform>
175 m_platformsHasBeenSet =
true;
176 m_platforms.emplace_back(std::forward<PlatformsT>(value));
189 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
191 m_tagsHasBeenSet =
true;
192 m_tags = std::forward<TagsT>(value);
194 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
196 SetTags(std::forward<TagsT>(value));
199 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
201 m_tagsHasBeenSet =
true;
202 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
210 template <
typename RequestIdT = Aws::String>
212 m_requestIdHasBeenSet =
true;
213 m_requestId = std::forward<RequestIdT>(value);
215 template <
typename RequestIdT = Aws::String>
236 CloudComponentStatus m_status;
244 bool m_arnHasBeenSet =
false;
245 bool m_componentNameHasBeenSet =
false;
246 bool m_componentVersionHasBeenSet =
false;
247 bool m_creationTimestampHasBeenSet =
false;
248 bool m_publisherHasBeenSet =
false;
249 bool m_descriptionHasBeenSet =
false;
250 bool m_statusHasBeenSet =
false;
251 bool m_platformsHasBeenSet =
false;
252 bool m_tagsHasBeenSet =
false;
253 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetComponentVersion() const
const Aws::String & GetPublisher() const
const Aws::String & GetDescription() const
const Aws::String & GetArn() const
void SetComponentVersion(ComponentVersionT &&value)
DescribeComponentResult & WithCreationTimestamp(CreationTimestampT &&value)
AWS_GREENGRASSV2_API DescribeComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(StatusT &&value)
DescribeComponentResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetPlatforms(PlatformsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetRequestId() const
AWS_GREENGRASSV2_API DescribeComponentResult()=default
DescribeComponentResult & WithPublisher(PublisherT &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
DescribeComponentResult & WithTags(TagsT &&value)
const Aws::String & GetComponentName() const
DescribeComponentResult & WithComponentVersion(ComponentVersionT &&value)
DescribeComponentResult & WithArn(ArnT &&value)
void SetTags(TagsT &&value)
AWS_GREENGRASSV2_API DescribeComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeComponentResult & AddPlatforms(PlatformsT &&value)
DescribeComponentResult & WithPlatforms(PlatformsT &&value)
void SetDescription(DescriptionT &&value)
void SetPublisher(PublisherT &&value)
DescribeComponentResult & WithDescription(DescriptionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetCreationTimestamp(CreationTimestampT &&value)
void SetArn(ArnT &&value)
DescribeComponentResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< ComponentPlatform > & GetPlatforms() const
void SetRequestId(RequestIdT &&value)
void SetComponentName(ComponentNameT &&value)
DescribeComponentResult & WithStatus(StatusT &&value)
const CloudComponentStatus & GetStatus() const
DescribeComponentResult & WithComponentName(ComponentNameT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue