/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Version information for agent components.See Also:
AWS
* API Reference
Component type.
*/ inline const Aws::String& GetComponentType() const{ return m_componentType; } /** *Component type.
*/ inline bool ComponentTypeHasBeenSet() const { return m_componentTypeHasBeenSet; } /** *Component type.
*/ inline void SetComponentType(const Aws::String& value) { m_componentTypeHasBeenSet = true; m_componentType = value; } /** *Component type.
*/ inline void SetComponentType(Aws::String&& value) { m_componentTypeHasBeenSet = true; m_componentType = std::move(value); } /** *Component type.
*/ inline void SetComponentType(const char* value) { m_componentTypeHasBeenSet = true; m_componentType.assign(value); } /** *Component type.
*/ inline ComponentVersion& WithComponentType(const Aws::String& value) { SetComponentType(value); return *this;} /** *Component type.
*/ inline ComponentVersion& WithComponentType(Aws::String&& value) { SetComponentType(std::move(value)); return *this;} /** *Component type.
*/ inline ComponentVersion& WithComponentType(const char* value) { SetComponentType(value); return *this;} /** *List of versions.
*/ inline const Aws::VectorList of versions.
*/ inline bool VersionsHasBeenSet() const { return m_versionsHasBeenSet; } /** *List of versions.
*/ inline void SetVersions(const Aws::VectorList of versions.
*/ inline void SetVersions(Aws::VectorList of versions.
*/ inline ComponentVersion& WithVersions(const Aws::VectorList of versions.
*/ inline ComponentVersion& WithVersions(Aws::VectorList of versions.
*/ inline ComponentVersion& AddVersions(const Aws::String& value) { m_versionsHasBeenSet = true; m_versions.push_back(value); return *this; } /** *List of versions.
*/ inline ComponentVersion& AddVersions(Aws::String&& value) { m_versionsHasBeenSet = true; m_versions.push_back(std::move(value)); return *this; } /** *List of versions.
*/ inline ComponentVersion& AddVersions(const char* value) { m_versionsHasBeenSet = true; m_versions.push_back(value); return *this; } private: Aws::String m_componentType; bool m_componentTypeHasBeenSet = false; Aws::Vector