7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/ResilienceHubRequest.h>
9#include <aws/resiliencehub/model/DataLocationConstraint.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/resiliencehub/model/ResiliencyPolicyTier.h>
13#include <aws/resiliencehub/model/DisruptionType.h>
14#include <aws/resiliencehub/model/FailurePolicy.h>
19namespace ResilienceHub
84 inline void SetPolicyArn(
const char* value) { m_policyArnHasBeenSet =
true; m_policyArn.assign(value); }
98 inline void SetPolicyDescription(
const char* value) { m_policyDescriptionHasBeenSet =
true; m_policyDescription.assign(value); }
112 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
133 bool m_dataLocationConstraintHasBeenSet =
false;
136 bool m_policyHasBeenSet =
false;
139 bool m_policyArnHasBeenSet =
false;
142 bool m_policyDescriptionHasBeenSet =
false;
145 bool m_policyNameHasBeenSet =
false;
148 bool m_tierHasBeenSet =
false;
bool PolicyArnHasBeenSet() const
bool PolicyDescriptionHasBeenSet() const
UpdateResiliencyPolicyRequest & WithPolicyName(Aws::String &&value)
void SetDataLocationConstraint(const DataLocationConstraint &value)
UpdateResiliencyPolicyRequest & WithDataLocationConstraint(const DataLocationConstraint &value)
UpdateResiliencyPolicyRequest & WithPolicyDescription(const char *value)
bool DataLocationConstraintHasBeenSet() const
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
UpdateResiliencyPolicyRequest & WithDataLocationConstraint(DataLocationConstraint &&value)
UpdateResiliencyPolicyRequest & WithPolicyName(const Aws::String &value)
bool PolicyHasBeenSet() const
void SetPolicyDescription(const Aws::String &value)
void SetPolicyName(const char *value)
bool TierHasBeenSet() const
void SetPolicyArn(Aws::String &&value)
UpdateResiliencyPolicyRequest & AddPolicy(const DisruptionType &key, const FailurePolicy &value)
const ResiliencyPolicyTier & GetTier() const
void SetPolicyArn(const char *value)
void SetPolicy(const Aws::Map< DisruptionType, FailurePolicy > &value)
void SetPolicy(Aws::Map< DisruptionType, FailurePolicy > &&value)
void SetTier(const ResiliencyPolicyTier &value)
const Aws::String & GetPolicyName() const
const Aws::String & GetPolicyDescription() const
UpdateResiliencyPolicyRequest & WithPolicyArn(Aws::String &&value)
void SetPolicyName(const Aws::String &value)
UpdateResiliencyPolicyRequest & AddPolicy(DisruptionType &&key, const FailurePolicy &value)
UpdateResiliencyPolicyRequest & AddPolicy(DisruptionType &&key, FailurePolicy &&value)
void SetPolicyArn(const Aws::String &value)
UpdateResiliencyPolicyRequest & WithPolicyArn(const Aws::String &value)
UpdateResiliencyPolicyRequest & WithPolicyArn(const char *value)
UpdateResiliencyPolicyRequest & AddPolicy(const DisruptionType &key, FailurePolicy &&value)
UpdateResiliencyPolicyRequest & WithTier(ResiliencyPolicyTier &&value)
UpdateResiliencyPolicyRequest & WithTier(const ResiliencyPolicyTier &value)
UpdateResiliencyPolicyRequest & WithPolicy(const Aws::Map< DisruptionType, FailurePolicy > &value)
UpdateResiliencyPolicyRequest & WithPolicyDescription(Aws::String &&value)
void SetTier(ResiliencyPolicyTier &&value)
const DataLocationConstraint & GetDataLocationConstraint() const
const Aws::String & GetPolicyArn() const
const Aws::Map< DisruptionType, FailurePolicy > & GetPolicy() const
void SetPolicyDescription(const char *value)
UpdateResiliencyPolicyRequest & WithPolicyName(const char *value)
void SetDataLocationConstraint(DataLocationConstraint &&value)
UpdateResiliencyPolicyRequest & WithPolicy(Aws::Map< DisruptionType, FailurePolicy > &&value)
void SetPolicyDescription(Aws::String &&value)
UpdateResiliencyPolicyRequest & WithPolicyDescription(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetPolicyName(Aws::String &&value)
bool PolicyNameHasBeenSet() const
AWS_RESILIENCEHUB_API UpdateResiliencyPolicyRequest()
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