AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
NetworkAccessConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces/WorkSpaces_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace WorkSpaces {
20namespace Model {
21
29 public:
30 AWS_WORKSPACES_API NetworkAccessConfiguration() = default;
31 AWS_WORKSPACES_API NetworkAccessConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_WORKSPACES_API NetworkAccessConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
40 inline const Aws::String& GetEniPrivateIpAddress() const { return m_eniPrivateIpAddress; }
41 inline bool EniPrivateIpAddressHasBeenSet() const { return m_eniPrivateIpAddressHasBeenSet; }
42 template <typename EniPrivateIpAddressT = Aws::String>
43 void SetEniPrivateIpAddress(EniPrivateIpAddressT&& value) {
44 m_eniPrivateIpAddressHasBeenSet = true;
45 m_eniPrivateIpAddress = std::forward<EniPrivateIpAddressT>(value);
46 }
47 template <typename EniPrivateIpAddressT = Aws::String>
48 NetworkAccessConfiguration& WithEniPrivateIpAddress(EniPrivateIpAddressT&& value) {
49 SetEniPrivateIpAddress(std::forward<EniPrivateIpAddressT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetEniId() const { return m_eniId; }
61 inline bool EniIdHasBeenSet() const { return m_eniIdHasBeenSet; }
62 template <typename EniIdT = Aws::String>
63 void SetEniId(EniIdT&& value) {
64 m_eniIdHasBeenSet = true;
65 m_eniId = std::forward<EniIdT>(value);
66 }
67 template <typename EniIdT = Aws::String>
69 SetEniId(std::forward<EniIdT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_eniPrivateIpAddress;
75
76 Aws::String m_eniId;
77 bool m_eniPrivateIpAddressHasBeenSet = false;
78 bool m_eniIdHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace WorkSpaces
83} // namespace Aws
AWS_WORKSPACES_API NetworkAccessConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
NetworkAccessConfiguration & WithEniId(EniIdT &&value)
AWS_WORKSPACES_API NetworkAccessConfiguration()=default
AWS_WORKSPACES_API NetworkAccessConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
NetworkAccessConfiguration & WithEniPrivateIpAddress(EniPrivateIpAddressT &&value)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String