AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PrivateLinkConfig.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 DataSync
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_DATASYNC_API PrivateLinkConfig() = default;
39 AWS_DATASYNC_API PrivateLinkConfig(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
49 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
50 template<typename VpcEndpointIdT = Aws::String>
51 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
52 template<typename VpcEndpointIdT = Aws::String>
53 PrivateLinkConfig& WithVpcEndpointId(VpcEndpointIdT&& value) { SetVpcEndpointId(std::forward<VpcEndpointIdT>(value)); return *this;}
55
57
62 inline const Aws::String& GetPrivateLinkEndpoint() const { return m_privateLinkEndpoint; }
63 inline bool PrivateLinkEndpointHasBeenSet() const { return m_privateLinkEndpointHasBeenSet; }
64 template<typename PrivateLinkEndpointT = Aws::String>
65 void SetPrivateLinkEndpoint(PrivateLinkEndpointT&& value) { m_privateLinkEndpointHasBeenSet = true; m_privateLinkEndpoint = std::forward<PrivateLinkEndpointT>(value); }
66 template<typename PrivateLinkEndpointT = Aws::String>
67 PrivateLinkConfig& WithPrivateLinkEndpoint(PrivateLinkEndpointT&& value) { SetPrivateLinkEndpoint(std::forward<PrivateLinkEndpointT>(value)); return *this;}
69
71
75 inline const Aws::Vector<Aws::String>& GetSubnetArns() const { return m_subnetArns; }
76 inline bool SubnetArnsHasBeenSet() const { return m_subnetArnsHasBeenSet; }
77 template<typename SubnetArnsT = Aws::Vector<Aws::String>>
78 void SetSubnetArns(SubnetArnsT&& value) { m_subnetArnsHasBeenSet = true; m_subnetArns = std::forward<SubnetArnsT>(value); }
79 template<typename SubnetArnsT = Aws::Vector<Aws::String>>
80 PrivateLinkConfig& WithSubnetArns(SubnetArnsT&& value) { SetSubnetArns(std::forward<SubnetArnsT>(value)); return *this;}
81 template<typename SubnetArnsT = Aws::String>
82 PrivateLinkConfig& AddSubnetArns(SubnetArnsT&& value) { m_subnetArnsHasBeenSet = true; m_subnetArns.emplace_back(std::forward<SubnetArnsT>(value)); return *this; }
84
86
90 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const { return m_securityGroupArns; }
91 inline bool SecurityGroupArnsHasBeenSet() const { return m_securityGroupArnsHasBeenSet; }
92 template<typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
93 void SetSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns = std::forward<SecurityGroupArnsT>(value); }
94 template<typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
95 PrivateLinkConfig& WithSecurityGroupArns(SecurityGroupArnsT&& value) { SetSecurityGroupArns(std::forward<SecurityGroupArnsT>(value)); return *this;}
96 template<typename SecurityGroupArnsT = Aws::String>
97 PrivateLinkConfig& AddSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value)); return *this; }
99 private:
100
101 Aws::String m_vpcEndpointId;
102 bool m_vpcEndpointIdHasBeenSet = false;
103
104 Aws::String m_privateLinkEndpoint;
105 bool m_privateLinkEndpointHasBeenSet = false;
106
107 Aws::Vector<Aws::String> m_subnetArns;
108 bool m_subnetArnsHasBeenSet = false;
109
110 Aws::Vector<Aws::String> m_securityGroupArns;
111 bool m_securityGroupArnsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace DataSync
116} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue