7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/Mgn_EXPORTS.h>
10#include <aws/mgn/model/SourceEnvironment.h>
42 template <
typename NetworkMigrationDefinitionIDT = Aws::String>
44 m_networkMigrationDefinitionIDHasBeenSet =
true;
45 m_networkMigrationDefinitionID = std::forward<NetworkMigrationDefinitionIDT>(value);
47 template <
typename NetworkMigrationDefinitionIDT = Aws::String>
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
79 m_sourceEnvironmentHasBeenSet =
true;
80 m_sourceEnvironment = value;
94 template <
typename ArnT = Aws::String>
96 m_arnHasBeenSet =
true;
97 m_arn = std::forward<ArnT>(value);
99 template <
typename ArnT = Aws::String>
101 SetArn(std::forward<ArnT>(value));
112 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 m_tagsHasBeenSet =
true;
115 m_tags = std::forward<TagsT>(value);
117 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
119 SetTags(std::forward<TagsT>(value));
122 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
124 m_tagsHasBeenSet =
true;
125 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
136 template <
typename ScopeTagsT = Aws::Map<Aws::String, Aws::String>>
138 m_scopeTagsHasBeenSet =
true;
139 m_scopeTags = std::forward<ScopeTagsT>(value);
141 template <
typename ScopeTagsT = Aws::Map<Aws::String, Aws::String>>
146 template <
typename ScopeTagsKeyT = Aws::String,
typename ScopeTagsValueT = Aws::String>
148 m_scopeTagsHasBeenSet =
true;
149 m_scopeTags.emplace(std::forward<ScopeTagsKeyT>(key), std::forward<ScopeTagsValueT>(value));
165 bool m_networkMigrationDefinitionIDHasBeenSet =
false;
166 bool m_nameHasBeenSet =
false;
167 bool m_sourceEnvironmentHasBeenSet =
false;
168 bool m_arnHasBeenSet =
false;
169 bool m_tagsHasBeenSet =
false;
170 bool m_scopeTagsHasBeenSet =
false;
AWS_MGN_API NetworkMigrationDefinitionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkMigrationDefinitionSummary & WithArn(ArnT &&value)
const Aws::String & GetArn() const
void SetSourceEnvironment(SourceEnvironment value)
void SetScopeTags(ScopeTagsT &&value)
bool NameHasBeenSet() const
const Aws::String & GetNetworkMigrationDefinitionID() const
bool TagsHasBeenSet() const
bool NetworkMigrationDefinitionIDHasBeenSet() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkMigrationDefinitionSummary & WithName(NameT &&value)
NetworkMigrationDefinitionSummary & WithSourceEnvironment(SourceEnvironment value)
bool ScopeTagsHasBeenSet() const
void SetNetworkMigrationDefinitionID(NetworkMigrationDefinitionIDT &&value)
bool ArnHasBeenSet() const
NetworkMigrationDefinitionSummary & WithTags(TagsT &&value)
void SetName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetScopeTags() const
bool SourceEnvironmentHasBeenSet() const
NetworkMigrationDefinitionSummary & AddScopeTags(ScopeTagsKeyT &&key, ScopeTagsValueT &&value)
AWS_MGN_API NetworkMigrationDefinitionSummary(Aws::Utils::Json::JsonView jsonValue)
SourceEnvironment GetSourceEnvironment() const
const Aws::String & GetName() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_MGN_API NetworkMigrationDefinitionSummary()=default
NetworkMigrationDefinitionSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetTags(TagsT &&value)
NetworkMigrationDefinitionSummary & WithScopeTags(ScopeTagsT &&value)
NetworkMigrationDefinitionSummary & WithNetworkMigrationDefinitionID(NetworkMigrationDefinitionIDT &&value)
void SetArn(ArnT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue