AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename VpcConfigsT = Aws::Vector<VpcConfig>>
54 void SetVpcConfigs(VpcConfigsT&& value) { m_vpcConfigsHasBeenSet = true; m_vpcConfigs = std::forward<VpcConfigsT>(value); }
55 template<typename VpcConfigsT = Aws::Vector<VpcConfig>>
56 Serverless& WithVpcConfigs(VpcConfigsT&& value) { SetVpcConfigs(std::forward<VpcConfigsT>(value)); return *this;}
57 template<typename VpcConfigsT = VpcConfig>
58 Serverless& AddVpcConfigs(VpcConfigsT&& value) { m_vpcConfigsHasBeenSet = true; m_vpcConfigs.emplace_back(std::forward<VpcConfigsT>(value)); return *this; }
60
62
67 inline const ServerlessClientAuthentication& GetClientAuthentication() const { return m_clientAuthentication; }
68 inline bool ClientAuthenticationHasBeenSet() const { return m_clientAuthenticationHasBeenSet; }
69 template<typename ClientAuthenticationT = ServerlessClientAuthentication>
70 void SetClientAuthentication(ClientAuthenticationT&& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = std::forward<ClientAuthenticationT>(value); }
71 template<typename ClientAuthenticationT = ServerlessClientAuthentication>
72 Serverless& WithClientAuthentication(ClientAuthenticationT&& value) { SetClientAuthentication(std::forward<ClientAuthenticationT>(value)); return *this;}
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(ClientAuthenticationT &&value)
Definition Serverless.h:70
AWS_KAFKA_API Serverless(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Serverless()=default
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)
Serverless & WithClientAuthentication(ClientAuthenticationT &&value)
Definition Serverless.h:72
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpcConfigs(VpcConfigsT &&value)
Definition Serverless.h:54
Serverless & WithVpcConfigs(VpcConfigsT &&value)
Definition Serverless.h:56
Serverless & AddVpcConfigs(VpcConfigsT &&value)
Definition Serverless.h:58
const Aws::Vector< VpcConfig > & GetVpcConfigs() const
Definition Serverless.h:51
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue