AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVerifiedAccessEndpointEniOptions.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
35 {
36 public:
40
41 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
50 inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
51 inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
52 inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
53 inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
58
60
63 inline const VerifiedAccessEndpointProtocol& GetProtocol() const{ return m_protocol; }
64 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
65 inline void SetProtocol(const VerifiedAccessEndpointProtocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
66 inline void SetProtocol(VerifiedAccessEndpointProtocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
70
72
75 inline int GetPort() const{ return m_port; }
76 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
77 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
78 inline CreateVerifiedAccessEndpointEniOptions& WithPort(int value) { SetPort(value); return *this;}
80 private:
81
82 Aws::String m_networkInterfaceId;
83 bool m_networkInterfaceIdHasBeenSet = false;
84
86 bool m_protocolHasBeenSet = false;
87
88 int m_port;
89 bool m_portHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace EC2
94} // namespace Aws
CreateVerifiedAccessEndpointEniOptions & WithNetworkInterfaceId(const char *value)
AWS_EC2_API CreateVerifiedAccessEndpointEniOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CreateVerifiedAccessEndpointEniOptions & WithNetworkInterfaceId(Aws::String &&value)
CreateVerifiedAccessEndpointEniOptions & WithProtocol(const VerifiedAccessEndpointProtocol &value)
CreateVerifiedAccessEndpointEniOptions & WithNetworkInterfaceId(const Aws::String &value)
AWS_EC2_API CreateVerifiedAccessEndpointEniOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CreateVerifiedAccessEndpointEniOptions & WithProtocol(VerifiedAccessEndpointProtocol &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream