AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcConfiguration.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 VpcConfiguration();
37 AWS_FIREHOSE_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue);
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 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
62 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
63 inline VpcConfiguration& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
64 inline VpcConfiguration& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
65 inline VpcConfiguration& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
66 inline VpcConfiguration& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
67 inline VpcConfiguration& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
69
71
90 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
91 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
92 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
93 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
94 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
95 inline VpcConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
96 inline VpcConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
97 inline VpcConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
99
101
114 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
115 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
116 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
117 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
119 inline VpcConfiguration& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
120 inline VpcConfiguration& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
121 inline VpcConfiguration& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
122 inline VpcConfiguration& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
124 private:
125
126 Aws::Vector<Aws::String> m_subnetIds;
127 bool m_subnetIdsHasBeenSet = false;
128
129 Aws::String m_roleARN;
130 bool m_roleARNHasBeenSet = false;
131
132 Aws::Vector<Aws::String> m_securityGroupIds;
133 bool m_securityGroupIdsHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Firehose
138} // namespace Aws
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetRoleARN(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
AWS_FIREHOSE_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
VpcConfiguration & AddSecurityGroupIds(const char *value)
VpcConfiguration & AddSecurityGroupIds(Aws::String &&value)
VpcConfiguration & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetRoleARN() const
VpcConfiguration & WithSubnetIds(Aws::Vector< Aws::String > &&value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
VpcConfiguration & AddSubnetIds(const char *value)
VpcConfiguration & WithRoleARN(Aws::String &&value)
VpcConfiguration & WithRoleARN(const Aws::String &value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
VpcConfiguration & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
VpcConfiguration & AddSubnetIds(Aws::String &&value)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API VpcConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcConfiguration & AddSubnetIds(const Aws::String &value)
VpcConfiguration & WithSubnetIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
VpcConfiguration & AddSecurityGroupIds(const Aws::String &value)
VpcConfiguration & WithRoleARN(const char *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