AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Serverless.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kafka/model/ServerlessClientAuthentication.h>
10#include <aws/kafka/model/VpcConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Kafka
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_KAFKA_API Serverless();
39 AWS_KAFKA_API Serverless(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const Aws::Vector<VpcConfig>& GetVpcConfigs() const{ return m_vpcConfigs; }
52 inline bool VpcConfigsHasBeenSet() const { return m_vpcConfigsHasBeenSet; }
53 inline void SetVpcConfigs(const Aws::Vector<VpcConfig>& value) { m_vpcConfigsHasBeenSet = true; m_vpcConfigs = value; }
54 inline void SetVpcConfigs(Aws::Vector<VpcConfig>&& value) { m_vpcConfigsHasBeenSet = true; m_vpcConfigs = std::move(value); }
55 inline Serverless& WithVpcConfigs(const Aws::Vector<VpcConfig>& value) { SetVpcConfigs(value); return *this;}
56 inline Serverless& WithVpcConfigs(Aws::Vector<VpcConfig>&& value) { SetVpcConfigs(std::move(value)); return *this;}
57 inline Serverless& AddVpcConfigs(const VpcConfig& value) { m_vpcConfigsHasBeenSet = true; m_vpcConfigs.push_back(value); return *this; }
58 inline Serverless& AddVpcConfigs(VpcConfig&& value) { m_vpcConfigsHasBeenSet = true; m_vpcConfigs.push_back(std::move(value)); return *this; }
60
62
67 inline const ServerlessClientAuthentication& GetClientAuthentication() const{ return m_clientAuthentication; }
68 inline bool ClientAuthenticationHasBeenSet() const { return m_clientAuthenticationHasBeenSet; }
69 inline void SetClientAuthentication(const ServerlessClientAuthentication& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = value; }
70 inline void SetClientAuthentication(ServerlessClientAuthentication&& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = std::move(value); }
74 private:
75
76 Aws::Vector<VpcConfig> m_vpcConfigs;
77 bool m_vpcConfigsHasBeenSet = false;
78
79 ServerlessClientAuthentication m_clientAuthentication;
80 bool m_clientAuthenticationHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Kafka
85} // namespace Aws
bool VpcConfigsHasBeenSet() const
Definition Serverless.h:52
void SetClientAuthentication(ServerlessClientAuthentication &&value)
Definition Serverless.h:70
AWS_KAFKA_API Serverless(Aws::Utils::Json::JsonView jsonValue)
Serverless & WithClientAuthentication(const ServerlessClientAuthentication &value)
Definition Serverless.h:71
void SetVpcConfigs(const Aws::Vector< VpcConfig > &value)
Definition Serverless.h:53
const ServerlessClientAuthentication & GetClientAuthentication() const
Definition Serverless.h:67
bool ClientAuthenticationHasBeenSet() const
Definition Serverless.h:68
AWS_KAFKA_API Serverless & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
Serverless & WithVpcConfigs(Aws::Vector< VpcConfig > &&value)
Definition Serverless.h:56
Serverless & WithClientAuthentication(ServerlessClientAuthentication &&value)
Definition Serverless.h:72
void SetVpcConfigs(Aws::Vector< VpcConfig > &&value)
Definition Serverless.h:54
Serverless & WithVpcConfigs(const Aws::Vector< VpcConfig > &value)
Definition Serverless.h:55
Serverless & AddVpcConfigs(VpcConfig &&value)
Definition Serverless.h:58
Serverless & AddVpcConfigs(const VpcConfig &value)
Definition Serverless.h:57
void SetClientAuthentication(const ServerlessClientAuthentication &value)
Definition Serverless.h:69
const Aws::Vector< VpcConfig > & GetVpcConfigs() const
Definition Serverless.h:51
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue