AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServerlessRequest.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
37 {
38 public:
39 AWS_KAFKA_API ServerlessRequest();
42 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline const Aws::Vector<VpcConfig>& GetVpcConfigs() const{ return m_vpcConfigs; }
53 inline bool VpcConfigsHasBeenSet() const { return m_vpcConfigsHasBeenSet; }
54 inline void SetVpcConfigs(const Aws::Vector<VpcConfig>& value) { m_vpcConfigsHasBeenSet = true; m_vpcConfigs = value; }
55 inline void SetVpcConfigs(Aws::Vector<VpcConfig>&& value) { m_vpcConfigsHasBeenSet = true; m_vpcConfigs = std::move(value); }
56 inline ServerlessRequest& WithVpcConfigs(const Aws::Vector<VpcConfig>& value) { SetVpcConfigs(value); return *this;}
57 inline ServerlessRequest& WithVpcConfigs(Aws::Vector<VpcConfig>&& value) { SetVpcConfigs(std::move(value)); return *this;}
58 inline ServerlessRequest& AddVpcConfigs(const VpcConfig& value) { m_vpcConfigsHasBeenSet = true; m_vpcConfigs.push_back(value); return *this; }
59 inline ServerlessRequest& AddVpcConfigs(VpcConfig&& value) { m_vpcConfigsHasBeenSet = true; m_vpcConfigs.push_back(std::move(value)); return *this; }
61
63
68 inline const ServerlessClientAuthentication& GetClientAuthentication() const{ return m_clientAuthentication; }
69 inline bool ClientAuthenticationHasBeenSet() const { return m_clientAuthenticationHasBeenSet; }
70 inline void SetClientAuthentication(const ServerlessClientAuthentication& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = value; }
71 inline void SetClientAuthentication(ServerlessClientAuthentication&& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = std::move(value); }
75 private:
76
77 Aws::Vector<VpcConfig> m_vpcConfigs;
78 bool m_vpcConfigsHasBeenSet = false;
79
80 ServerlessClientAuthentication m_clientAuthentication;
81 bool m_clientAuthenticationHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Kafka
86} // namespace Aws
ServerlessRequest & AddVpcConfigs(VpcConfig &&value)
AWS_KAFKA_API ServerlessRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< VpcConfig > & GetVpcConfigs() const
ServerlessRequest & WithVpcConfigs(Aws::Vector< VpcConfig > &&value)
void SetVpcConfigs(Aws::Vector< VpcConfig > &&value)
AWS_KAFKA_API ServerlessRequest(Aws::Utils::Json::JsonView jsonValue)
ServerlessRequest & WithClientAuthentication(ServerlessClientAuthentication &&value)
ServerlessRequest & WithClientAuthentication(const ServerlessClientAuthentication &value)
void SetClientAuthentication(const ServerlessClientAuthentication &value)
const ServerlessClientAuthentication & GetClientAuthentication() const
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
ServerlessRequest & WithVpcConfigs(const Aws::Vector< VpcConfig > &value)
void SetClientAuthentication(ServerlessClientAuthentication &&value)
void SetVpcConfigs(const Aws::Vector< VpcConfig > &value)
ServerlessRequest & AddVpcConfigs(const VpcConfig &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue