AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SelfManagedKafkaAccessConfigurationVpc.h
1
6#pragma once
7#include <aws/pipes/Pipes_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 Pipes
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetSubnets() const{ return m_subnets; }
48 inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
49 inline void SetSubnets(const Aws::Vector<Aws::String>& value) { m_subnetsHasBeenSet = true; m_subnets = value; }
50 inline void SetSubnets(Aws::Vector<Aws::String>&& value) { m_subnetsHasBeenSet = true; m_subnets = std::move(value); }
53 inline SelfManagedKafkaAccessConfigurationVpc& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
54 inline SelfManagedKafkaAccessConfigurationVpc& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; }
55 inline SelfManagedKafkaAccessConfigurationVpc& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
57
59
64 inline const Aws::Vector<Aws::String>& GetSecurityGroup() const{ return m_securityGroup; }
65 inline bool SecurityGroupHasBeenSet() const { return m_securityGroupHasBeenSet; }
66 inline void SetSecurityGroup(const Aws::Vector<Aws::String>& value) { m_securityGroupHasBeenSet = true; m_securityGroup = value; }
67 inline void SetSecurityGroup(Aws::Vector<Aws::String>&& value) { m_securityGroupHasBeenSet = true; m_securityGroup = std::move(value); }
70 inline SelfManagedKafkaAccessConfigurationVpc& AddSecurityGroup(const Aws::String& value) { m_securityGroupHasBeenSet = true; m_securityGroup.push_back(value); return *this; }
71 inline SelfManagedKafkaAccessConfigurationVpc& AddSecurityGroup(Aws::String&& value) { m_securityGroupHasBeenSet = true; m_securityGroup.push_back(std::move(value)); return *this; }
72 inline SelfManagedKafkaAccessConfigurationVpc& AddSecurityGroup(const char* value) { m_securityGroupHasBeenSet = true; m_securityGroup.push_back(value); return *this; }
74 private:
75
77 bool m_subnetsHasBeenSet = false;
78
79 Aws::Vector<Aws::String> m_securityGroup;
80 bool m_securityGroupHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Pipes
85} // namespace Aws
SelfManagedKafkaAccessConfigurationVpc & WithSubnets(const Aws::Vector< Aws::String > &value)
SelfManagedKafkaAccessConfigurationVpc & AddSubnets(const char *value)
SelfManagedKafkaAccessConfigurationVpc & AddSubnets(Aws::String &&value)
AWS_PIPES_API SelfManagedKafkaAccessConfigurationVpc & operator=(Aws::Utils::Json::JsonView jsonValue)
SelfManagedKafkaAccessConfigurationVpc & AddSubnets(const Aws::String &value)
SelfManagedKafkaAccessConfigurationVpc & WithSubnets(Aws::Vector< Aws::String > &&value)
SelfManagedKafkaAccessConfigurationVpc & AddSecurityGroup(Aws::String &&value)
SelfManagedKafkaAccessConfigurationVpc & WithSecurityGroup(Aws::Vector< Aws::String > &&value)
SelfManagedKafkaAccessConfigurationVpc & AddSecurityGroup(const char *value)
SelfManagedKafkaAccessConfigurationVpc & WithSecurityGroup(const Aws::Vector< Aws::String > &value)
AWS_PIPES_API SelfManagedKafkaAccessConfigurationVpc(Aws::Utils::Json::JsonView jsonValue)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
SelfManagedKafkaAccessConfigurationVpc & AddSecurityGroup(const 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