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() =
default;
47 inline void SetType(
OSType value) { m_typeHasBeenSet =
true; m_type = value; }
57 template<
typename VersionT = Aws::String>
58 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
59 template<
typename VersionT = Aws::String>
65 bool m_typeHasBeenSet =
false;
68 bool m_versionHasBeenSet =
false;
OSInfo & WithType(OSType value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API OSInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
const Aws::String & GetVersion() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API OSInfo(Aws::Utils::Json::JsonView jsonValue)
bool VersionHasBeenSet() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API OSInfo()=default
void SetVersion(VersionT &&value)
void SetType(OSType value)
OSInfo & WithVersion(VersionT &&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