AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
NetworkAccessConfiguration.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/grafana/ManagedGrafana_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ManagedGrafana {
21namespace Model {
22
41 public:
42 AWS_MANAGEDGRAFANA_API NetworkAccessConfiguration() = default;
43 AWS_MANAGEDGRAFANA_API NetworkAccessConfiguration(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const;
46
48
60 inline const Aws::Vector<Aws::String>& GetPrefixListIds() const { return m_prefixListIds; }
61 inline bool PrefixListIdsHasBeenSet() const { return m_prefixListIdsHasBeenSet; }
62 template <typename PrefixListIdsT = Aws::Vector<Aws::String>>
63 void SetPrefixListIds(PrefixListIdsT&& value) {
64 m_prefixListIdsHasBeenSet = true;
65 m_prefixListIds = std::forward<PrefixListIdsT>(value);
66 }
67 template <typename PrefixListIdsT = Aws::Vector<Aws::String>>
69 SetPrefixListIds(std::forward<PrefixListIdsT>(value));
70 return *this;
71 }
72 template <typename PrefixListIdsT = Aws::String>
74 m_prefixListIdsHasBeenSet = true;
75 m_prefixListIds.emplace_back(std::forward<PrefixListIdsT>(value));
76 return *this;
77 }
79
81
96 inline const Aws::Vector<Aws::String>& GetVpceIds() const { return m_vpceIds; }
97 inline bool VpceIdsHasBeenSet() const { return m_vpceIdsHasBeenSet; }
98 template <typename VpceIdsT = Aws::Vector<Aws::String>>
99 void SetVpceIds(VpceIdsT&& value) {
100 m_vpceIdsHasBeenSet = true;
101 m_vpceIds = std::forward<VpceIdsT>(value);
102 }
103 template <typename VpceIdsT = Aws::Vector<Aws::String>>
105 SetVpceIds(std::forward<VpceIdsT>(value));
106 return *this;
107 }
108 template <typename VpceIdsT = Aws::String>
110 m_vpceIdsHasBeenSet = true;
111 m_vpceIds.emplace_back(std::forward<VpceIdsT>(value));
112 return *this;
113 }
115 private:
116 Aws::Vector<Aws::String> m_prefixListIds;
117 bool m_prefixListIdsHasBeenSet = false;
118
119 Aws::Vector<Aws::String> m_vpceIds;
120 bool m_vpceIdsHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace ManagedGrafana
125} // namespace Aws
AWS_MANAGEDGRAFANA_API NetworkAccessConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkAccessConfiguration & AddVpceIds(VpceIdsT &&value)
const Aws::Vector< Aws::String > & GetPrefixListIds() const
NetworkAccessConfiguration & AddPrefixListIds(PrefixListIdsT &&value)
AWS_MANAGEDGRAFANA_API NetworkAccessConfiguration()=default
NetworkAccessConfiguration & WithPrefixListIds(PrefixListIdsT &&value)
AWS_MANAGEDGRAFANA_API NetworkAccessConfiguration(Aws::Utils::Json::JsonView jsonValue)
NetworkAccessConfiguration & WithVpceIds(VpceIdsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue