AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcEndpoint.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift-serverless/model/NetworkInterface.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace RedshiftServerless
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_REDSHIFTSERVERLESS_API VpcEndpoint();
38 AWS_REDSHIFTSERVERLESS_API VpcEndpoint(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REDSHIFTSERVERLESS_API VpcEndpoint& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<NetworkInterface>& GetNetworkInterfaces() const{ return m_networkInterfaces; }
49 inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
50 inline void SetNetworkInterfaces(const Aws::Vector<NetworkInterface>& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; }
51 inline void SetNetworkInterfaces(Aws::Vector<NetworkInterface>&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); }
53 inline VpcEndpoint& WithNetworkInterfaces(Aws::Vector<NetworkInterface>&& value) { SetNetworkInterfaces(std::move(value)); return *this;}
54 inline VpcEndpoint& AddNetworkInterfaces(const NetworkInterface& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; }
55 inline VpcEndpoint& AddNetworkInterfaces(NetworkInterface&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; }
57
59
62 inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; }
63 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
64 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
65 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
66 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
67 inline VpcEndpoint& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
68 inline VpcEndpoint& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
69 inline VpcEndpoint& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
71
73
76 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
77 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
78 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
79 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
80 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
81 inline VpcEndpoint& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
82 inline VpcEndpoint& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
83 inline VpcEndpoint& WithVpcId(const char* value) { SetVpcId(value); return *this;}
85 private:
86
87 Aws::Vector<NetworkInterface> m_networkInterfaces;
88 bool m_networkInterfacesHasBeenSet = false;
89
90 Aws::String m_vpcEndpointId;
91 bool m_vpcEndpointIdHasBeenSet = false;
92
93 Aws::String m_vpcId;
94 bool m_vpcIdHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace RedshiftServerless
99} // namespace Aws
void SetVpcEndpointId(Aws::String &&value)
Definition VpcEndpoint.h:65
void SetVpcEndpointId(const Aws::String &value)
Definition VpcEndpoint.h:64
void SetVpcId(const Aws::String &value)
Definition VpcEndpoint.h:78
VpcEndpoint & WithVpcEndpointId(const Aws::String &value)
Definition VpcEndpoint.h:67
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
VpcEndpoint & WithVpcId(const Aws::String &value)
Definition VpcEndpoint.h:81
AWS_REDSHIFTSERVERLESS_API VpcEndpoint()
VpcEndpoint & WithVpcEndpointId(const char *value)
Definition VpcEndpoint.h:69
VpcEndpoint & WithVpcId(const char *value)
Definition VpcEndpoint.h:83
AWS_REDSHIFTSERVERLESS_API VpcEndpoint(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
Definition VpcEndpoint.h:50
void SetNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
Definition VpcEndpoint.h:51
VpcEndpoint & AddNetworkInterfaces(NetworkInterface &&value)
Definition VpcEndpoint.h:55
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
Definition VpcEndpoint.h:48
VpcEndpoint & AddNetworkInterfaces(const NetworkInterface &value)
Definition VpcEndpoint.h:54
const Aws::String & GetVpcEndpointId() const
Definition VpcEndpoint.h:62
VpcEndpoint & WithVpcId(Aws::String &&value)
Definition VpcEndpoint.h:82
VpcEndpoint & WithNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
Definition VpcEndpoint.h:53
VpcEndpoint & WithNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
Definition VpcEndpoint.h:52
AWS_REDSHIFTSERVERLESS_API VpcEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcEndpoint & WithVpcEndpointId(Aws::String &&value)
Definition VpcEndpoint.h:68
const Aws::String & GetVpcId() const
Definition VpcEndpoint.h:76
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue