AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace KinesisAnalyticsV2 {
21namespace Model {
22
30 public:
31 AWS_KINESISANALYTICSV2_API VpcConfigurationDescription() = default;
32 AWS_KINESISANALYTICSV2_API VpcConfigurationDescription(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetVpcConfigurationId() const { return m_vpcConfigurationId; }
41 inline bool VpcConfigurationIdHasBeenSet() const { return m_vpcConfigurationIdHasBeenSet; }
42 template <typename VpcConfigurationIdT = Aws::String>
43 void SetVpcConfigurationId(VpcConfigurationIdT&& value) {
44 m_vpcConfigurationIdHasBeenSet = true;
45 m_vpcConfigurationId = std::forward<VpcConfigurationIdT>(value);
46 }
47 template <typename VpcConfigurationIdT = Aws::String>
49 SetVpcConfigurationId(std::forward<VpcConfigurationIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetVpcId() const { return m_vpcId; }
59 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
60 template <typename VpcIdT = Aws::String>
61 void SetVpcId(VpcIdT&& value) {
62 m_vpcIdHasBeenSet = true;
63 m_vpcId = std::forward<VpcIdT>(value);
64 }
65 template <typename VpcIdT = Aws::String>
67 SetVpcId(std::forward<VpcIdT>(value));
68 return *this;
69 }
71
73
78 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
79 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
80 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
81 void SetSubnetIds(SubnetIdsT&& value) {
82 m_subnetIdsHasBeenSet = true;
83 m_subnetIds = std::forward<SubnetIdsT>(value);
84 }
85 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
87 SetSubnetIds(std::forward<SubnetIdsT>(value));
88 return *this;
89 }
90 template <typename SubnetIdsT = Aws::String>
92 m_subnetIdsHasBeenSet = true;
93 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
94 return *this;
95 }
97
99
104 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
105 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
106 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
107 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
108 m_securityGroupIdsHasBeenSet = true;
109 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
110 }
111 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
113 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
114 return *this;
115 }
116 template <typename SecurityGroupIdsT = Aws::String>
118 m_securityGroupIdsHasBeenSet = true;
119 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_vpcConfigurationId;
125
126 Aws::String m_vpcId;
127
128 Aws::Vector<Aws::String> m_subnetIds;
129
130 Aws::Vector<Aws::String> m_securityGroupIds;
131 bool m_vpcConfigurationIdHasBeenSet = false;
132 bool m_vpcIdHasBeenSet = false;
133 bool m_subnetIdsHasBeenSet = false;
134 bool m_securityGroupIdsHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace KinesisAnalyticsV2
139} // namespace Aws
VpcConfigurationDescription & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_KINESISANALYTICSV2_API VpcConfigurationDescription()=default
VpcConfigurationDescription & AddSubnetIds(SubnetIdsT &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConfigurationDescription & WithSubnetIds(SubnetIdsT &&value)
AWS_KINESISANALYTICSV2_API VpcConfigurationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcConfigurationDescription & WithVpcConfigurationId(VpcConfigurationIdT &&value)
AWS_KINESISANALYTICSV2_API VpcConfigurationDescription(Aws::Utils::Json::JsonView jsonValue)
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