/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an agent version.See Also:
AWS
* API Reference
The agent version.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The agent version.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The agent version.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The agent version.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The agent version.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The agent version.
*/ inline AgentVersion& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The agent version.
*/ inline AgentVersion& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The agent version.
*/ inline AgentVersion& WithVersion(const char* value) { SetVersion(value); return *this;} /** *The configuration manager.
*/ inline const StackConfigurationManager& GetConfigurationManager() const{ return m_configurationManager; } /** *The configuration manager.
*/ inline bool ConfigurationManagerHasBeenSet() const { return m_configurationManagerHasBeenSet; } /** *The configuration manager.
*/ inline void SetConfigurationManager(const StackConfigurationManager& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = value; } /** *The configuration manager.
*/ inline void SetConfigurationManager(StackConfigurationManager&& value) { m_configurationManagerHasBeenSet = true; m_configurationManager = std::move(value); } /** *The configuration manager.
*/ inline AgentVersion& WithConfigurationManager(const StackConfigurationManager& value) { SetConfigurationManager(value); return *this;} /** *The configuration manager.
*/ inline AgentVersion& WithConfigurationManager(StackConfigurationManager&& value) { SetConfigurationManager(std::move(value)); return *this;} private: Aws::String m_version; bool m_versionHasBeenSet = false; StackConfigurationManager m_configurationManager; bool m_configurationManagerHasBeenSet = false; }; } // namespace Model } // namespace OpsWorks } // namespace Aws