AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectivityInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/PublicAccess.h>
9#include <aws/kafka/model/VpcConnectivity.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
36 {
37 public:
38 AWS_KAFKA_API ConnectivityInfo();
41 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const PublicAccess& GetPublicAccess() const{ return m_publicAccess; }
51 inline bool PublicAccessHasBeenSet() const { return m_publicAccessHasBeenSet; }
52 inline void SetPublicAccess(const PublicAccess& value) { m_publicAccessHasBeenSet = true; m_publicAccess = value; }
53 inline void SetPublicAccess(PublicAccess&& value) { m_publicAccessHasBeenSet = true; m_publicAccess = std::move(value); }
54 inline ConnectivityInfo& WithPublicAccess(const PublicAccess& value) { SetPublicAccess(value); return *this;}
55 inline ConnectivityInfo& WithPublicAccess(PublicAccess&& value) { SetPublicAccess(std::move(value)); return *this;}
57
59
64 inline const VpcConnectivity& GetVpcConnectivity() const{ return m_vpcConnectivity; }
65 inline bool VpcConnectivityHasBeenSet() const { return m_vpcConnectivityHasBeenSet; }
66 inline void SetVpcConnectivity(const VpcConnectivity& value) { m_vpcConnectivityHasBeenSet = true; m_vpcConnectivity = value; }
67 inline void SetVpcConnectivity(VpcConnectivity&& value) { m_vpcConnectivityHasBeenSet = true; m_vpcConnectivity = std::move(value); }
68 inline ConnectivityInfo& WithVpcConnectivity(const VpcConnectivity& value) { SetVpcConnectivity(value); return *this;}
69 inline ConnectivityInfo& WithVpcConnectivity(VpcConnectivity&& value) { SetVpcConnectivity(std::move(value)); return *this;}
71 private:
72
73 PublicAccess m_publicAccess;
74 bool m_publicAccessHasBeenSet = false;
75
76 VpcConnectivity m_vpcConnectivity;
77 bool m_vpcConnectivityHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Kafka
82} // namespace Aws
AWS_KAFKA_API ConnectivityInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectivityInfo & WithVpcConnectivity(const VpcConnectivity &value)
ConnectivityInfo & WithVpcConnectivity(VpcConnectivity &&value)
void SetPublicAccess(const PublicAccess &value)
AWS_KAFKA_API ConnectivityInfo(Aws::Utils::Json::JsonView jsonValue)
ConnectivityInfo & WithPublicAccess(const PublicAccess &value)
void SetVpcConnectivity(const VpcConnectivity &value)
void SetPublicAccess(PublicAccess &&value)
ConnectivityInfo & WithPublicAccess(PublicAccess &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpcConnectivity(VpcConnectivity &&value)
const PublicAccess & GetPublicAccess() const
const VpcConnectivity & GetVpcConnectivity() const
Aws::Utils::Json::JsonValue JsonValue