AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
RemoteNodeNetwork.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/eks/EKS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EKS {
21namespace Model {
22
47 public:
48 AWS_EKS_API RemoteNodeNetwork() = default;
52
54
75 inline const Aws::Vector<Aws::String>& GetCidrs() const { return m_cidrs; }
76 inline bool CidrsHasBeenSet() const { return m_cidrsHasBeenSet; }
77 template <typename CidrsT = Aws::Vector<Aws::String>>
78 void SetCidrs(CidrsT&& value) {
79 m_cidrsHasBeenSet = true;
80 m_cidrs = std::forward<CidrsT>(value);
81 }
82 template <typename CidrsT = Aws::Vector<Aws::String>>
83 RemoteNodeNetwork& WithCidrs(CidrsT&& value) {
84 SetCidrs(std::forward<CidrsT>(value));
85 return *this;
86 }
87 template <typename CidrsT = Aws::String>
88 RemoteNodeNetwork& AddCidrs(CidrsT&& value) {
89 m_cidrsHasBeenSet = true;
90 m_cidrs.emplace_back(std::forward<CidrsT>(value));
91 return *this;
92 }
94 private:
96 bool m_cidrsHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace EKS
101} // namespace Aws
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EKS_API RemoteNodeNetwork(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetCidrs() const
RemoteNodeNetwork & WithCidrs(CidrsT &&value)
RemoteNodeNetwork & AddCidrs(CidrsT &&value)
AWS_EKS_API RemoteNodeNetwork()=default
AWS_EKS_API RemoteNodeNetwork & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue