AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
39 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
59 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
60 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
61 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
62 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
63 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
64 VpcConfigurationDescription& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
65 template<typename SubnetIdsT = Aws::String>
66 VpcConfigurationDescription& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
68
70
87 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
88 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
89 template<typename RoleARNT = Aws::String>
90 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
91 template<typename RoleARNT = Aws::String>
92 VpcConfigurationDescription& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
94
96
110 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
111 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
112 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
113 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
114 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
115 VpcConfigurationDescription& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
116 template<typename SecurityGroupIdsT = Aws::String>
117 VpcConfigurationDescription& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
119
121
124 inline const Aws::String& GetVpcId() const { return m_vpcId; }
125 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
126 template<typename VpcIdT = Aws::String>
127 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
128 template<typename VpcIdT = Aws::String>
129 VpcConfigurationDescription& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
131 private:
132
133 Aws::Vector<Aws::String> m_subnetIds;
134 bool m_subnetIdsHasBeenSet = false;
135
136 Aws::String m_roleARN;
137 bool m_roleARNHasBeenSet = false;
138
139 Aws::Vector<Aws::String> m_securityGroupIds;
140 bool m_securityGroupIdsHasBeenSet = false;
141
142 Aws::String m_vpcId;
143 bool m_vpcIdHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace Firehose
148} // 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