AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
NetworkAccessConfiguration.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AppStream {
21namespace Model {
22
30 public:
31 AWS_APPSTREAM_API NetworkAccessConfiguration() = default;
34 AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetEniPrivateIpAddress() const { return m_eniPrivateIpAddress; }
42 inline bool EniPrivateIpAddressHasBeenSet() const { return m_eniPrivateIpAddressHasBeenSet; }
43 template <typename EniPrivateIpAddressT = Aws::String>
44 void SetEniPrivateIpAddress(EniPrivateIpAddressT&& value) {
45 m_eniPrivateIpAddressHasBeenSet = true;
46 m_eniPrivateIpAddress = std::forward<EniPrivateIpAddressT>(value);
47 }
48 template <typename EniPrivateIpAddressT = Aws::String>
49 NetworkAccessConfiguration& WithEniPrivateIpAddress(EniPrivateIpAddressT&& value) {
50 SetEniPrivateIpAddress(std::forward<EniPrivateIpAddressT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<Aws::String>& GetEniIpv6Addresses() const { return m_eniIpv6Addresses; }
61 inline bool EniIpv6AddressesHasBeenSet() const { return m_eniIpv6AddressesHasBeenSet; }
62 template <typename EniIpv6AddressesT = Aws::Vector<Aws::String>>
63 void SetEniIpv6Addresses(EniIpv6AddressesT&& value) {
64 m_eniIpv6AddressesHasBeenSet = true;
65 m_eniIpv6Addresses = std::forward<EniIpv6AddressesT>(value);
66 }
67 template <typename EniIpv6AddressesT = Aws::Vector<Aws::String>>
69 SetEniIpv6Addresses(std::forward<EniIpv6AddressesT>(value));
70 return *this;
71 }
72 template <typename EniIpv6AddressesT = Aws::String>
73 NetworkAccessConfiguration& AddEniIpv6Addresses(EniIpv6AddressesT&& value) {
74 m_eniIpv6AddressesHasBeenSet = true;
75 m_eniIpv6Addresses.emplace_back(std::forward<EniIpv6AddressesT>(value));
76 return *this;
77 }
79
81
86 inline const Aws::String& GetEniId() const { return m_eniId; }
87 inline bool EniIdHasBeenSet() const { return m_eniIdHasBeenSet; }
88 template <typename EniIdT = Aws::String>
89 void SetEniId(EniIdT&& value) {
90 m_eniIdHasBeenSet = true;
91 m_eniId = std::forward<EniIdT>(value);
92 }
93 template <typename EniIdT = Aws::String>
95 SetEniId(std::forward<EniIdT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_eniPrivateIpAddress;
101
102 Aws::Vector<Aws::String> m_eniIpv6Addresses;
103
104 Aws::String m_eniId;
105 bool m_eniPrivateIpAddressHasBeenSet = false;
106 bool m_eniIpv6AddressesHasBeenSet = false;
107 bool m_eniIdHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace AppStream
112} // namespace Aws
const Aws::Vector< Aws::String > & GetEniIpv6Addresses() const
NetworkAccessConfiguration & WithEniId(EniIdT &&value)
NetworkAccessConfiguration & WithEniPrivateIpAddress(EniPrivateIpAddressT &&value)
NetworkAccessConfiguration & AddEniIpv6Addresses(EniIpv6AddressesT &&value)
AWS_APPSTREAM_API NetworkAccessConfiguration()=default
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPSTREAM_API NetworkAccessConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API NetworkAccessConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkAccessConfiguration & WithEniIpv6Addresses(EniIpv6AddressesT &&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