AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
EksEndpointsConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace RTBFabric {
20namespace Model {
21
29 public:
30 AWS_RTBFABRIC_API EksEndpointsConfiguration() = default;
33 AWS_RTBFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetEndpointsResourceName() const { return m_endpointsResourceName; }
40 inline bool EndpointsResourceNameHasBeenSet() const { return m_endpointsResourceNameHasBeenSet; }
41 template <typename EndpointsResourceNameT = Aws::String>
42 void SetEndpointsResourceName(EndpointsResourceNameT&& value) {
43 m_endpointsResourceNameHasBeenSet = true;
44 m_endpointsResourceName = std::forward<EndpointsResourceNameT>(value);
45 }
46 template <typename EndpointsResourceNameT = Aws::String>
47 EksEndpointsConfiguration& WithEndpointsResourceName(EndpointsResourceNameT&& value) {
48 SetEndpointsResourceName(std::forward<EndpointsResourceNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetEndpointsResourceNamespace() const { return m_endpointsResourceNamespace; }
58 inline bool EndpointsResourceNamespaceHasBeenSet() const { return m_endpointsResourceNamespaceHasBeenSet; }
59 template <typename EndpointsResourceNamespaceT = Aws::String>
60 void SetEndpointsResourceNamespace(EndpointsResourceNamespaceT&& value) {
61 m_endpointsResourceNamespaceHasBeenSet = true;
62 m_endpointsResourceNamespace = std::forward<EndpointsResourceNamespaceT>(value);
63 }
64 template <typename EndpointsResourceNamespaceT = Aws::String>
65 EksEndpointsConfiguration& WithEndpointsResourceNamespace(EndpointsResourceNamespaceT&& value) {
66 SetEndpointsResourceNamespace(std::forward<EndpointsResourceNamespaceT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetClusterApiServerEndpointUri() const { return m_clusterApiServerEndpointUri; }
76 inline bool ClusterApiServerEndpointUriHasBeenSet() const { return m_clusterApiServerEndpointUriHasBeenSet; }
77 template <typename ClusterApiServerEndpointUriT = Aws::String>
78 void SetClusterApiServerEndpointUri(ClusterApiServerEndpointUriT&& value) {
79 m_clusterApiServerEndpointUriHasBeenSet = true;
80 m_clusterApiServerEndpointUri = std::forward<ClusterApiServerEndpointUriT>(value);
81 }
82 template <typename ClusterApiServerEndpointUriT = Aws::String>
83 EksEndpointsConfiguration& WithClusterApiServerEndpointUri(ClusterApiServerEndpointUriT&& value) {
84 SetClusterApiServerEndpointUri(std::forward<ClusterApiServerEndpointUriT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetClusterApiServerCaCertificateChain() const { return m_clusterApiServerCaCertificateChain; }
94 inline bool ClusterApiServerCaCertificateChainHasBeenSet() const { return m_clusterApiServerCaCertificateChainHasBeenSet; }
95 template <typename ClusterApiServerCaCertificateChainT = Aws::String>
96 void SetClusterApiServerCaCertificateChain(ClusterApiServerCaCertificateChainT&& value) {
97 m_clusterApiServerCaCertificateChainHasBeenSet = true;
98 m_clusterApiServerCaCertificateChain = std::forward<ClusterApiServerCaCertificateChainT>(value);
99 }
100 template <typename ClusterApiServerCaCertificateChainT = Aws::String>
101 EksEndpointsConfiguration& WithClusterApiServerCaCertificateChain(ClusterApiServerCaCertificateChainT&& value) {
102 SetClusterApiServerCaCertificateChain(std::forward<ClusterApiServerCaCertificateChainT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetClusterName() const { return m_clusterName; }
112 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
113 template <typename ClusterNameT = Aws::String>
114 void SetClusterName(ClusterNameT&& value) {
115 m_clusterNameHasBeenSet = true;
116 m_clusterName = std::forward<ClusterNameT>(value);
117 }
118 template <typename ClusterNameT = Aws::String>
120 SetClusterName(std::forward<ClusterNameT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
130 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
131 template <typename RoleArnT = Aws::String>
132 void SetRoleArn(RoleArnT&& value) {
133 m_roleArnHasBeenSet = true;
134 m_roleArn = std::forward<RoleArnT>(value);
135 }
136 template <typename RoleArnT = Aws::String>
138 SetRoleArn(std::forward<RoleArnT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_endpointsResourceName;
144
145 Aws::String m_endpointsResourceNamespace;
146
147 Aws::String m_clusterApiServerEndpointUri;
148
149 Aws::String m_clusterApiServerCaCertificateChain;
150
151 Aws::String m_clusterName;
152
153 Aws::String m_roleArn;
154 bool m_endpointsResourceNameHasBeenSet = false;
155 bool m_endpointsResourceNamespaceHasBeenSet = false;
156 bool m_clusterApiServerEndpointUriHasBeenSet = false;
157 bool m_clusterApiServerCaCertificateChainHasBeenSet = false;
158 bool m_clusterNameHasBeenSet = false;
159 bool m_roleArnHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace RTBFabric
164} // namespace Aws
void SetEndpointsResourceName(EndpointsResourceNameT &&value)
AWS_RTBFABRIC_API EksEndpointsConfiguration(Aws::Utils::Json::JsonView jsonValue)
EksEndpointsConfiguration & WithRoleArn(RoleArnT &&value)
EksEndpointsConfiguration & WithClusterName(ClusterNameT &&value)
void SetEndpointsResourceNamespace(EndpointsResourceNamespaceT &&value)
AWS_RTBFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
EksEndpointsConfiguration & WithEndpointsResourceName(EndpointsResourceNameT &&value)
void SetClusterApiServerCaCertificateChain(ClusterApiServerCaCertificateChainT &&value)
AWS_RTBFABRIC_API EksEndpointsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EksEndpointsConfiguration & WithEndpointsResourceNamespace(EndpointsResourceNamespaceT &&value)
EksEndpointsConfiguration & WithClusterApiServerEndpointUri(ClusterApiServerEndpointUriT &&value)
AWS_RTBFABRIC_API EksEndpointsConfiguration()=default
EksEndpointsConfiguration & WithClusterApiServerCaCertificateChain(ClusterApiServerCaCertificateChainT &&value)
void SetClusterApiServerEndpointUri(ClusterApiServerEndpointUriT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue