7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/route53-recovery-cluster/Route53RecoveryClusterRequest.h>
10#include <aws/route53-recovery-cluster/Route53RecoveryCluster_EXPORTS.h>
11#include <aws/route53-recovery-cluster/model/RoutingControlState.h>
16namespace Route53RecoveryCluster {
42 template <
typename RoutingControlArnT = Aws::String>
44 m_routingControlArnHasBeenSet =
true;
45 m_routingControlArn = std::forward<RoutingControlArnT>(value);
47 template <
typename RoutingControlArnT = Aws::String>
61 m_routingControlStateHasBeenSet =
true;
62 m_routingControlState = value;
82 template <
typename SafetyRulesToOverr
ideT = Aws::Vector<Aws::String>>
84 m_safetyRulesToOverrideHasBeenSet =
true;
85 m_safetyRulesToOverride = std::forward<SafetyRulesToOverrideT>(value);
87 template <
typename SafetyRulesToOverr
ideT = Aws::Vector<Aws::String>>
92 template <
typename SafetyRulesToOverr
ideT = Aws::String>
94 m_safetyRulesToOverrideHasBeenSet =
true;
95 m_safetyRulesToOverride.emplace_back(std::forward<SafetyRulesToOverrideT>(value));
105 bool m_routingControlArnHasBeenSet =
false;
106 bool m_routingControlStateHasBeenSet =
false;
107 bool m_safetyRulesToOverrideHasBeenSet =
false;
UpdateRoutingControlStateRequest & WithSafetyRulesToOverride(SafetyRulesToOverrideT &&value)
AWS_ROUTE53RECOVERYCLUSTER_API Aws::String SerializePayload() const override
void SetSafetyRulesToOverride(SafetyRulesToOverrideT &&value)
const Aws::Vector< Aws::String > & GetSafetyRulesToOverride() const
void SetRoutingControlArn(RoutingControlArnT &&value)
void SetRoutingControlState(RoutingControlState value)
UpdateRoutingControlStateRequest & AddSafetyRulesToOverride(SafetyRulesToOverrideT &&value)
UpdateRoutingControlStateRequest & WithRoutingControlArn(RoutingControlArnT &&value)
UpdateRoutingControlStateRequest & WithRoutingControlState(RoutingControlState value)
const Aws::String & GetRoutingControlArn() const
bool SafetyRulesToOverrideHasBeenSet() const
bool RoutingControlArnHasBeenSet() const
AWS_ROUTE53RECOVERYCLUSTER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateRequest()=default
virtual const char * GetServiceRequestName() const override
bool RoutingControlStateHasBeenSet() const
RoutingControlState GetRoutingControlState() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector