AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
VpcConfiguration.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_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 KinesisAnalyticsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KINESISANALYTICSV2_API VpcConfiguration() = default;
37 AWS_KINESISANALYTICSV2_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISANALYTICSV2_API VpcConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
49 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
50 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
51 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
52 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
53 VpcConfiguration& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
54 template<typename SubnetIdsT = Aws::String>
55 VpcConfiguration& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
57
59
64 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
65 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
66 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
67 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
68 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
69 VpcConfiguration& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
70 template<typename SecurityGroupIdsT = Aws::String>
71 VpcConfiguration& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
73 private:
74
75 Aws::Vector<Aws::String> m_subnetIds;
76 bool m_subnetIdsHasBeenSet = false;
77
78 Aws::Vector<Aws::String> m_securityGroupIds;
79 bool m_securityGroupIdsHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace KinesisAnalyticsV2
84} // namespace Aws
VpcConfiguration & WithSubnetIds(SubnetIdsT &&value)
VpcConfiguration & AddSubnetIds(SubnetIdsT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
VpcConfiguration & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_KINESISANALYTICSV2_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
AWS_KINESISANALYTICSV2_API VpcConfiguration()=default
AWS_KINESISANALYTICSV2_API VpcConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConfiguration & WithSecurityGroupIds(SecurityGroupIdsT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue