AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
51 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
52 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
53 inline ClusterEndpoint& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
54 inline ClusterEndpoint& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
55 inline ClusterEndpoint& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
57
59
62 inline const Aws::String& GetRegion() const{ return m_region; }
63 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
64 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
65 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
66 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
67 inline ClusterEndpoint& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
68 inline ClusterEndpoint& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
69 inline ClusterEndpoint& WithRegion(const char* value) { SetRegion(value); return *this;}
71 private:
72
73 Aws::String m_endpoint;
74 bool m_endpointHasBeenSet = false;
75
76 Aws::String m_region;
77 bool m_regionHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Route53RecoveryControlConfig
82} // namespace Aws
ClusterEndpoint & WithEndpoint(const Aws::String &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API ClusterEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterEndpoint & WithEndpoint(Aws::String &&value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterEndpoint & WithRegion(Aws::String &&value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API ClusterEndpoint(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API ClusterEndpoint()
ClusterEndpoint & WithRegion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue