AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateRoutingControlStateEntry.h
1
6#pragma once
7#include <aws/route53-recovery-cluster/Route53RecoveryCluster_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53-recovery-cluster/model/RoutingControlState.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Route53RecoveryCluster
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateEntry() = default;
36 AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateEntry(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53RECOVERYCLUSTER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetRoutingControlArn() const { return m_routingControlArn; }
46 inline bool RoutingControlArnHasBeenSet() const { return m_routingControlArnHasBeenSet; }
47 template<typename RoutingControlArnT = Aws::String>
48 void SetRoutingControlArn(RoutingControlArnT&& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = std::forward<RoutingControlArnT>(value); }
49 template<typename RoutingControlArnT = Aws::String>
50 UpdateRoutingControlStateEntry& WithRoutingControlArn(RoutingControlArnT&& value) { SetRoutingControlArn(std::forward<RoutingControlArnT>(value)); return *this;}
52
54
57 inline RoutingControlState GetRoutingControlState() const { return m_routingControlState; }
58 inline bool RoutingControlStateHasBeenSet() const { return m_routingControlStateHasBeenSet; }
59 inline void SetRoutingControlState(RoutingControlState value) { m_routingControlStateHasBeenSet = true; m_routingControlState = value; }
62 private:
63
64 Aws::String m_routingControlArn;
65 bool m_routingControlArnHasBeenSet = false;
66
68 bool m_routingControlStateHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Route53RecoveryCluster
73} // namespace Aws
void SetRoutingControlArn(RoutingControlArnT &&value)
bool RoutingControlArnHasBeenSet() const
AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateEntry(Aws::Utils::Json::JsonView jsonValue)
UpdateRoutingControlStateEntry & WithRoutingControlState(RoutingControlState value)
UpdateRoutingControlStateEntry & WithRoutingControlArn(RoutingControlArnT &&value)
AWS_ROUTE53RECOVERYCLUSTER_API Aws::Utils::Json::JsonValue Jsonize() const
RoutingControlState GetRoutingControlState() const
bool RoutingControlStateHasBeenSet() const
AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoutingControlState(RoutingControlState value)
const Aws::String & GetRoutingControlArn() const
AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateEntry()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue