AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
EksConfiguration.h
1
6#pragma once
7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PrometheusService {
21namespace Model {
22
31 public:
32 AWS_PROMETHEUSSERVICE_API EksConfiguration() = default;
33 AWS_PROMETHEUSSERVICE_API EksConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PROMETHEUSSERVICE_API EksConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
42 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
43 template <typename ClusterArnT = Aws::String>
44 void SetClusterArn(ClusterArnT&& value) {
45 m_clusterArnHasBeenSet = true;
46 m_clusterArn = std::forward<ClusterArnT>(value);
47 }
48 template <typename ClusterArnT = Aws::String>
49 EksConfiguration& WithClusterArn(ClusterArnT&& value) {
50 SetClusterArn(std::forward<ClusterArnT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
61 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
62 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
63 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
64 m_securityGroupIdsHasBeenSet = true;
65 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
66 }
67 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
68 EksConfiguration& WithSecurityGroupIds(SecurityGroupIdsT&& value) {
69 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
70 return *this;
71 }
72 template <typename SecurityGroupIdsT = Aws::String>
73 EksConfiguration& AddSecurityGroupIds(SecurityGroupIdsT&& value) {
74 m_securityGroupIdsHasBeenSet = true;
75 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
85 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
86 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
87 void SetSubnetIds(SubnetIdsT&& value) {
88 m_subnetIdsHasBeenSet = true;
89 m_subnetIds = std::forward<SubnetIdsT>(value);
90 }
91 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
92 EksConfiguration& WithSubnetIds(SubnetIdsT&& value) {
93 SetSubnetIds(std::forward<SubnetIdsT>(value));
94 return *this;
95 }
96 template <typename SubnetIdsT = Aws::String>
97 EksConfiguration& AddSubnetIds(SubnetIdsT&& value) {
98 m_subnetIdsHasBeenSet = true;
99 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_clusterArn;
105
106 Aws::Vector<Aws::String> m_securityGroupIds;
107
108 Aws::Vector<Aws::String> m_subnetIds;
109 bool m_clusterArnHasBeenSet = false;
110 bool m_securityGroupIdsHasBeenSet = false;
111 bool m_subnetIdsHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace PrometheusService
116} // namespace Aws
AWS_PROMETHEUSSERVICE_API EksConfiguration()=default
EksConfiguration & AddSubnetIds(SubnetIdsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
AWS_PROMETHEUSSERVICE_API EksConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
EksConfiguration & WithSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
EksConfiguration & AddSecurityGroupIds(SecurityGroupIdsT &&value)
EksConfiguration & WithSubnetIds(SubnetIdsT &&value)
EksConfiguration & WithClusterArn(ClusterArnT &&value)
AWS_PROMETHEUSSERVICE_API EksConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue