AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KafkaClusterClientVpcConfig.h
1
6#pragma once
7#include <aws/kafka/Kafka_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 Kafka
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
47 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
48 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
49 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
52 inline KafkaClusterClientVpcConfig& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
53 inline KafkaClusterClientVpcConfig& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
54 inline KafkaClusterClientVpcConfig& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
56
58
61 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
62 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
63 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
64 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
66 inline KafkaClusterClientVpcConfig& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
67 inline KafkaClusterClientVpcConfig& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
68 inline KafkaClusterClientVpcConfig& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
69 inline KafkaClusterClientVpcConfig& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
71 private:
72
73 Aws::Vector<Aws::String> m_securityGroupIds;
74 bool m_securityGroupIdsHasBeenSet = false;
75
76 Aws::Vector<Aws::String> m_subnetIds;
77 bool m_subnetIdsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Kafka
82} // namespace Aws
KafkaClusterClientVpcConfig & AddSubnetIds(Aws::String &&value)
KafkaClusterClientVpcConfig & WithSubnetIds(const Aws::Vector< Aws::String > &value)
KafkaClusterClientVpcConfig & AddSecurityGroupIds(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
KafkaClusterClientVpcConfig & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
KafkaClusterClientVpcConfig & AddSecurityGroupIds(const char *value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
AWS_KAFKA_API KafkaClusterClientVpcConfig(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
KafkaClusterClientVpcConfig & AddSubnetIds(const char *value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
KafkaClusterClientVpcConfig & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
KafkaClusterClientVpcConfig & AddSubnetIds(const Aws::String &value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
KafkaClusterClientVpcConfig & WithSubnetIds(Aws::Vector< Aws::String > &&value)
KafkaClusterClientVpcConfig & AddSecurityGroupIds(Aws::String &&value)
AWS_KAFKA_API KafkaClusterClientVpcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue