AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcConfiguration.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/finspace/model/IPAddressType.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 finspace
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_FINSPACE_API VpcConfiguration();
38 AWS_FINSPACE_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
48 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
49 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
50 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
51 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
52 inline VpcConfiguration& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
53 inline VpcConfiguration& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
54 inline VpcConfiguration& WithVpcId(const char* value) { SetVpcId(value); return *this;}
56
58
62 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
63 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
64 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
65 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
67 inline VpcConfiguration& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
68 inline VpcConfiguration& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
69 inline VpcConfiguration& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
70 inline VpcConfiguration& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
72
74
78 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
79 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
80 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
81 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
82 inline VpcConfiguration& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
83 inline VpcConfiguration& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
84 inline VpcConfiguration& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
85 inline VpcConfiguration& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
86 inline VpcConfiguration& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
88
90
95 inline const IPAddressType& GetIpAddressType() const{ return m_ipAddressType; }
96 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
97 inline void SetIpAddressType(const IPAddressType& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; }
98 inline void SetIpAddressType(IPAddressType&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::move(value); }
99 inline VpcConfiguration& WithIpAddressType(const IPAddressType& value) { SetIpAddressType(value); return *this;}
100 inline VpcConfiguration& WithIpAddressType(IPAddressType&& value) { SetIpAddressType(std::move(value)); return *this;}
102 private:
103
104 Aws::String m_vpcId;
105 bool m_vpcIdHasBeenSet = false;
106
107 Aws::Vector<Aws::String> m_securityGroupIds;
108 bool m_securityGroupIdsHasBeenSet = false;
109
110 Aws::Vector<Aws::String> m_subnetIds;
111 bool m_subnetIdsHasBeenSet = false;
112
113 IPAddressType m_ipAddressType;
114 bool m_ipAddressTypeHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace finspace
119} // namespace Aws
VpcConfiguration & AddSubnetIds(const Aws::String &value)
AWS_FINSPACE_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
VpcConfiguration & WithSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
VpcConfiguration & WithVpcId(Aws::String &&value)
void SetIpAddressType(IPAddressType &&value)
VpcConfiguration & AddSecurityGroupIds(Aws::String &&value)
VpcConfiguration & WithSubnetIds(const Aws::Vector< Aws::String > &value)
void SetVpcId(const Aws::String &value)
VpcConfiguration & AddSecurityGroupIds(const Aws::String &value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
VpcConfiguration & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
VpcConfiguration & WithIpAddressType(const IPAddressType &value)
AWS_FINSPACE_API VpcConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConfiguration & AddSubnetIds(const char *value)
VpcConfiguration & WithVpcId(const Aws::String &value)
const Aws::String & GetVpcId() const
void SetIpAddressType(const IPAddressType &value)
VpcConfiguration & WithIpAddressType(IPAddressType &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
VpcConfiguration & WithVpcId(const char *value)
VpcConfiguration & AddSubnetIds(Aws::String &&value)
VpcConfiguration & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
VpcConfiguration & AddSecurityGroupIds(const char *value)
const IPAddressType & GetIpAddressType() const
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue