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/core/utils/memory/stl/AWSVector.h>
11#include <aws/greengrassv2/model/ComponentPlatform.h>
52 template<
typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
54 template<
typename ArnT = Aws::String>
64 template<
typename ComponentVersionT = Aws::String>
65 void SetComponentVersion(ComponentVersionT&& value) { m_componentVersionHasBeenSet =
true; m_componentVersion = std::forward<ComponentVersionT>(value); }
66 template<
typename ComponentVersionT = Aws::String>
77 template<
typename CreationTimestampT = Aws::Utils::DateTime>
78 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet =
true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
79 template<
typename CreationTimestampT = Aws::Utils::DateTime>
89 template<
typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
91 template<
typename DescriptionT = Aws::String>
101 template<
typename PublisherT = Aws::String>
102 void SetPublisher(PublisherT&& value) { m_publisherHasBeenSet =
true; m_publisher = std::forward<PublisherT>(value); }
103 template<
typename PublisherT = Aws::String>
113 template<
typename PlatformsT = Aws::Vector<ComponentPlatform>>
114 void SetPlatforms(PlatformsT&& value) { m_platformsHasBeenSet =
true; m_platforms = std::forward<PlatformsT>(value); }
115 template<
typename PlatformsT = Aws::Vector<ComponentPlatform>>
117 template<
typename PlatformsT = ComponentPlatform>
123 bool m_arnHasBeenSet =
false;
126 bool m_componentVersionHasBeenSet =
false;
129 bool m_creationTimestampHasBeenSet =
false;
132 bool m_descriptionHasBeenSet =
false;
135 bool m_publisherHasBeenSet =
false;
138 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