7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/migrationhub-config/MigrationHubConfig_EXPORTS.h>
9#include <aws/migrationhub-config/model/TargetType.h>
20namespace MigrationHubConfig {
32 AWS_MIGRATIONHUBCONFIG_API
Target() =
default;
44 m_typeHasBeenSet =
true;
61 template <
typename IdT = Aws::String>
63 m_idHasBeenSet =
true;
64 m_id = std::forward<IdT>(value);
66 template <
typename IdT = Aws::String>
68 SetId(std::forward<IdT>(value));
76 bool m_typeHasBeenSet =
false;
77 bool m_idHasBeenSet =
false;
void SetType(TargetType value)
Target & WithId(IdT &&value)
TargetType GetType() const
bool IdHasBeenSet() const
AWS_MIGRATIONHUBCONFIG_API Target()=default
bool TypeHasBeenSet() const
AWS_MIGRATIONHUBCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MIGRATIONHUBCONFIG_API Target & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
Target & WithType(TargetType value)
AWS_MIGRATIONHUBCONFIG_API Target(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue