7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opsworks/model/OperatingSystemConfigurationManager.h>
49 template<
typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
51 template<
typename NameT = Aws::String>
62 template<
typename IdT = Aws::String>
63 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
64 template<
typename IdT = Aws::String>
75 template<
typename TypeT = Aws::String>
76 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
77 template<
typename TypeT = Aws::String>
88 template<
typename ConfigurationManagersT = Aws::Vector<OperatingSystemConfigurationManager>>
89 void SetConfigurationManagers(ConfigurationManagersT&& value) { m_configurationManagersHasBeenSet =
true; m_configurationManagers = std::forward<ConfigurationManagersT>(value); }
90 template<
typename ConfigurationManagersT = Aws::Vector<OperatingSystemConfigurationManager>>
92 template<
typename ConfigurationManagersT = OperatingSystemConfigurationManager>
93 OperatingSystem&
AddConfigurationManagers(ConfigurationManagersT&& value) { m_configurationManagersHasBeenSet =
true; m_configurationManagers.emplace_back(std::forward<ConfigurationManagersT>(value));
return *
this; }
102 template<
typename ReportedNameT = Aws::String>
103 void SetReportedName(ReportedNameT&& value) { m_reportedNameHasBeenSet =
true; m_reportedName = std::forward<ReportedNameT>(value); }
104 template<
typename ReportedNameT = Aws::String>
115 template<
typename ReportedVersionT = Aws::String>
116 void SetReportedVersion(ReportedVersionT&& value) { m_reportedVersionHasBeenSet =
true; m_reportedVersion = std::forward<ReportedVersionT>(value); }
117 template<
typename ReportedVersionT = Aws::String>
127 inline void SetSupported(
bool value) { m_supportedHasBeenSet =
true; m_supported = value; }
133 bool m_nameHasBeenSet =
false;
136 bool m_idHasBeenSet =
false;
139 bool m_typeHasBeenSet =
false;
142 bool m_configurationManagersHasBeenSet =
false;
145 bool m_reportedNameHasBeenSet =
false;
148 bool m_reportedVersionHasBeenSet =
false;
150 bool m_supported{
false};
151 bool m_supportedHasBeenSet =
false;
AWS_OPSWORKS_API OperatingSystem(Aws::Utils::Json::JsonView jsonValue)
OperatingSystem & WithName(NameT &&value)
void SetReportedName(ReportedNameT &&value)
const Aws::Vector< OperatingSystemConfigurationManager > & GetConfigurationManagers() const
bool ReportedVersionHasBeenSet() const
bool GetSupported() const
OperatingSystem & WithType(TypeT &&value)
const Aws::String & GetReportedName() const
bool TypeHasBeenSet() const
AWS_OPSWORKS_API OperatingSystem()=default
const Aws::String & GetName() const
void SetConfigurationManagers(ConfigurationManagersT &&value)
const Aws::String & GetReportedVersion() const
OperatingSystem & AddConfigurationManagers(ConfigurationManagersT &&value)
void SetReportedVersion(ReportedVersionT &&value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(TypeT &&value)
const Aws::String & GetId() const
OperatingSystem & WithReportedVersion(ReportedVersionT &&value)
AWS_OPSWORKS_API OperatingSystem & operator=(Aws::Utils::Json::JsonView jsonValue)
OperatingSystem & WithConfigurationManagers(ConfigurationManagersT &&value)
void SetSupported(bool value)
bool SupportedHasBeenSet() const
bool ConfigurationManagersHasBeenSet() const
OperatingSystem & WithId(IdT &&value)
bool IdHasBeenSet() const
OperatingSystem & WithReportedName(ReportedNameT &&value)
bool NameHasBeenSet() const
const Aws::String & GetType() const
void SetName(NameT &&value)
bool ReportedNameHasBeenSet() const
OperatingSystem & WithSupported(bool 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