/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the latest version of a component.See
* Also:
AWS
* API Reference
The ARN * of the component version.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN * of the component version.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN * of the component version.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN * of the component version.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN * of the component version.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN * of the component version.
*/ inline ComponentLatestVersion& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN * of the component version.
*/ inline ComponentLatestVersion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN * of the component version.
*/ inline ComponentLatestVersion& WithArn(const char* value) { SetArn(value); return *this;} /** *The version of the component.
*/ inline const Aws::String& GetComponentVersion() const{ return m_componentVersion; } /** *The version of the component.
*/ inline bool ComponentVersionHasBeenSet() const { return m_componentVersionHasBeenSet; } /** *The version of the component.
*/ inline void SetComponentVersion(const Aws::String& value) { m_componentVersionHasBeenSet = true; m_componentVersion = value; } /** *The version of the component.
*/ inline void SetComponentVersion(Aws::String&& value) { m_componentVersionHasBeenSet = true; m_componentVersion = std::move(value); } /** *The version of the component.
*/ inline void SetComponentVersion(const char* value) { m_componentVersionHasBeenSet = true; m_componentVersion.assign(value); } /** *The version of the component.
*/ inline ComponentLatestVersion& WithComponentVersion(const Aws::String& value) { SetComponentVersion(value); return *this;} /** *The version of the component.
*/ inline ComponentLatestVersion& WithComponentVersion(Aws::String&& value) { SetComponentVersion(std::move(value)); return *this;} /** *The version of the component.
*/ inline ComponentLatestVersion& WithComponentVersion(const char* value) { SetComponentVersion(value); return *this;} /** *The time at which the component was created, expressed in ISO 8601 * format.
*/ inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; } /** *The time at which the component was created, expressed in ISO 8601 * format.
*/ inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; } /** *The time at which the component was created, expressed in ISO 8601 * format.
*/ inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; } /** *The time at which the component was created, expressed in ISO 8601 * format.
*/ inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); } /** *The time at which the component was created, expressed in ISO 8601 * format.
*/ inline ComponentLatestVersion& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;} /** *The time at which the component was created, expressed in ISO 8601 * format.
*/ inline ComponentLatestVersion& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;} /** *The description of the component version.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the component version.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the component version.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the component version.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the component version.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the component version.
*/ inline ComponentLatestVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the component version.
*/ inline ComponentLatestVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the component version.
*/ inline ComponentLatestVersion& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The publisher of the component version.
*/ inline const Aws::String& GetPublisher() const{ return m_publisher; } /** *The publisher of the component version.
*/ inline bool PublisherHasBeenSet() const { return m_publisherHasBeenSet; } /** *The publisher of the component version.
*/ inline void SetPublisher(const Aws::String& value) { m_publisherHasBeenSet = true; m_publisher = value; } /** *The publisher of the component version.
*/ inline void SetPublisher(Aws::String&& value) { m_publisherHasBeenSet = true; m_publisher = std::move(value); } /** *The publisher of the component version.
*/ inline void SetPublisher(const char* value) { m_publisherHasBeenSet = true; m_publisher.assign(value); } /** *The publisher of the component version.
*/ inline ComponentLatestVersion& WithPublisher(const Aws::String& value) { SetPublisher(value); return *this;} /** *The publisher of the component version.
*/ inline ComponentLatestVersion& WithPublisher(Aws::String&& value) { SetPublisher(std::move(value)); return *this;} /** *The publisher of the component version.
*/ inline ComponentLatestVersion& WithPublisher(const char* value) { SetPublisher(value); return *this;} /** *The platforms that the component version supports.
*/ inline const Aws::VectorThe platforms that the component version supports.
*/ inline bool PlatformsHasBeenSet() const { return m_platformsHasBeenSet; } /** *The platforms that the component version supports.
*/ inline void SetPlatforms(const Aws::VectorThe platforms that the component version supports.
*/ inline void SetPlatforms(Aws::VectorThe platforms that the component version supports.
*/ inline ComponentLatestVersion& WithPlatforms(const Aws::VectorThe platforms that the component version supports.
*/ inline ComponentLatestVersion& WithPlatforms(Aws::VectorThe platforms that the component version supports.
*/ inline ComponentLatestVersion& AddPlatforms(const ComponentPlatform& value) { m_platformsHasBeenSet = true; m_platforms.push_back(value); return *this; } /** *The platforms that the component version supports.
*/ inline ComponentLatestVersion& AddPlatforms(ComponentPlatform&& value) { m_platformsHasBeenSet = true; m_platforms.push_back(std::move(value)); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_componentVersion; bool m_componentVersionHasBeenSet = false; Aws::Utils::DateTime m_creationTimestamp; bool m_creationTimestampHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_publisher; bool m_publisherHasBeenSet = false; Aws::Vector