AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRoutingControlArn(const Aws::String& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = value; }
48 inline void SetRoutingControlArn(Aws::String&& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = std::move(value); }
49 inline void SetRoutingControlArn(const char* value) { m_routingControlArnHasBeenSet = true; m_routingControlArn.assign(value); }
51 inline UpdateRoutingControlStateEntry& WithRoutingControlArn(Aws::String&& value) { SetRoutingControlArn(std::move(value)); return *this;}
52 inline UpdateRoutingControlStateEntry& WithRoutingControlArn(const char* value) { SetRoutingControlArn(value); return *this;}
54
56
59 inline const RoutingControlState& GetRoutingControlState() const{ return m_routingControlState; }
60 inline bool RoutingControlStateHasBeenSet() const { return m_routingControlStateHasBeenSet; }
61 inline void SetRoutingControlState(const RoutingControlState& value) { m_routingControlStateHasBeenSet = true; m_routingControlState = value; }
62 inline void SetRoutingControlState(RoutingControlState&& value) { m_routingControlStateHasBeenSet = true; m_routingControlState = std::move(value); }
66 private:
67
68 Aws::String m_routingControlArn;
69 bool m_routingControlArnHasBeenSet = false;
70
71 RoutingControlState m_routingControlState;
72 bool m_routingControlStateHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Route53RecoveryCluster
77} // namespace Aws
UpdateRoutingControlStateEntry & WithRoutingControlArn(const Aws::String &value)
UpdateRoutingControlStateEntry & WithRoutingControlState(RoutingControlState &&value)
UpdateRoutingControlStateEntry & WithRoutingControlState(const RoutingControlState &value)
bool RoutingControlArnHasBeenSet() const
const RoutingControlState & GetRoutingControlState() const
void SetRoutingControlState(RoutingControlState &&value)
void SetRoutingControlState(const RoutingControlState &value)
AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateEntry(Aws::Utils::Json::JsonView jsonValue)
UpdateRoutingControlStateEntry & WithRoutingControlArn(const char *value)
AWS_ROUTE53RECOVERYCLUSTER_API Aws::Utils::Json::JsonValue Jsonize() const
bool RoutingControlStateHasBeenSet() const
UpdateRoutingControlStateEntry & WithRoutingControlArn(Aws::String &&value)
void SetRoutingControlArn(const char *value)
AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateEntry()
AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoutingControlArn(const Aws::String &value)
const Aws::String & GetRoutingControlArn() const
void SetRoutingControlArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue