7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/resiliencehubv2/Resiliencehubv2Request.h>
11#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
16namespace resiliencehubv2 {
37 template <
typename NameT = Aws::String>
39 m_nameHasBeenSet =
true;
40 m_name = std::forward<NameT>(value);
42 template <
typename NameT = Aws::String>
44 SetName(std::forward<NameT>(value));
53 template <
typename DescriptionT = Aws::String>
55 m_descriptionHasBeenSet =
true;
56 m_description = std::forward<DescriptionT>(value);
58 template <
typename DescriptionT = Aws::String>
72 m_sharingEnabledHasBeenSet =
true;
73 m_sharingEnabled = value;
85 template <
typename KmsKeyIdT = Aws::String>
87 m_kmsKeyIdHasBeenSet =
true;
88 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
90 template <
typename KmsKeyIdT = Aws::String>
101 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 m_tagsHasBeenSet =
true;
104 m_tags = std::forward<TagsT>(value);
106 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
108 SetTags(std::forward<TagsT>(value));
111 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
113 m_tagsHasBeenSet =
true;
114 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
123 template <
typename ClientTokenT = Aws::String>
125 m_clientTokenHasBeenSet =
true;
126 m_clientToken = std::forward<ClientTokenT>(value);
128 template <
typename ClientTokenT = Aws::String>
139 bool m_sharingEnabled{
false};
146 bool m_nameHasBeenSet =
false;
147 bool m_descriptionHasBeenSet =
false;
148 bool m_sharingEnabledHasBeenSet =
false;
149 bool m_kmsKeyIdHasBeenSet =
false;
150 bool m_tagsHasBeenSet =
false;
151 bool m_clientTokenHasBeenSet =
true;
static Aws::Utils::UUID PseudoRandomUUID()
virtual const char * GetServiceRequestName() const override
CreateSystemRequest & WithKmsKeyId(KmsKeyIdT &&value)
CreateSystemRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override
CreateSystemRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetName() const
CreateSystemRequest & WithSharingEnabled(bool value)
CreateSystemRequest & WithName(NameT &&value)
CreateSystemRequest & WithClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetSharingEnabled(bool value)
void SetClientToken(ClientTokenT &&value)
void SetTags(TagsT &&value)
CreateSystemRequest & WithTags(TagsT &&value)
const Aws::String & GetKmsKeyId() const
bool GetSharingEnabled() const
const Aws::String & GetClientToken() const
bool DescriptionHasBeenSet() const
bool NameHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
bool SharingEnabledHasBeenSet() const
AWS_RESILIENCEHUBV2_API CreateSystemRequest()=default
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