/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about a component version in a list.See
* Also:
AWS
* API Reference
The name of the component.
*/ inline const Aws::String& GetComponentName() const{ return m_componentName; } /** *The name of the component.
*/ inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; } /** *The name of the component.
*/ inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; } /** *The name of the component.
*/ inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); } /** *The name of the component.
*/ inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); } /** *The name of the component.
*/ inline ComponentVersionListItem& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;} /** *The name of the component.
*/ inline ComponentVersionListItem& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;} /** *The name of the component.
*/ inline ComponentVersionListItem& WithComponentName(const char* value) { SetComponentName(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 ComponentVersionListItem& WithComponentVersion(const Aws::String& value) { SetComponentVersion(value); return *this;} /** *The version of the component.
*/ inline ComponentVersionListItem& WithComponentVersion(Aws::String&& value) { SetComponentVersion(std::move(value)); return *this;} /** *The version of the component.
*/ inline ComponentVersionListItem& WithComponentVersion(const char* value) { SetComponentVersion(value); return *this;} /** *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 ComponentVersionListItem& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN * of the component version.
*/ inline ComponentVersionListItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN * of the component version.
*/ inline ComponentVersionListItem& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_componentName; bool m_componentNameHasBeenSet = false; Aws::String m_componentVersion; bool m_componentVersionHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace GreengrassV2 } // namespace Aws