AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
UpdateRoutingControlStateEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53-recovery-cluster/Route53RecoveryCluster_EXPORTS.h>
9#include <aws/route53-recovery-cluster/model/RoutingControlState.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Route53RecoveryCluster {
21namespace Model {
22
29 public:
30 AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateEntry() = default;
31 AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateEntry(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ROUTE53RECOVERYCLUSTER_API UpdateRoutingControlStateEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ROUTE53RECOVERYCLUSTER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetRoutingControlArn() const { return m_routingControlArn; }
40 inline bool RoutingControlArnHasBeenSet() const { return m_routingControlArnHasBeenSet; }
41 template <typename RoutingControlArnT = Aws::String>
42 void SetRoutingControlArn(RoutingControlArnT&& value) {
43 m_routingControlArnHasBeenSet = true;
44 m_routingControlArn = std::forward<RoutingControlArnT>(value);
45 }
46 template <typename RoutingControlArnT = Aws::String>
48 SetRoutingControlArn(std::forward<RoutingControlArnT>(value));
49 return *this;
50 }
52
54
57 inline RoutingControlState GetRoutingControlState() const { return m_routingControlState; }
58 inline bool RoutingControlStateHasBeenSet() const { return m_routingControlStateHasBeenSet; }
60 m_routingControlStateHasBeenSet = true;
61 m_routingControlState = value;
62 }
65 return *this;
66 }
68 private:
69 Aws::String m_routingControlArn;
70
72 bool m_routingControlArnHasBeenSet = false;
73 bool m_routingControlStateHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Route53RecoveryCluster
78} // 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