AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
VpcConfigurationDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/firehose/Firehose_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Firehose {
21namespace Model {
22
30 public:
31 AWS_FIREHOSE_API VpcConfigurationDescription() = default;
34 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
53 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
54 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
55 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
56 void SetSubnetIds(SubnetIdsT&& value) {
57 m_subnetIdsHasBeenSet = true;
58 m_subnetIds = std::forward<SubnetIdsT>(value);
59 }
60 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
62 SetSubnetIds(std::forward<SubnetIdsT>(value));
63 return *this;
64 }
65 template <typename SubnetIdsT = Aws::String>
67 m_subnetIdsHasBeenSet = true;
68 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
69 return *this;
70 }
72
74
91 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
92 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
93 template <typename RoleARNT = Aws::String>
94 void SetRoleARN(RoleARNT&& value) {
95 m_roleARNHasBeenSet = true;
96 m_roleARN = std::forward<RoleARNT>(value);
97 }
98 template <typename RoleARNT = Aws::String>
100 SetRoleARN(std::forward<RoleARNT>(value));
101 return *this;
102 }
104
106
120 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
121 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
122 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
123 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
124 m_securityGroupIdsHasBeenSet = true;
125 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
126 }
127 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
129 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
130 return *this;
131 }
132 template <typename SecurityGroupIdsT = Aws::String>
134 m_securityGroupIdsHasBeenSet = true;
135 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
136 return *this;
137 }
139
141
144 inline const Aws::String& GetVpcId() const { return m_vpcId; }
145 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
146 template <typename VpcIdT = Aws::String>
147 void SetVpcId(VpcIdT&& value) {
148 m_vpcIdHasBeenSet = true;
149 m_vpcId = std::forward<VpcIdT>(value);
150 }
151 template <typename VpcIdT = Aws::String>
153 SetVpcId(std::forward<VpcIdT>(value));
154 return *this;
155 }
157 private:
158 Aws::Vector<Aws::String> m_subnetIds;
159
160 Aws::String m_roleARN;
161
162 Aws::Vector<Aws::String> m_securityGroupIds;
163
164 Aws::String m_vpcId;
165 bool m_subnetIdsHasBeenSet = false;
166 bool m_roleARNHasBeenSet = false;
167 bool m_securityGroupIdsHasBeenSet = false;
168 bool m_vpcIdHasBeenSet = false;
169};
170
171} // namespace Model
172} // namespace Firehose
173} // namespace Aws
AWS_FIREHOSE_API VpcConfigurationDescription()=default
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
AWS_FIREHOSE_API VpcConfigurationDescription(Aws::Utils::Json::JsonView jsonValue)
VpcConfigurationDescription & WithRoleARN(RoleARNT &&value)
VpcConfigurationDescription & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConfigurationDescription & WithVpcId(VpcIdT &&value)
AWS_FIREHOSE_API VpcConfigurationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcConfigurationDescription & AddSubnetIds(SubnetIdsT &&value)
VpcConfigurationDescription & WithSubnetIds(SubnetIdsT &&value)
VpcConfigurationDescription & WithSecurityGroupIds(SecurityGroupIdsT &&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