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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 VpcConfigurationDescription();
37 AWS_KINESISANALYTICSV2_API VpcConfigurationDescription(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetVpcConfigurationId() const{ return m_vpcConfigurationId; }
47 inline bool VpcConfigurationIdHasBeenSet() const { return m_vpcConfigurationIdHasBeenSet; }
48 inline void SetVpcConfigurationId(const Aws::String& value) { m_vpcConfigurationIdHasBeenSet = true; m_vpcConfigurationId = value; }
49 inline void SetVpcConfigurationId(Aws::String&& value) { m_vpcConfigurationIdHasBeenSet = true; m_vpcConfigurationId = std::move(value); }
50 inline void SetVpcConfigurationId(const char* value) { m_vpcConfigurationIdHasBeenSet = true; m_vpcConfigurationId.assign(value); }
52 inline VpcConfigurationDescription& WithVpcConfigurationId(Aws::String&& value) { SetVpcConfigurationId(std::move(value)); return *this;}
53 inline VpcConfigurationDescription& WithVpcConfigurationId(const char* value) { SetVpcConfigurationId(value); return *this;}
55
57
60 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
61 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
62 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
63 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
64 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
65 inline VpcConfigurationDescription& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
66 inline VpcConfigurationDescription& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
67 inline VpcConfigurationDescription& WithVpcId(const char* value) { SetVpcId(value); return *this;}
69
71
76 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
77 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
78 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
79 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
81 inline VpcConfigurationDescription& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
82 inline VpcConfigurationDescription& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
83 inline VpcConfigurationDescription& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
84 inline VpcConfigurationDescription& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
86
88
93 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
94 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
95 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
96 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
99 inline VpcConfigurationDescription& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
100 inline VpcConfigurationDescription& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
101 inline VpcConfigurationDescription& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
103 private:
104
105 Aws::String m_vpcConfigurationId;
106 bool m_vpcConfigurationIdHasBeenSet = false;
107
108 Aws::String m_vpcId;
109 bool m_vpcIdHasBeenSet = false;
110
111 Aws::Vector<Aws::String> m_subnetIds;
112 bool m_subnetIdsHasBeenSet = false;
113
114 Aws::Vector<Aws::String> m_securityGroupIds;
115 bool m_securityGroupIdsHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace KinesisAnalyticsV2
120} // namespace Aws
VpcConfigurationDescription & AddSecurityGroupIds(const char *value)
VpcConfigurationDescription & WithVpcConfigurationId(const char *value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConfigurationDescription & WithVpcId(Aws::String &&value)
VpcConfigurationDescription & WithVpcId(const Aws::String &value)
VpcConfigurationDescription & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
VpcConfigurationDescription & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
VpcConfigurationDescription & AddSubnetIds(const Aws::String &value)
AWS_KINESISANALYTICSV2_API VpcConfigurationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcConfigurationDescription & AddSecurityGroupIds(const Aws::String &value)
VpcConfigurationDescription & WithSubnetIds(const Aws::Vector< Aws::String > &value)
VpcConfigurationDescription & WithVpcId(const char *value)
VpcConfigurationDescription & AddSubnetIds(const char *value)
VpcConfigurationDescription & WithSubnetIds(Aws::Vector< Aws::String > &&value)
VpcConfigurationDescription & AddSubnetIds(Aws::String &&value)
VpcConfigurationDescription & WithVpcConfigurationId(Aws::String &&value)
AWS_KINESISANALYTICSV2_API VpcConfigurationDescription(Aws::Utils::Json::JsonView jsonValue)
VpcConfigurationDescription & WithVpcConfigurationId(const Aws::String &value)
VpcConfigurationDescription & AddSecurityGroupIds(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