AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
KafkaClusterClientVpcConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Kafka {
21namespace Model {
22
30 public:
31 AWS_KAFKA_API KafkaClusterClientVpcConfig() = default;
34 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
41 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
42 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
43 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
44 m_securityGroupIdsHasBeenSet = true;
45 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
46 }
47 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
49 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
50 return *this;
51 }
52 template <typename SecurityGroupIdsT = Aws::String>
54 m_securityGroupIdsHasBeenSet = true;
55 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
65 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
66 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
67 void SetSubnetIds(SubnetIdsT&& value) {
68 m_subnetIdsHasBeenSet = true;
69 m_subnetIds = std::forward<SubnetIdsT>(value);
70 }
71 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
73 SetSubnetIds(std::forward<SubnetIdsT>(value));
74 return *this;
75 }
76 template <typename SubnetIdsT = Aws::String>
78 m_subnetIdsHasBeenSet = true;
79 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
80 return *this;
81 }
83 private:
84 Aws::Vector<Aws::String> m_securityGroupIds;
85
86 Aws::Vector<Aws::String> m_subnetIds;
87 bool m_securityGroupIdsHasBeenSet = false;
88 bool m_subnetIdsHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace Kafka
93} // namespace Aws
KafkaClusterClientVpcConfig & AddSubnetIds(SubnetIdsT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
AWS_KAFKA_API KafkaClusterClientVpcConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
KafkaClusterClientVpcConfig & AddSecurityGroupIds(SecurityGroupIdsT &&value)
KafkaClusterClientVpcConfig & WithSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_KAFKA_API KafkaClusterClientVpcConfig()=default
AWS_KAFKA_API KafkaClusterClientVpcConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
KafkaClusterClientVpcConfig & WithSubnetIds(SubnetIdsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue