AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PrometheusService
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_PROMETHEUSSERVICE_API EksConfiguration() = default;
38 AWS_PROMETHEUSSERVICE_API EksConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PROMETHEUSSERVICE_API EksConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
48 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
49 template<typename ClusterArnT = Aws::String>
50 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
51 template<typename ClusterArnT = Aws::String>
52 EksConfiguration& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
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) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
64 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
65 EksConfiguration& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
66 template<typename SecurityGroupIdsT = Aws::String>
67 EksConfiguration& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
69
71
74 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
75 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
76 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
77 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
78 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
79 EksConfiguration& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
80 template<typename SubnetIdsT = Aws::String>
81 EksConfiguration& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
83 private:
84
85 Aws::String m_clusterArn;
86 bool m_clusterArnHasBeenSet = false;
87
88 Aws::Vector<Aws::String> m_securityGroupIds;
89 bool m_securityGroupIdsHasBeenSet = false;
90
91 Aws::Vector<Aws::String> m_subnetIds;
92 bool m_subnetIdsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace PrometheusService
97} // 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