7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/model/OSType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace MigrationHubStrategyRecommendations
35 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API
OSInfo();
47 inline void SetType(
const OSType& value) { m_typeHasBeenSet =
true; m_type = value; }
48 inline void SetType(
OSType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
61 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
69 bool m_typeHasBeenSet =
false;
72 bool m_versionHasBeenSet =
false;
const OSType & GetType() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API OSInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(OSType &&value)
bool TypeHasBeenSet() const
OSInfo & WithVersion(const char *value)
void SetVersion(Aws::String &&value)
OSInfo & WithVersion(const Aws::String &value)
OSInfo & WithType(OSType &&value)
void SetType(const OSType &value)
const Aws::String & GetVersion() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API OSInfo()
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API OSInfo(Aws::Utils::Json::JsonView jsonValue)
bool VersionHasBeenSet() const
OSInfo & WithVersion(Aws::String &&value)
void SetVersion(const char *value)
void SetVersion(const Aws::String &value)
OSInfo & WithType(const OSType &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue