AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NetworkInterface.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/NetworkInterfaceStatus.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 QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API NetworkInterface() = default;
37 AWS_QUICKSIGHT_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSubnetId() const { return m_subnetId; }
47 inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
48 template<typename SubnetIdT = Aws::String>
49 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::forward<SubnetIdT>(value); }
50 template<typename SubnetIdT = Aws::String>
51 NetworkInterface& WithSubnetId(SubnetIdT&& value) { SetSubnetId(std::forward<SubnetIdT>(value)); return *this;}
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) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
62 template<typename AvailabilityZoneT = Aws::String>
63 NetworkInterface& WithAvailabilityZone(AvailabilityZoneT&& value) { SetAvailabilityZone(std::forward<AvailabilityZoneT>(value)); return *this;}
65
67
70 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
71 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
72 template<typename ErrorMessageT = Aws::String>
73 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
74 template<typename ErrorMessageT = Aws::String>
75 NetworkInterface& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
77
79
82 inline NetworkInterfaceStatus GetStatus() const { return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(NetworkInterfaceStatus value) { m_statusHasBeenSet = true; m_status = value; }
85 inline NetworkInterface& WithStatus(NetworkInterfaceStatus value) { SetStatus(value); return *this;}
87
89
92 inline const Aws::String& GetNetworkInterfaceId() const { return m_networkInterfaceId; }
93 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
94 template<typename NetworkInterfaceIdT = Aws::String>
95 void SetNetworkInterfaceId(NetworkInterfaceIdT&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::forward<NetworkInterfaceIdT>(value); }
96 template<typename NetworkInterfaceIdT = Aws::String>
97 NetworkInterface& WithNetworkInterfaceId(NetworkInterfaceIdT&& value) { SetNetworkInterfaceId(std::forward<NetworkInterfaceIdT>(value)); return *this;}
99 private:
100
101 Aws::String m_subnetId;
102 bool m_subnetIdHasBeenSet = false;
103
104 Aws::String m_availabilityZone;
105 bool m_availabilityZoneHasBeenSet = false;
106
107 Aws::String m_errorMessage;
108 bool m_errorMessageHasBeenSet = false;
109
111 bool m_statusHasBeenSet = false;
112
113 Aws::String m_networkInterfaceId;
114 bool m_networkInterfaceIdHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace QuickSight
119} // 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