7#include <aws/route53-recovery-control-config/Route53RecoveryControlConfig_EXPORTS.h>
8#include <aws/route53-recovery-control-config/Route53RecoveryControlConfigRequest.h>
9#include <aws/route53-recovery-control-config/model/NewAssertionRule.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/route53-recovery-control-config/model/NewGatingRule.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
18namespace Route53RecoveryControlConfig
49 template<
typename AssertionRuleT = NewAssertionRule>
50 void SetAssertionRule(AssertionRuleT&& value) { m_assertionRuleHasBeenSet =
true; m_assertionRule = std::forward<AssertionRuleT>(value); }
51 template<
typename AssertionRuleT = NewAssertionRule>
63 template<
typename ClientTokenT = Aws::String>
64 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
65 template<
typename ClientTokenT = Aws::String>
75 template<
typename GatingRuleT = NewGatingRule>
76 void SetGatingRule(GatingRuleT&& value) { m_gatingRuleHasBeenSet =
true; m_gatingRule = std::forward<GatingRuleT>(value); }
77 template<
typename GatingRuleT = NewGatingRule>
87 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
88 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
89 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
91 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
93 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
99 bool m_assertionRuleHasBeenSet =
false;
102 bool m_clientTokenHasBeenSet =
true;
104 NewGatingRule m_gatingRule;
105 bool m_gatingRuleHasBeenSet =
false;
108 bool m_tagsHasBeenSet =
false;
void SetTags(TagsT &&value)
void SetAssertionRule(AssertionRuleT &&value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override
const Aws::String & GetClientToken() const
bool TagsHasBeenSet() const
CreateSafetyRuleRequest & WithAssertionRule(AssertionRuleT &&value)
CreateSafetyRuleRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetClientToken(ClientTokenT &&value)
const NewAssertionRule & GetAssertionRule() const
CreateSafetyRuleRequest & WithGatingRule(GatingRuleT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ClientTokenHasBeenSet() const
void SetGatingRule(GatingRuleT &&value)
bool AssertionRuleHasBeenSet() const
bool GatingRuleHasBeenSet() const
CreateSafetyRuleRequest & WithClientToken(ClientTokenT &&value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API CreateSafetyRuleRequest()=default
CreateSafetyRuleRequest & WithTags(TagsT &&value)
const NewGatingRule & GetGatingRule() const
static Aws::Utils::UUID PseudoRandomUUID()
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