AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
RemotePodNetwork.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
40 public:
41 AWS_EKS_API RemotePodNetwork() = default;
45
47
61 inline const Aws::Vector<Aws::String>& GetCidrs() const { return m_cidrs; }
62 inline bool CidrsHasBeenSet() const { return m_cidrsHasBeenSet; }
63 template <typename CidrsT = Aws::Vector<Aws::String>>
64 void SetCidrs(CidrsT&& value) {
65 m_cidrsHasBeenSet = true;
66 m_cidrs = std::forward<CidrsT>(value);
67 }
68 template <typename CidrsT = Aws::Vector<Aws::String>>
69 RemotePodNetwork& WithCidrs(CidrsT&& value) {
70 SetCidrs(std::forward<CidrsT>(value));
71 return *this;
72 }
73 template <typename CidrsT = Aws::String>
74 RemotePodNetwork& AddCidrs(CidrsT&& value) {
75 m_cidrsHasBeenSet = true;
76 m_cidrs.emplace_back(std::forward<CidrsT>(value));
77 return *this;
78 }
80 private:
82 bool m_cidrsHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace EKS
87} // 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