AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VerifiedAccessEndpointEniOptions.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/VerifiedAccessEndpointProtocol.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
33 {
34 public:
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
48 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
49 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
50 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
51 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
54 inline VerifiedAccessEndpointEniOptions& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
56
58
61 inline const VerifiedAccessEndpointProtocol& GetProtocol() const{ return m_protocol; }
62 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
63 inline void SetProtocol(const VerifiedAccessEndpointProtocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
64 inline void SetProtocol(VerifiedAccessEndpointProtocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
68
70
73 inline int GetPort() const{ return m_port; }
74 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
75 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
76 inline VerifiedAccessEndpointEniOptions& WithPort(int value) { SetPort(value); return *this;}
78 private:
79
80 Aws::String m_networkInterfaceId;
81 bool m_networkInterfaceIdHasBeenSet = false;
82
84 bool m_protocolHasBeenSet = false;
85
86 int m_port;
87 bool m_portHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace EC2
92} // namespace Aws
void SetProtocol(const VerifiedAccessEndpointProtocol &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
VerifiedAccessEndpointEniOptions & WithPort(int value)
VerifiedAccessEndpointEniOptions & WithProtocol(const VerifiedAccessEndpointProtocol &value)
VerifiedAccessEndpointEniOptions & WithNetworkInterfaceId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetProtocol(VerifiedAccessEndpointProtocol &&value)
AWS_EC2_API VerifiedAccessEndpointEniOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const VerifiedAccessEndpointProtocol & GetProtocol() const
VerifiedAccessEndpointEniOptions & WithNetworkInterfaceId(const char *value)
VerifiedAccessEndpointEniOptions & WithNetworkInterfaceId(const Aws::String &value)
AWS_EC2_API VerifiedAccessEndpointEniOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
VerifiedAccessEndpointEniOptions & WithProtocol(VerifiedAccessEndpointProtocol &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream