7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
11#include <aws/greengrassv2/model/ComponentPlatform.h>
22namespace GreengrassV2 {
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
64 template <
typename ComponentVersionT = Aws::String>
66 m_componentVersionHasBeenSet =
true;
67 m_componentVersion = std::forward<ComponentVersionT>(value);
69 template <
typename ComponentVersionT = Aws::String>
83 template <
typename CreationTimestampT = Aws::Utils::DateTime>
85 m_creationTimestampHasBeenSet =
true;
86 m_creationTimestamp = std::forward<CreationTimestampT>(value);
88 template <
typename CreationTimestampT = Aws::Utils::DateTime>
101 template <
typename DescriptionT = Aws::String>
103 m_descriptionHasBeenSet =
true;
104 m_description = std::forward<DescriptionT>(value);
106 template <
typename DescriptionT = Aws::String>
119 template <
typename PublisherT = Aws::String>
121 m_publisherHasBeenSet =
true;
122 m_publisher = std::forward<PublisherT>(value);
124 template <
typename PublisherT = Aws::String>
137 template <
typename PlatformsT = Aws::Vector<ComponentPlatform>>
139 m_platformsHasBeenSet =
true;
140 m_platforms = std::forward<PlatformsT>(value);
142 template <
typename PlatformsT = Aws::Vector<ComponentPlatform>>
147 template <
typename PlatformsT = ComponentPlatform>
149 m_platformsHasBeenSet =
true;
150 m_platforms.emplace_back(std::forward<PlatformsT>(value));
166 bool m_arnHasBeenSet =
false;
167 bool m_componentVersionHasBeenSet =
false;
168 bool m_creationTimestampHasBeenSet =
false;
169 bool m_descriptionHasBeenSet =
false;
170 bool m_publisherHasBeenSet =
false;
171 bool m_platformsHasBeenSet =
false;
bool CreationTimestampHasBeenSet() const
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentLatestVersion & WithCreationTimestamp(CreationTimestampT &&value)
ComponentLatestVersion & WithDescription(DescriptionT &&value)
void SetComponentVersion(ComponentVersionT &&value)
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
AWS_GREENGRASSV2_API ComponentLatestVersion(Aws::Utils::Json::JsonView jsonValue)
void SetArn(ArnT &&value)
bool PublisherHasBeenSet() const
AWS_GREENGRASSV2_API ComponentLatestVersion()=default
void SetPlatforms(PlatformsT &&value)
ComponentLatestVersion & WithPublisher(PublisherT &&value)
ComponentLatestVersion & WithComponentVersion(ComponentVersionT &&value)
ComponentLatestVersion & WithArn(ArnT &&value)
ComponentLatestVersion & AddPlatforms(PlatformsT &&value)
bool ArnHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTimestamp() const
AWS_GREENGRASSV2_API ComponentLatestVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetComponentVersion() const
const Aws::Vector< ComponentPlatform > & GetPlatforms() const
void SetCreationTimestamp(CreationTimestampT &&value)
const Aws::String & GetArn() const
void SetPublisher(PublisherT &&value)
bool ComponentVersionHasBeenSet() const
const Aws::String & GetDescription() const
bool PlatformsHasBeenSet() const
const Aws::String & GetPublisher() const
ComponentLatestVersion & WithPlatforms(PlatformsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue