AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ClusterEndpoint.h
1
6#pragma once
7#include <aws/route53-recovery-control-config/Route53RecoveryControlConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Route53RecoveryControlConfig
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ROUTE53RECOVERYCONTROLCONFIG_API ClusterEndpoint() = default;
36 AWS_ROUTE53RECOVERYCONTROLCONFIG_API ClusterEndpoint(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ROUTE53RECOVERYCONTROLCONFIG_API ClusterEndpoint& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
49 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
50 template<typename EndpointT = Aws::String>
51 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
52 template<typename EndpointT = Aws::String>
53 ClusterEndpoint& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
55
57
60 inline const Aws::String& GetRegion() const { return m_region; }
61 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
62 template<typename RegionT = Aws::String>
63 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
64 template<typename RegionT = Aws::String>
65 ClusterEndpoint& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
67 private:
68
69 Aws::String m_endpoint;
70 bool m_endpointHasBeenSet = false;
71
72 Aws::String m_region;
73 bool m_regionHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Route53RecoveryControlConfig
78} // namespace Aws
AWS_ROUTE53RECOVERYCONTROLCONFIG_API ClusterEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ROUTE53RECOVERYCONTROLCONFIG_API ClusterEndpoint(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API ClusterEndpoint()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue