AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ComputeConfigResponse.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 EKS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_EKS_API ComputeConfigResponse() = default;
40
41
43
48 inline bool GetEnabled() const { return m_enabled; }
49 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
50 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
51 inline ComputeConfigResponse& WithEnabled(bool value) { SetEnabled(value); return *this;}
53
55
60 inline const Aws::Vector<Aws::String>& GetNodePools() const { return m_nodePools; }
61 inline bool NodePoolsHasBeenSet() const { return m_nodePoolsHasBeenSet; }
62 template<typename NodePoolsT = Aws::Vector<Aws::String>>
63 void SetNodePools(NodePoolsT&& value) { m_nodePoolsHasBeenSet = true; m_nodePools = std::forward<NodePoolsT>(value); }
64 template<typename NodePoolsT = Aws::Vector<Aws::String>>
65 ComputeConfigResponse& WithNodePools(NodePoolsT&& value) { SetNodePools(std::forward<NodePoolsT>(value)); return *this;}
66 template<typename NodePoolsT = Aws::String>
67 ComputeConfigResponse& AddNodePools(NodePoolsT&& value) { m_nodePoolsHasBeenSet = true; m_nodePools.emplace_back(std::forward<NodePoolsT>(value)); return *this; }
69
71
75 inline const Aws::String& GetNodeRoleArn() const { return m_nodeRoleArn; }
76 inline bool NodeRoleArnHasBeenSet() const { return m_nodeRoleArnHasBeenSet; }
77 template<typename NodeRoleArnT = Aws::String>
78 void SetNodeRoleArn(NodeRoleArnT&& value) { m_nodeRoleArnHasBeenSet = true; m_nodeRoleArn = std::forward<NodeRoleArnT>(value); }
79 template<typename NodeRoleArnT = Aws::String>
80 ComputeConfigResponse& WithNodeRoleArn(NodeRoleArnT&& value) { SetNodeRoleArn(std::forward<NodeRoleArnT>(value)); return *this;}
82 private:
83
84 bool m_enabled{false};
85 bool m_enabledHasBeenSet = false;
86
87 Aws::Vector<Aws::String> m_nodePools;
88 bool m_nodePoolsHasBeenSet = false;
89
90 Aws::String m_nodeRoleArn;
91 bool m_nodeRoleArnHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace EKS
96} // namespace Aws
const Aws::Vector< Aws::String > & GetNodePools() const
AWS_EKS_API ComputeConfigResponse(Aws::Utils::Json::JsonView jsonValue)
ComputeConfigResponse & WithEnabled(bool value)
ComputeConfigResponse & AddNodePools(NodePoolsT &&value)
AWS_EKS_API ComputeConfigResponse()=default
ComputeConfigResponse & WithNodeRoleArn(NodeRoleArnT &&value)
ComputeConfigResponse & WithNodePools(NodePoolsT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EKS_API ComputeConfigResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue