7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
12#include <aws/greengrassv2/model/CloudComponentStatus.h>
13#include <aws/greengrassv2/model/ComponentPlatform.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace GreengrassV2 {
41 template <
typename ArnT = Aws::String>
43 m_arnHasBeenSet =
true;
44 m_arn = std::forward<ArnT>(value);
46 template <
typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
58 template <
typename ComponentNameT = Aws::String>
60 m_componentNameHasBeenSet =
true;
61 m_componentName = std::forward<ComponentNameT>(value);
63 template <
typename ComponentNameT = Aws::String>
75 template <
typename ComponentVersionT = Aws::String>
77 m_componentVersionHasBeenSet =
true;
78 m_componentVersion = std::forward<ComponentVersionT>(value);
80 template <
typename ComponentVersionT = Aws::String>
93 template <
typename CreationTimestampT = Aws::Utils::DateTime>
95 m_creationTimestampHasBeenSet =
true;
96 m_creationTimestamp = std::forward<CreationTimestampT>(value);
98 template <
typename CreationTimestampT = Aws::Utils::DateTime>
110 template <
typename PublisherT = Aws::String>
112 m_publisherHasBeenSet =
true;
113 m_publisher = std::forward<PublisherT>(value);
115 template <
typename PublisherT = Aws::String>
127 template <
typename DescriptionT = Aws::String>
129 m_descriptionHasBeenSet =
true;
130 m_description = std::forward<DescriptionT>(value);
132 template <
typename DescriptionT = Aws::String>
145 template <
typename StatusT = CloudComponentStatus>
147 m_statusHasBeenSet =
true;
148 m_status = std::forward<StatusT>(value);
150 template <
typename StatusT = CloudComponentStatus>
162 template <
typename PlatformsT = Aws::Vector<ComponentPlatform>>
164 m_platformsHasBeenSet =
true;
165 m_platforms = std::forward<PlatformsT>(value);
167 template <
typename PlatformsT = Aws::Vector<ComponentPlatform>>
172 template <
typename PlatformsT = ComponentPlatform>
174 m_platformsHasBeenSet =
true;
175 m_platforms.emplace_back(std::forward<PlatformsT>(value));
188 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
190 m_tagsHasBeenSet =
true;
191 m_tags = std::forward<TagsT>(value);
193 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
195 SetTags(std::forward<TagsT>(value));
198 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
200 m_tagsHasBeenSet =
true;
201 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
209 template <
typename RequestIdT = Aws::String>
211 m_requestIdHasBeenSet =
true;
212 m_requestId = std::forward<RequestIdT>(value);
214 template <
typename RequestIdT = Aws::String>
222 bool m_arnHasBeenSet =
false;
225 bool m_componentNameHasBeenSet =
false;
228 bool m_componentVersionHasBeenSet =
false;
231 bool m_creationTimestampHasBeenSet =
false;
234 bool m_publisherHasBeenSet =
false;
237 bool m_descriptionHasBeenSet =
false;
239 CloudComponentStatus m_status;
240 bool m_statusHasBeenSet =
false;
243 bool m_platformsHasBeenSet =
false;
246 bool m_tagsHasBeenSet =
false;
249 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)
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