AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcConfigurationDescription.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Firehose
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FIREHOSE_API VpcConfigurationDescription();
39 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
58 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
59 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
60 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
61 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
63 inline VpcConfigurationDescription& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
64 inline VpcConfigurationDescription& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
65 inline VpcConfigurationDescription& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
66 inline VpcConfigurationDescription& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
68
70
87 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
88 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
89 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
90 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
91 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
92 inline VpcConfigurationDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
93 inline VpcConfigurationDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
94 inline VpcConfigurationDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
96
98
111 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
112 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
113 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
114 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
117 inline VpcConfigurationDescription& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
118 inline VpcConfigurationDescription& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
119 inline VpcConfigurationDescription& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
121
123
126 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
127 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
128 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
129 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
130 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
131 inline VpcConfigurationDescription& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
132 inline VpcConfigurationDescription& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
133 inline VpcConfigurationDescription& WithVpcId(const char* value) { SetVpcId(value); return *this;}
135 private:
136
137 Aws::Vector<Aws::String> m_subnetIds;
138 bool m_subnetIdsHasBeenSet = false;
139
140 Aws::String m_roleARN;
141 bool m_roleARNHasBeenSet = false;
142
143 Aws::Vector<Aws::String> m_securityGroupIds;
144 bool m_securityGroupIdsHasBeenSet = false;
145
146 Aws::String m_vpcId;
147 bool m_vpcIdHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace Firehose
152} // namespace Aws
VpcConfigurationDescription & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
VpcConfigurationDescription & WithVpcId(Aws::String &&value)
VpcConfigurationDescription & AddSubnetIds(Aws::String &&value)
VpcConfigurationDescription & WithSubnetIds(Aws::Vector< Aws::String > &&value)
VpcConfigurationDescription & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
VpcConfigurationDescription & WithVpcId(const char *value)
VpcConfigurationDescription & AddSubnetIds(const Aws::String &value)
AWS_FIREHOSE_API VpcConfigurationDescription(Aws::Utils::Json::JsonView jsonValue)
VpcConfigurationDescription & WithRoleARN(const Aws::String &value)
VpcConfigurationDescription & AddSubnetIds(const char *value)
VpcConfigurationDescription & AddSecurityGroupIds(Aws::String &&value)
VpcConfigurationDescription & AddSecurityGroupIds(const Aws::String &value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
AWS_FIREHOSE_API VpcConfigurationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
VpcConfigurationDescription & AddSecurityGroupIds(const char *value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
VpcConfigurationDescription & WithRoleARN(const char *value)
VpcConfigurationDescription & WithRoleARN(Aws::String &&value)
VpcConfigurationDescription & WithSubnetIds(const Aws::Vector< Aws::String > &value)
VpcConfigurationDescription & WithVpcId(const 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