AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
49 inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
50 inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
51 inline NetworkInterface& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
52 inline NetworkInterface& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
53 inline NetworkInterface& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
55
57
60 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
61 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
62 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
63 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
64 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
65 inline NetworkInterface& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
66 inline NetworkInterface& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
67 inline NetworkInterface& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
69
71
74 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
75 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
76 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
77 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
78 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
79 inline NetworkInterface& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
80 inline NetworkInterface& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
81 inline NetworkInterface& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
83
85
88 inline const NetworkInterfaceStatus& GetStatus() const{ return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 inline void SetStatus(const NetworkInterfaceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
91 inline void SetStatus(NetworkInterfaceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
92 inline NetworkInterface& WithStatus(const NetworkInterfaceStatus& value) { SetStatus(value); return *this;}
93 inline NetworkInterface& WithStatus(NetworkInterfaceStatus&& value) { SetStatus(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
101 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
102 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
103 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
104 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
105 inline NetworkInterface& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
106 inline NetworkInterface& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
107 inline NetworkInterface& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
109 private:
110
111 Aws::String m_subnetId;
112 bool m_subnetIdHasBeenSet = false;
113
114 Aws::String m_availabilityZone;
115 bool m_availabilityZoneHasBeenSet = false;
116
117 Aws::String m_errorMessage;
118 bool m_errorMessageHasBeenSet = false;
119
120 NetworkInterfaceStatus m_status;
121 bool m_statusHasBeenSet = false;
122
123 Aws::String m_networkInterfaceId;
124 bool m_networkInterfaceIdHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace QuickSight
129} // namespace Aws
const Aws::String & GetSubnetId() const
NetworkInterface & WithAvailabilityZone(Aws::String &&value)
void SetNetworkInterfaceId(Aws::String &&value)
NetworkInterface & WithAvailabilityZone(const char *value)
void SetNetworkInterfaceId(const Aws::String &value)
NetworkInterface & WithNetworkInterfaceId(const Aws::String &value)
void SetAvailabilityZone(const Aws::String &value)
void SetErrorMessage(const Aws::String &value)
AWS_QUICKSIGHT_API NetworkInterface(Aws::Utils::Json::JsonView jsonValue)
NetworkInterface & WithAvailabilityZone(const Aws::String &value)
void SetErrorMessage(Aws::String &&value)
NetworkInterface & WithErrorMessage(Aws::String &&value)
NetworkInterface & WithStatus(const NetworkInterfaceStatus &value)
const Aws::String & GetNetworkInterfaceId() const
void SetSubnetId(const Aws::String &value)
const Aws::String & GetErrorMessage() const
void SetStatus(const NetworkInterfaceStatus &value)
NetworkInterface & WithSubnetId(const Aws::String &value)
const Aws::String & GetAvailabilityZone() const
NetworkInterface & WithSubnetId(const char *value)
void SetStatus(NetworkInterfaceStatus &&value)
NetworkInterface & WithStatus(NetworkInterfaceStatus &&value)
AWS_QUICKSIGHT_API NetworkInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkInterface & WithErrorMessage(const Aws::String &value)
NetworkInterface & WithSubnetId(Aws::String &&value)
NetworkInterface & WithNetworkInterfaceId(Aws::String &&value)
void SetAvailabilityZone(Aws::String &&value)
NetworkInterface & WithNetworkInterfaceId(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkInterface & WithErrorMessage(const char *value)
const NetworkInterfaceStatus & GetStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue