AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RemotePodNetwork.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
44 {
45 public:
46 AWS_EKS_API RemotePodNetwork() = default;
50
51
53
67 inline const Aws::Vector<Aws::String>& GetCidrs() const { return m_cidrs; }
68 inline bool CidrsHasBeenSet() const { return m_cidrsHasBeenSet; }
69 template<typename CidrsT = Aws::Vector<Aws::String>>
70 void SetCidrs(CidrsT&& value) { m_cidrsHasBeenSet = true; m_cidrs = std::forward<CidrsT>(value); }
71 template<typename CidrsT = Aws::Vector<Aws::String>>
72 RemotePodNetwork& WithCidrs(CidrsT&& value) { SetCidrs(std::forward<CidrsT>(value)); return *this;}
73 template<typename CidrsT = Aws::String>
74 RemotePodNetwork& AddCidrs(CidrsT&& value) { m_cidrsHasBeenSet = true; m_cidrs.emplace_back(std::forward<CidrsT>(value)); return *this; }
76 private:
77
79 bool m_cidrsHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace EKS
84} // namespace Aws
AWS_EKS_API RemotePodNetwork()=default
RemotePodNetwork & AddCidrs(CidrsT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EKS_API RemotePodNetwork(Aws::Utils::Json::JsonView jsonValue)
RemotePodNetwork & WithCidrs(CidrsT &&value)
const Aws::Vector< Aws::String > & GetCidrs() const
AWS_EKS_API RemotePodNetwork & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue