AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcConfigurationUpdate.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 VpcConfigurationUpdate();
37 AWS_KINESISANALYTICSV2_API VpcConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISANALYTICSV2_API VpcConfigurationUpdate& operator=(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 VpcConfigurationUpdate& WithVpcConfigurationId(Aws::String&& value) { SetVpcConfigurationId(std::move(value)); return *this;}
53 inline VpcConfigurationUpdate& WithVpcConfigurationId(const char* value) { SetVpcConfigurationId(value); return *this;}
55
57
62 inline const Aws::Vector<Aws::String>& GetSubnetIdUpdates() const{ return m_subnetIdUpdates; }
63 inline bool SubnetIdUpdatesHasBeenSet() const { return m_subnetIdUpdatesHasBeenSet; }
64 inline void SetSubnetIdUpdates(const Aws::Vector<Aws::String>& value) { m_subnetIdUpdatesHasBeenSet = true; m_subnetIdUpdates = value; }
65 inline void SetSubnetIdUpdates(Aws::Vector<Aws::String>&& value) { m_subnetIdUpdatesHasBeenSet = true; m_subnetIdUpdates = std::move(value); }
68 inline VpcConfigurationUpdate& AddSubnetIdUpdates(const Aws::String& value) { m_subnetIdUpdatesHasBeenSet = true; m_subnetIdUpdates.push_back(value); return *this; }
69 inline VpcConfigurationUpdate& AddSubnetIdUpdates(Aws::String&& value) { m_subnetIdUpdatesHasBeenSet = true; m_subnetIdUpdates.push_back(std::move(value)); return *this; }
70 inline VpcConfigurationUpdate& AddSubnetIdUpdates(const char* value) { m_subnetIdUpdatesHasBeenSet = true; m_subnetIdUpdates.push_back(value); return *this; }
72
74
79 inline const Aws::Vector<Aws::String>& GetSecurityGroupIdUpdates() const{ return m_securityGroupIdUpdates; }
80 inline bool SecurityGroupIdUpdatesHasBeenSet() const { return m_securityGroupIdUpdatesHasBeenSet; }
81 inline void SetSecurityGroupIdUpdates(const Aws::Vector<Aws::String>& value) { m_securityGroupIdUpdatesHasBeenSet = true; m_securityGroupIdUpdates = value; }
82 inline void SetSecurityGroupIdUpdates(Aws::Vector<Aws::String>&& value) { m_securityGroupIdUpdatesHasBeenSet = true; m_securityGroupIdUpdates = std::move(value); }
85 inline VpcConfigurationUpdate& AddSecurityGroupIdUpdates(const Aws::String& value) { m_securityGroupIdUpdatesHasBeenSet = true; m_securityGroupIdUpdates.push_back(value); return *this; }
86 inline VpcConfigurationUpdate& AddSecurityGroupIdUpdates(Aws::String&& value) { m_securityGroupIdUpdatesHasBeenSet = true; m_securityGroupIdUpdates.push_back(std::move(value)); return *this; }
87 inline VpcConfigurationUpdate& AddSecurityGroupIdUpdates(const char* value) { m_securityGroupIdUpdatesHasBeenSet = true; m_securityGroupIdUpdates.push_back(value); return *this; }
89 private:
90
91 Aws::String m_vpcConfigurationId;
92 bool m_vpcConfigurationIdHasBeenSet = false;
93
94 Aws::Vector<Aws::String> m_subnetIdUpdates;
95 bool m_subnetIdUpdatesHasBeenSet = false;
96
97 Aws::Vector<Aws::String> m_securityGroupIdUpdates;
98 bool m_securityGroupIdUpdatesHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace KinesisAnalyticsV2
103} // namespace Aws
VpcConfigurationUpdate & WithSecurityGroupIdUpdates(const Aws::Vector< Aws::String > &value)
void SetSubnetIdUpdates(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSubnetIdUpdates() const
VpcConfigurationUpdate & WithSecurityGroupIdUpdates(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIdUpdates() const
VpcConfigurationUpdate & AddSecurityGroupIdUpdates(const char *value)
VpcConfigurationUpdate & AddSubnetIdUpdates(Aws::String &&value)
VpcConfigurationUpdate & WithVpcConfigurationId(const Aws::String &value)
VpcConfigurationUpdate & AddSecurityGroupIdUpdates(const Aws::String &value)
AWS_KINESISANALYTICSV2_API VpcConfigurationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityGroupIdUpdates(Aws::Vector< Aws::String > &&value)
VpcConfigurationUpdate & WithVpcConfigurationId(const char *value)
VpcConfigurationUpdate & AddSubnetIdUpdates(const Aws::String &value)
AWS_KINESISANALYTICSV2_API VpcConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityGroupIdUpdates(const Aws::Vector< Aws::String > &value)
VpcConfigurationUpdate & WithVpcConfigurationId(Aws::String &&value)
void SetSubnetIdUpdates(Aws::Vector< Aws::String > &&value)
VpcConfigurationUpdate & WithSubnetIdUpdates(const Aws::Vector< Aws::String > &value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
VpcConfigurationUpdate & AddSubnetIdUpdates(const char *value)
VpcConfigurationUpdate & AddSecurityGroupIdUpdates(Aws::String &&value)
VpcConfigurationUpdate & WithSubnetIdUpdates(Aws::Vector< 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