AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RemoteNodeNetwork.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
51 {
52 public:
53 AWS_EKS_API RemoteNodeNetwork() = default;
57
58
60
81 inline const Aws::Vector<Aws::String>& GetCidrs() const { return m_cidrs; }
82 inline bool CidrsHasBeenSet() const { return m_cidrsHasBeenSet; }
83 template<typename CidrsT = Aws::Vector<Aws::String>>
84 void SetCidrs(CidrsT&& value) { m_cidrsHasBeenSet = true; m_cidrs = std::forward<CidrsT>(value); }
85 template<typename CidrsT = Aws::Vector<Aws::String>>
86 RemoteNodeNetwork& WithCidrs(CidrsT&& value) { SetCidrs(std::forward<CidrsT>(value)); return *this;}
87 template<typename CidrsT = Aws::String>
88 RemoteNodeNetwork& AddCidrs(CidrsT&& value) { m_cidrsHasBeenSet = true; m_cidrs.emplace_back(std::forward<CidrsT>(value)); return *this; }
90 private:
91
93 bool m_cidrsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace EKS
98} // 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