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>
12#include <aws/resiliencehubv2/model/AvailabilitySlo.h>
13#include <aws/resiliencehubv2/model/MultiAzDisasterRecoveryApproach.h>
14#include <aws/resiliencehubv2/model/MultiRegionDisasterRecoveryApproach.h>
19namespace resiliencehubv2 {
40 template <
typename V1PolicyArnT = Aws::String>
42 m_v1PolicyArnHasBeenSet =
true;
43 m_v1PolicyArn = std::forward<V1PolicyArnT>(value);
45 template <
typename V1PolicyArnT = Aws::String>
56 template <
typename KmsKeyIdT = Aws::String>
58 m_kmsKeyIdHasBeenSet =
true;
59 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
61 template <
typename KmsKeyIdT = Aws::String>
74 template <
typename AvailabilitySloT = AvailabilitySlo>
76 m_availabilitySloHasBeenSet =
true;
77 m_availabilitySlo = std::forward<AvailabilitySloT>(value);
79 template <
typename AvailabilitySloT = AvailabilitySlo>
93 m_multiAzDisasterRecoveryApproachHasBeenSet =
true;
94 m_multiAzDisasterRecoveryApproach = value;
107 return m_multiRegionDisasterRecoveryApproach;
111 m_multiRegionDisasterRecoveryApproachHasBeenSet =
true;
112 m_multiRegionDisasterRecoveryApproach = value;
124 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 m_tagsHasBeenSet =
true;
127 m_tags = std::forward<TagsT>(value);
129 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 SetTags(std::forward<TagsT>(value));
134 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
136 m_tagsHasBeenSet =
true;
137 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
146 template <
typename ClientTokenT = Aws::String>
148 m_clientTokenHasBeenSet =
true;
149 m_clientToken = std::forward<ClientTokenT>(value);
151 template <
typename ClientTokenT = Aws::String>
171 bool m_v1PolicyArnHasBeenSet =
false;
172 bool m_kmsKeyIdHasBeenSet =
false;
173 bool m_availabilitySloHasBeenSet =
false;
174 bool m_multiAzDisasterRecoveryApproachHasBeenSet =
false;
175 bool m_multiRegionDisasterRecoveryApproachHasBeenSet =
false;
176 bool m_tagsHasBeenSet =
false;
177 bool m_clientTokenHasBeenSet =
true;
static Aws::Utils::UUID PseudoRandomUUID()
bool KmsKeyIdHasBeenSet() const
AWS_RESILIENCEHUBV2_API ImportPolicyRequest()=default
void SetMultiAzDisasterRecoveryApproach(MultiAzDisasterRecoveryApproach value)
ImportPolicyRequest & WithKmsKeyId(KmsKeyIdT &&value)
AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override
bool ClientTokenHasBeenSet() const
ImportPolicyRequest & WithMultiAzDisasterRecoveryApproach(MultiAzDisasterRecoveryApproach value)
void SetTags(TagsT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
void SetMultiRegionDisasterRecoveryApproach(MultiRegionDisasterRecoveryApproach value)
MultiRegionDisasterRecoveryApproach GetMultiRegionDisasterRecoveryApproach() const
ImportPolicyRequest & WithClientToken(ClientTokenT &&value)
const AvailabilitySlo & GetAvailabilitySlo() const
ImportPolicyRequest & WithV1PolicyArn(V1PolicyArnT &&value)
ImportPolicyRequest & WithTags(TagsT &&value)
ImportPolicyRequest & WithMultiRegionDisasterRecoveryApproach(MultiRegionDisasterRecoveryApproach value)
const Aws::String & GetClientToken() const
bool MultiAzDisasterRecoveryApproachHasBeenSet() const
bool MultiRegionDisasterRecoveryApproachHasBeenSet() const
void SetV1PolicyArn(V1PolicyArnT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetKmsKeyId() const
bool TagsHasBeenSet() const
ImportPolicyRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool AvailabilitySloHasBeenSet() const
MultiAzDisasterRecoveryApproach GetMultiAzDisasterRecoveryApproach() const
void SetClientToken(ClientTokenT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool V1PolicyArnHasBeenSet() const
ImportPolicyRequest & WithAvailabilitySlo(AvailabilitySloT &&value)
void SetAvailabilitySlo(AvailabilitySloT &&value)
const Aws::String & GetV1PolicyArn() const
MultiRegionDisasterRecoveryApproach
MultiAzDisasterRecoveryApproach
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