AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
50 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
51 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
52 inline EksConfiguration& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
53 inline EksConfiguration& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
54 inline EksConfiguration& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
56
58
62 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
63 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
64 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
65 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
67 inline EksConfiguration& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
68 inline EksConfiguration& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
69 inline EksConfiguration& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
70 inline EksConfiguration& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
72
74
77 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
78 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
79 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
80 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
81 inline EksConfiguration& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
82 inline EksConfiguration& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
83 inline EksConfiguration& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
84 inline EksConfiguration& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
85 inline EksConfiguration& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
87 private:
88
89 Aws::String m_clusterArn;
90 bool m_clusterArnHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_securityGroupIds;
93 bool m_securityGroupIdsHasBeenSet = false;
94
95 Aws::Vector<Aws::String> m_subnetIds;
96 bool m_subnetIdsHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace PrometheusService
101} // namespace Aws
EksConfiguration & AddSecurityGroupIds(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
EksConfiguration & WithSubnetIds(const Aws::Vector< Aws::String > &value)
AWS_PROMETHEUSSERVICE_API EksConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EksConfiguration & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
EksConfiguration & AddSubnetIds(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
EksConfiguration & AddSecurityGroupIds(const char *value)
EksConfiguration & WithClusterArn(Aws::String &&value)
EksConfiguration & AddSubnetIds(const char *value)
EksConfiguration & WithSubnetIds(Aws::Vector< Aws::String > &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
EksConfiguration & AddSecurityGroupIds(Aws::String &&value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
EksConfiguration & WithClusterArn(const char *value)
AWS_PROMETHEUSSERVICE_API EksConfiguration(Aws::Utils::Json::JsonView jsonValue)
EksConfiguration & AddSubnetIds(const Aws::String &value)
EksConfiguration & WithClusterArn(const Aws::String &value)
EksConfiguration & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
AWS_PROMETHEUSSERVICE_API EksConfiguration()
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