7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
21namespace resiliencehubv2 {
32 AWS_RESILIENCEHUBV2_API
System() =
default;
41 template <
typename SystemArnT = Aws::String>
43 m_systemArnHasBeenSet =
true;
44 m_systemArn = std::forward<SystemArnT>(value);
46 template <
typename SystemArnT = Aws::String>
57 template <
typename SystemIdT = Aws::String>
59 m_systemIdHasBeenSet =
true;
60 m_systemId = std::forward<SystemIdT>(value);
62 template <
typename SystemIdT = Aws::String>
73 template <
typename NameT = Aws::String>
75 m_nameHasBeenSet =
true;
76 m_name = std::forward<NameT>(value);
78 template <
typename NameT = Aws::String>
80 SetName(std::forward<NameT>(value));
89 template <
typename DescriptionT = Aws::String>
91 m_descriptionHasBeenSet =
true;
92 m_description = std::forward<DescriptionT>(value);
94 template <
typename DescriptionT = Aws::String>
108 m_sharingEnabledHasBeenSet =
true;
109 m_sharingEnabled = value;
121 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
123 m_tagsHasBeenSet =
true;
124 m_tags = std::forward<TagsT>(value);
126 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 SetTags(std::forward<TagsT>(value));
131 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
133 m_tagsHasBeenSet =
true;
134 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
143 template <
typename KmsKeyIdT = Aws::String>
145 m_kmsKeyIdHasBeenSet =
true;
146 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
148 template <
typename KmsKeyIdT = Aws::String>
161 template <
typename OrganizationIdT = Aws::String>
163 m_organizationIdHasBeenSet =
true;
164 m_organizationId = std::forward<OrganizationIdT>(value);
166 template <
typename OrganizationIdT = Aws::String>
179 template <
typename OuIdT = Aws::String>
181 m_ouIdHasBeenSet =
true;
182 m_ouId = std::forward<OuIdT>(value);
184 template <
typename OuIdT = Aws::String>
186 SetOuId(std::forward<OuIdT>(value));
197 template <
typename CreatedAtT = Aws::Utils::DateTime>
199 m_createdAtHasBeenSet =
true;
200 m_createdAt = std::forward<CreatedAtT>(value);
202 template <
typename CreatedAtT = Aws::Utils::DateTime>
215 template <
typename UpdatedAtT = Aws::Utils::DateTime>
217 m_updatedAtHasBeenSet =
true;
218 m_updatedAt = std::forward<UpdatedAtT>(value);
220 template <
typename UpdatedAtT = Aws::Utils::DateTime>
235 bool m_sharingEnabled{
false};
248 bool m_systemArnHasBeenSet =
false;
249 bool m_systemIdHasBeenSet =
false;
250 bool m_nameHasBeenSet =
false;
251 bool m_descriptionHasBeenSet =
false;
252 bool m_sharingEnabledHasBeenSet =
false;
253 bool m_tagsHasBeenSet =
false;
254 bool m_kmsKeyIdHasBeenSet =
false;
255 bool m_organizationIdHasBeenSet =
false;
256 bool m_ouIdHasBeenSet =
false;
257 bool m_createdAtHasBeenSet =
false;
258 bool m_updatedAtHasBeenSet =
false;
bool GetSharingEnabled() const
void SetOuId(OuIdT &&value)
System & WithName(NameT &&value)
System & WithKmsKeyId(KmsKeyIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetName() const
const Aws::String & GetOuId() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetSystemArn() const
AWS_RESILIENCEHUBV2_API System(Aws::Utils::Json::JsonView jsonValue)
System & WithOrganizationId(OrganizationIdT &&value)
System & WithSystemId(SystemIdT &&value)
void SetDescription(DescriptionT &&value)
bool KmsKeyIdHasBeenSet() const
bool UpdatedAtHasBeenSet() const
bool OuIdHasBeenSet() const
bool OrganizationIdHasBeenSet() const
System & WithSystemArn(SystemArnT &&value)
System & WithOuId(OuIdT &&value)
void SetOrganizationId(OrganizationIdT &&value)
bool SystemArnHasBeenSet() const
const Aws::String & GetSystemId() const
void SetName(NameT &&value)
System & WithTags(TagsT &&value)
bool DescriptionHasBeenSet() const
System & WithCreatedAt(CreatedAtT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool SystemIdHasBeenSet() const
const Aws::String & GetOrganizationId() const
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetCreatedAt() const
System & WithUpdatedAt(UpdatedAtT &&value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
System & WithSharingEnabled(bool value)
void SetTags(TagsT &&value)
bool NameHasBeenSet() const
bool SharingEnabledHasBeenSet() const
void SetSystemArn(SystemArnT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetKmsKeyId() const
void SetSystemId(SystemIdT &&value)
AWS_RESILIENCEHUBV2_API System()=default
bool CreatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
System & WithDescription(DescriptionT &&value)
System & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_RESILIENCEHUBV2_API System & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSharingEnabled(bool 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