AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
NetworkInterface.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/NetworkInterfaceStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API NetworkInterface() = default;
32 AWS_QUICKSIGHT_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
41 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
42 template <typename SubnetIdT = Aws::String>
43 void SetSubnetId(SubnetIdT&& value) {
44 m_subnetIdHasBeenSet = true;
45 m_subnetId = std::forward<SubnetIdT>(value);
46 }
47 template <typename SubnetIdT = Aws::String>
48 NetworkInterface& WithSubnetId(SubnetIdT&& value) {
49 SetSubnetId(std::forward<SubnetIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
59 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
60 template <typename AvailabilityZoneT = Aws::String>
61 void SetAvailabilityZone(AvailabilityZoneT&& value) {
62 m_availabilityZoneHasBeenSet = true;
63 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
64 }
65 template <typename AvailabilityZoneT = Aws::String>
66 NetworkInterface& WithAvailabilityZone(AvailabilityZoneT&& value) {
67 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
77 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
78 template <typename ErrorMessageT = Aws::String>
79 void SetErrorMessage(ErrorMessageT&& value) {
80 m_errorMessageHasBeenSet = true;
81 m_errorMessage = std::forward<ErrorMessageT>(value);
82 }
83 template <typename ErrorMessageT = Aws::String>
84 NetworkInterface& WithErrorMessage(ErrorMessageT&& value) {
85 SetErrorMessage(std::forward<ErrorMessageT>(value));
86 return *this;
87 }
89
91
94 inline NetworkInterfaceStatus GetStatus() const { return m_status; }
95 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
96 inline void SetStatus(NetworkInterfaceStatus value) {
97 m_statusHasBeenSet = true;
98 m_status = value;
99 }
101 SetStatus(value);
102 return *this;
103 }
105
107
110 inline const Aws::String& GetNetworkInterfaceId() const { return m_networkInterfaceId; }
111 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
112 template <typename NetworkInterfaceIdT = Aws::String>
113 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) {
114 m_networkInterfaceIdHasBeenSet = true;
115 m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value);
116 }
117 template <typename NetworkInterfaceIdT = Aws::String>
118 NetworkInterface& WithNetworkInterfaceId(NetworkInterfaceIdT&& value) {
119 SetNetworkInterfaceId(std::forward<NetworkInterfaceIdT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_subnetId;
125
126 Aws::String m_availabilityZone;
127
128 Aws::String m_errorMessage;
129
131
132 Aws::String m_networkInterfaceId;
133 bool m_subnetIdHasBeenSet = false;
134 bool m_availabilityZoneHasBeenSet = false;
135 bool m_errorMessageHasBeenSet = false;
136 bool m_statusHasBeenSet = false;
137 bool m_networkInterfaceIdHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace QuickSight
142} // namespace Aws
const Aws::String & GetSubnetId() const
void SetErrorMessage(ErrorMessageT &&value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
NetworkInterface & WithSubnetId(SubnetIdT &&value)
NetworkInterface & WithNetworkInterfaceId(NetworkInterfaceIdT &&value)
NetworkInterface & WithAvailabilityZone(AvailabilityZoneT &&value)
NetworkInterfaceStatus GetStatus() const
AWS_QUICKSIGHT_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue)
NetworkInterface & WithErrorMessage(ErrorMessageT &&value)
AWS_QUICKSIGHT_API NetworkInterface()=default
const Aws::String & GetNetworkInterfaceId() const
const Aws::String & GetErrorMessage() const
NetworkInterface & WithStatus(NetworkInterfaceStatus value)
const Aws::String & GetAvailabilityZone() const
void SetNetworkInterfaceId(NetworkInterfaceIdT &&value)
AWS_QUICKSIGHT_API NetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(NetworkInterfaceStatus value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue