AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcOptions.h
1
6#pragma once
7#include <aws/osis/OSIS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/osis/model/VpcAttachmentOptions.h>
10#include <aws/osis/model/VpcEndpointManagement.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace OSIS
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_OSIS_API VpcOptions();
39 AWS_OSIS_API VpcOptions(Aws::Utils::Json::JsonView jsonValue);
42
43
45
48 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
49 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
50 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
51 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
52 inline VpcOptions& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
53 inline VpcOptions& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
54 inline VpcOptions& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
55 inline VpcOptions& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
56 inline VpcOptions& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
58
60
63 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
64 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
65 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
66 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
67 inline VpcOptions& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
68 inline VpcOptions& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
69 inline VpcOptions& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
70 inline VpcOptions& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
71 inline VpcOptions& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
73
75
78 inline const VpcAttachmentOptions& GetVpcAttachmentOptions() const{ return m_vpcAttachmentOptions; }
79 inline bool VpcAttachmentOptionsHasBeenSet() const { return m_vpcAttachmentOptionsHasBeenSet; }
80 inline void SetVpcAttachmentOptions(const VpcAttachmentOptions& value) { m_vpcAttachmentOptionsHasBeenSet = true; m_vpcAttachmentOptions = value; }
81 inline void SetVpcAttachmentOptions(VpcAttachmentOptions&& value) { m_vpcAttachmentOptionsHasBeenSet = true; m_vpcAttachmentOptions = std::move(value); }
83 inline VpcOptions& WithVpcAttachmentOptions(VpcAttachmentOptions&& value) { SetVpcAttachmentOptions(std::move(value)); return *this;}
85
87
91 inline const VpcEndpointManagement& GetVpcEndpointManagement() const{ return m_vpcEndpointManagement; }
92 inline bool VpcEndpointManagementHasBeenSet() const { return m_vpcEndpointManagementHasBeenSet; }
93 inline void SetVpcEndpointManagement(const VpcEndpointManagement& value) { m_vpcEndpointManagementHasBeenSet = true; m_vpcEndpointManagement = value; }
94 inline void SetVpcEndpointManagement(VpcEndpointManagement&& value) { m_vpcEndpointManagementHasBeenSet = true; m_vpcEndpointManagement = std::move(value); }
96 inline VpcOptions& WithVpcEndpointManagement(VpcEndpointManagement&& value) { SetVpcEndpointManagement(std::move(value)); return *this;}
98 private:
99
100 Aws::Vector<Aws::String> m_subnetIds;
101 bool m_subnetIdsHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_securityGroupIds;
104 bool m_securityGroupIdsHasBeenSet = false;
105
106 VpcAttachmentOptions m_vpcAttachmentOptions;
107 bool m_vpcAttachmentOptionsHasBeenSet = false;
108
109 VpcEndpointManagement m_vpcEndpointManagement;
110 bool m_vpcEndpointManagementHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace OSIS
115} // namespace Aws
void SetVpcAttachmentOptions(const VpcAttachmentOptions &value)
Definition VpcOptions.h:80
VpcOptions & WithVpcEndpointManagement(const VpcEndpointManagement &value)
Definition VpcOptions.h:95
AWS_OSIS_API Aws::Utils::Json::JsonValue Jsonize() const
VpcOptions & AddSecurityGroupIds(const Aws::String &value)
Definition VpcOptions.h:69
void SetVpcAttachmentOptions(VpcAttachmentOptions &&value)
Definition VpcOptions.h:81
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition VpcOptions.h:51
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition VpcOptions.h:63
VpcOptions & AddSubnetIds(const char *value)
Definition VpcOptions.h:56
AWS_OSIS_API VpcOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcOptions & AddSecurityGroupIds(const char *value)
Definition VpcOptions.h:71
const VpcEndpointManagement & GetVpcEndpointManagement() const
Definition VpcOptions.h:91
bool SecurityGroupIdsHasBeenSet() const
Definition VpcOptions.h:64
VpcOptions & AddSubnetIds(const Aws::String &value)
Definition VpcOptions.h:54
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition VpcOptions.h:65
bool SubnetIdsHasBeenSet() const
Definition VpcOptions.h:49
VpcOptions & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition VpcOptions.h:68
VpcOptions & WithVpcAttachmentOptions(const VpcAttachmentOptions &value)
Definition VpcOptions.h:82
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition VpcOptions.h:66
bool VpcEndpointManagementHasBeenSet() const
Definition VpcOptions.h:92
void SetVpcEndpointManagement(const VpcEndpointManagement &value)
Definition VpcOptions.h:93
VpcOptions & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition VpcOptions.h:67
AWS_OSIS_API VpcOptions(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition VpcOptions.h:48
VpcOptions & AddSubnetIds(Aws::String &&value)
Definition VpcOptions.h:55
bool VpcAttachmentOptionsHasBeenSet() const
Definition VpcOptions.h:79
VpcOptions & WithVpcAttachmentOptions(VpcAttachmentOptions &&value)
Definition VpcOptions.h:83
void SetVpcEndpointManagement(VpcEndpointManagement &&value)
Definition VpcOptions.h:94
VpcOptions & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition VpcOptions.h:52
const VpcAttachmentOptions & GetVpcAttachmentOptions() const
Definition VpcOptions.h:78
VpcOptions & AddSecurityGroupIds(Aws::String &&value)
Definition VpcOptions.h:70
VpcOptions & WithVpcEndpointManagement(VpcEndpointManagement &&value)
Definition VpcOptions.h:96
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition VpcOptions.h:50
VpcOptions & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition VpcOptions.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue