7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/greengrassv2/model/CloudComponentStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/greengrassv2/model/ComponentPlatform.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
47 template<
typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
49 template<
typename ArnT = Aws::String>
58 template<
typename ComponentNameT = Aws::String>
59 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet =
true; m_componentName = std::forward<ComponentNameT>(value); }
60 template<
typename ComponentNameT = Aws::String>
69 template<
typename ComponentVersionT = Aws::String>
70 void SetComponentVersion(ComponentVersionT&& value) { m_componentVersionHasBeenSet =
true; m_componentVersion = std::forward<ComponentVersionT>(value); }
71 template<
typename ComponentVersionT = Aws::String>
81 template<
typename CreationTimestampT = Aws::Utils::DateTime>
82 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet =
true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
83 template<
typename CreationTimestampT = Aws::Utils::DateTime>
92 template<
typename PublisherT = Aws::String>
93 void SetPublisher(PublisherT&& value) { m_publisherHasBeenSet =
true; m_publisher = std::forward<PublisherT>(value); }
94 template<
typename PublisherT = Aws::String>
103 template<
typename DescriptionT = Aws::String>
104 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
105 template<
typename DescriptionT = Aws::String>
115 template<
typename StatusT = CloudComponentStatus>
116 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
117 template<
typename StatusT = CloudComponentStatus>
126 template<
typename PlatformsT = Aws::Vector<ComponentPlatform>>
127 void SetPlatforms(PlatformsT&& value) { m_platformsHasBeenSet =
true; m_platforms = std::forward<PlatformsT>(value); }
128 template<
typename PlatformsT = Aws::Vector<ComponentPlatform>>
130 template<
typename PlatformsT = ComponentPlatform>
142 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
144 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
146 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
148 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
155 template<
typename RequestIdT = Aws::String>
156 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
157 template<
typename RequestIdT = Aws::String>
163 bool m_arnHasBeenSet =
false;
166 bool m_componentNameHasBeenSet =
false;
169 bool m_componentVersionHasBeenSet =
false;
172 bool m_creationTimestampHasBeenSet =
false;
175 bool m_publisherHasBeenSet =
false;
178 bool m_descriptionHasBeenSet =
false;
180 CloudComponentStatus m_status;
181 bool m_statusHasBeenSet =
false;
184 bool m_platformsHasBeenSet =
false;
187 bool m_tagsHasBeenSet =
false;
190 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