AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
NetworkAccessConfiguration.h
1
6#pragma once
7#include <aws/grafana/ManagedGrafana_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 ManagedGrafana
23{
24namespace Model
25{
26
45 {
46 public:
47 AWS_MANAGEDGRAFANA_API NetworkAccessConfiguration() = default;
48 AWS_MANAGEDGRAFANA_API NetworkAccessConfiguration(Aws::Utils::Json::JsonView jsonValue);
50 AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
66 inline const Aws::Vector<Aws::String>& GetPrefixListIds() const { return m_prefixListIds; }
67 inline bool PrefixListIdsHasBeenSet() const { return m_prefixListIdsHasBeenSet; }
68 template<typename PrefixListIdsT = Aws::Vector<Aws::String>>
69 void SetPrefixListIds(PrefixListIdsT&& value) { m_prefixListIdsHasBeenSet = true; m_prefixListIds = std::forward<PrefixListIdsT>(value); }
70 template<typename PrefixListIdsT = Aws::Vector<Aws::String>>
71 NetworkAccessConfiguration& WithPrefixListIds(PrefixListIdsT&& value) { SetPrefixListIds(std::forward<PrefixListIdsT>(value)); return *this;}
72 template<typename PrefixListIdsT = Aws::String>
73 NetworkAccessConfiguration& AddPrefixListIds(PrefixListIdsT&& value) { m_prefixListIdsHasBeenSet = true; m_prefixListIds.emplace_back(std::forward<PrefixListIdsT>(value)); return *this; }
75
77
92 inline const Aws::Vector<Aws::String>& GetVpceIds() const { return m_vpceIds; }
93 inline bool VpceIdsHasBeenSet() const { return m_vpceIdsHasBeenSet; }
94 template<typename VpceIdsT = Aws::Vector<Aws::String>>
95 void SetVpceIds(VpceIdsT&& value) { m_vpceIdsHasBeenSet = true; m_vpceIds = std::forward<VpceIdsT>(value); }
96 template<typename VpceIdsT = Aws::Vector<Aws::String>>
97 NetworkAccessConfiguration& WithVpceIds(VpceIdsT&& value) { SetVpceIds(std::forward<VpceIdsT>(value)); return *this;}
98 template<typename VpceIdsT = Aws::String>
99 NetworkAccessConfiguration& AddVpceIds(VpceIdsT&& value) { m_vpceIdsHasBeenSet = true; m_vpceIds.emplace_back(std::forward<VpceIdsT>(value)); return *this; }
101 private:
102
103 Aws::Vector<Aws::String> m_prefixListIds;
104 bool m_prefixListIdsHasBeenSet = false;
105
106 Aws::Vector<Aws::String> m_vpceIds;
107 bool m_vpceIdsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ManagedGrafana
112} // 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