AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPrefixListIds(const Aws::Vector<Aws::String>& value) { m_prefixListIdsHasBeenSet = true; m_prefixListIds = value; }
69 inline void SetPrefixListIds(Aws::Vector<Aws::String>&& value) { m_prefixListIdsHasBeenSet = true; m_prefixListIds = std::move(value); }
72 inline NetworkAccessConfiguration& AddPrefixListIds(const Aws::String& value) { m_prefixListIdsHasBeenSet = true; m_prefixListIds.push_back(value); return *this; }
73 inline NetworkAccessConfiguration& AddPrefixListIds(Aws::String&& value) { m_prefixListIdsHasBeenSet = true; m_prefixListIds.push_back(std::move(value)); return *this; }
74 inline NetworkAccessConfiguration& AddPrefixListIds(const char* value) { m_prefixListIdsHasBeenSet = true; m_prefixListIds.push_back(value); return *this; }
76
78
93 inline const Aws::Vector<Aws::String>& GetVpceIds() const{ return m_vpceIds; }
94 inline bool VpceIdsHasBeenSet() const { return m_vpceIdsHasBeenSet; }
95 inline void SetVpceIds(const Aws::Vector<Aws::String>& value) { m_vpceIdsHasBeenSet = true; m_vpceIds = value; }
96 inline void SetVpceIds(Aws::Vector<Aws::String>&& value) { m_vpceIdsHasBeenSet = true; m_vpceIds = std::move(value); }
97 inline NetworkAccessConfiguration& WithVpceIds(const Aws::Vector<Aws::String>& value) { SetVpceIds(value); return *this;}
98 inline NetworkAccessConfiguration& WithVpceIds(Aws::Vector<Aws::String>&& value) { SetVpceIds(std::move(value)); return *this;}
99 inline NetworkAccessConfiguration& AddVpceIds(const Aws::String& value) { m_vpceIdsHasBeenSet = true; m_vpceIds.push_back(value); return *this; }
100 inline NetworkAccessConfiguration& AddVpceIds(Aws::String&& value) { m_vpceIdsHasBeenSet = true; m_vpceIds.push_back(std::move(value)); return *this; }
101 inline NetworkAccessConfiguration& AddVpceIds(const char* value) { m_vpceIdsHasBeenSet = true; m_vpceIds.push_back(value); return *this; }
103 private:
104
105 Aws::Vector<Aws::String> m_prefixListIds;
106 bool m_prefixListIdsHasBeenSet = false;
107
108 Aws::Vector<Aws::String> m_vpceIds;
109 bool m_vpceIdsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace ManagedGrafana
114} // namespace Aws
NetworkAccessConfiguration & AddPrefixListIds(Aws::String &&value)
NetworkAccessConfiguration & WithVpceIds(const Aws::Vector< Aws::String > &value)
NetworkAccessConfiguration & WithVpceIds(Aws::Vector< Aws::String > &&value)
AWS_MANAGEDGRAFANA_API NetworkAccessConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpceIds(const Aws::Vector< Aws::String > &value)
NetworkAccessConfiguration & AddVpceIds(const char *value)
void SetPrefixListIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetPrefixListIds() const
NetworkAccessConfiguration & AddVpceIds(const Aws::String &value)
NetworkAccessConfiguration & AddVpceIds(Aws::String &&value)
AWS_MANAGEDGRAFANA_API NetworkAccessConfiguration(Aws::Utils::Json::JsonView jsonValue)
NetworkAccessConfiguration & WithPrefixListIds(const Aws::Vector< Aws::String > &value)
NetworkAccessConfiguration & AddPrefixListIds(const Aws::String &value)
NetworkAccessConfiguration & AddPrefixListIds(const char *value)
NetworkAccessConfiguration & WithPrefixListIds(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue