AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcConnection.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/kafka/model/VpcConnectionState.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 VpcConnection();
40 AWS_KAFKA_API VpcConnection(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const Aws::String& GetVpcConnectionArn() const{ return m_vpcConnectionArn; }
52 inline bool VpcConnectionArnHasBeenSet() const { return m_vpcConnectionArnHasBeenSet; }
53 inline void SetVpcConnectionArn(const Aws::String& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = value; }
54 inline void SetVpcConnectionArn(Aws::String&& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = std::move(value); }
55 inline void SetVpcConnectionArn(const char* value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn.assign(value); }
56 inline VpcConnection& WithVpcConnectionArn(const Aws::String& value) { SetVpcConnectionArn(value); return *this;}
57 inline VpcConnection& WithVpcConnectionArn(Aws::String&& value) { SetVpcConnectionArn(std::move(value)); return *this;}
58 inline VpcConnection& WithVpcConnectionArn(const char* value) { SetVpcConnectionArn(value); return *this;}
60
62
68 inline const Aws::String& GetTargetClusterArn() const{ return m_targetClusterArn; }
69 inline bool TargetClusterArnHasBeenSet() const { return m_targetClusterArnHasBeenSet; }
70 inline void SetTargetClusterArn(const Aws::String& value) { m_targetClusterArnHasBeenSet = true; m_targetClusterArn = value; }
71 inline void SetTargetClusterArn(Aws::String&& value) { m_targetClusterArnHasBeenSet = true; m_targetClusterArn = std::move(value); }
72 inline void SetTargetClusterArn(const char* value) { m_targetClusterArnHasBeenSet = true; m_targetClusterArn.assign(value); }
73 inline VpcConnection& WithTargetClusterArn(const Aws::String& value) { SetTargetClusterArn(value); return *this;}
74 inline VpcConnection& WithTargetClusterArn(Aws::String&& value) { SetTargetClusterArn(std::move(value)); return *this;}
75 inline VpcConnection& WithTargetClusterArn(const char* value) { SetTargetClusterArn(value); return *this;}
77
79
84 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
85 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
86 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
87 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
88 inline VpcConnection& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
89 inline VpcConnection& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
91
93
99 inline const Aws::String& GetAuthentication() const{ return m_authentication; }
100 inline bool AuthenticationHasBeenSet() const { return m_authenticationHasBeenSet; }
101 inline void SetAuthentication(const Aws::String& value) { m_authenticationHasBeenSet = true; m_authentication = value; }
102 inline void SetAuthentication(Aws::String&& value) { m_authenticationHasBeenSet = true; m_authentication = std::move(value); }
103 inline void SetAuthentication(const char* value) { m_authenticationHasBeenSet = true; m_authentication.assign(value); }
104 inline VpcConnection& WithAuthentication(const Aws::String& value) { SetAuthentication(value); return *this;}
105 inline VpcConnection& WithAuthentication(Aws::String&& value) { SetAuthentication(std::move(value)); return *this;}
106 inline VpcConnection& WithAuthentication(const char* value) { SetAuthentication(value); return *this;}
108
110
115 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
116 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
117 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
118 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
119 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
120 inline VpcConnection& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
121 inline VpcConnection& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
122 inline VpcConnection& WithVpcId(const char* value) { SetVpcId(value); return *this;}
124
126
131 inline const VpcConnectionState& GetState() const{ return m_state; }
132 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
133 inline void SetState(const VpcConnectionState& value) { m_stateHasBeenSet = true; m_state = value; }
134 inline void SetState(VpcConnectionState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
135 inline VpcConnection& WithState(const VpcConnectionState& value) { SetState(value); return *this;}
136 inline VpcConnection& WithState(VpcConnectionState&& value) { SetState(std::move(value)); return *this;}
138 private:
139
140 Aws::String m_vpcConnectionArn;
141 bool m_vpcConnectionArnHasBeenSet = false;
142
143 Aws::String m_targetClusterArn;
144 bool m_targetClusterArnHasBeenSet = false;
145
146 Aws::Utils::DateTime m_creationTime;
147 bool m_creationTimeHasBeenSet = false;
148
149 Aws::String m_authentication;
150 bool m_authenticationHasBeenSet = false;
151
152 Aws::String m_vpcId;
153 bool m_vpcIdHasBeenSet = false;
154
155 VpcConnectionState m_state;
156 bool m_stateHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace Kafka
161} // namespace Aws
void SetVpcId(const Aws::String &value)
VpcConnection & WithState(const VpcConnectionState &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetVpcConnectionArn(Aws::String &&value)
void SetVpcId(Aws::String &&value)
void SetVpcId(const char *value)
void SetState(VpcConnectionState &&value)
VpcConnection & WithAuthentication(const Aws::String &value)
AWS_KAFKA_API VpcConnection(Aws::Utils::Json::JsonView jsonValue)
VpcConnection & WithCreationTime(const Aws::Utils::DateTime &value)
const VpcConnectionState & GetState() const
VpcConnection & WithState(VpcConnectionState &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAuthentication(Aws::String &&value)
void SetTargetClusterArn(const Aws::String &value)
VpcConnection & WithVpcConnectionArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetAuthentication(const char *value)
void SetTargetClusterArn(Aws::String &&value)
VpcConnection & WithCreationTime(Aws::Utils::DateTime &&value)
void SetTargetClusterArn(const char *value)
VpcConnection & WithTargetClusterArn(const char *value)
const Aws::String & GetTargetClusterArn() const
void SetCreationTime(const Aws::Utils::DateTime &value)
VpcConnection & WithVpcConnectionArn(const char *value)
void SetVpcConnectionArn(const char *value)
VpcConnection & WithVpcConnectionArn(Aws::String &&value)
const Aws::String & GetVpcId() const
VpcConnection & WithAuthentication(const char *value)
void SetVpcConnectionArn(const Aws::String &value)
VpcConnection & WithTargetClusterArn(const Aws::String &value)
const Aws::String & GetAuthentication() const
VpcConnection & WithVpcId(Aws::String &&value)
void SetAuthentication(const Aws::String &value)
VpcConnection & WithAuthentication(Aws::String &&value)
VpcConnection & WithVpcId(const Aws::String &value)
VpcConnection & WithTargetClusterArn(Aws::String &&value)
AWS_KAFKA_API VpcConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetState(const VpcConnectionState &value)
const Aws::String & GetVpcConnectionArn() const
VpcConnection & WithVpcId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue