AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ClientVpcConnection.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10#include <aws/kafka/model/VpcConnectionState.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Kafka {
22namespace Model {
23
33 public:
34 AWS_KAFKA_API ClientVpcConnection() = default;
37 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
46 inline const Aws::String& GetAuthentication() const { return m_authentication; }
47 inline bool AuthenticationHasBeenSet() const { return m_authenticationHasBeenSet; }
48 template <typename AuthenticationT = Aws::String>
49 void SetAuthentication(AuthenticationT&& value) {
50 m_authenticationHasBeenSet = true;
51 m_authentication = std::forward<AuthenticationT>(value);
52 }
53 template <typename AuthenticationT = Aws::String>
54 ClientVpcConnection& WithAuthentication(AuthenticationT&& value) {
55 SetAuthentication(std::forward<AuthenticationT>(value));
56 return *this;
57 }
59
61
66 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
67 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
68 template <typename CreationTimeT = Aws::Utils::DateTime>
69 void SetCreationTime(CreationTimeT&& value) {
70 m_creationTimeHasBeenSet = true;
71 m_creationTime = std::forward<CreationTimeT>(value);
72 }
73 template <typename CreationTimeT = Aws::Utils::DateTime>
74 ClientVpcConnection& WithCreationTime(CreationTimeT&& value) {
75 SetCreationTime(std::forward<CreationTimeT>(value));
76 return *this;
77 }
79
81
86 inline VpcConnectionState GetState() const { return m_state; }
87 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
88 inline void SetState(VpcConnectionState value) {
89 m_stateHasBeenSet = true;
90 m_state = value;
91 }
93 SetState(value);
94 return *this;
95 }
97
99
104 inline const Aws::String& GetVpcConnectionArn() const { return m_vpcConnectionArn; }
105 inline bool VpcConnectionArnHasBeenSet() const { return m_vpcConnectionArnHasBeenSet; }
106 template <typename VpcConnectionArnT = Aws::String>
107 void SetVpcConnectionArn(VpcConnectionArnT&& value) {
108 m_vpcConnectionArnHasBeenSet = true;
109 m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value);
110 }
111 template <typename VpcConnectionArnT = Aws::String>
112 ClientVpcConnection& WithVpcConnectionArn(VpcConnectionArnT&& value) {
113 SetVpcConnectionArn(std::forward<VpcConnectionArnT>(value));
114 return *this;
115 }
117
119
124 inline const Aws::String& GetOwner() const { return m_owner; }
125 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
126 template <typename OwnerT = Aws::String>
127 void SetOwner(OwnerT&& value) {
128 m_ownerHasBeenSet = true;
129 m_owner = std::forward<OwnerT>(value);
130 }
131 template <typename OwnerT = Aws::String>
133 SetOwner(std::forward<OwnerT>(value));
134 return *this;
135 }
137 private:
138 Aws::String m_authentication;
139
140 Aws::Utils::DateTime m_creationTime{};
141
143
144 Aws::String m_vpcConnectionArn;
145
146 Aws::String m_owner;
147 bool m_authenticationHasBeenSet = false;
148 bool m_creationTimeHasBeenSet = false;
149 bool m_stateHasBeenSet = false;
150 bool m_vpcConnectionArnHasBeenSet = false;
151 bool m_ownerHasBeenSet = false;
152};
153
154} // namespace Model
155} // namespace Kafka
156} // namespace Aws
void SetAuthentication(AuthenticationT &&value)
ClientVpcConnection & WithCreationTime(CreationTimeT &&value)
ClientVpcConnection & WithAuthentication(AuthenticationT &&value)
void SetVpcConnectionArn(VpcConnectionArnT &&value)
ClientVpcConnection & WithVpcConnectionArn(VpcConnectionArnT &&value)
ClientVpcConnection & WithOwner(OwnerT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetState(VpcConnectionState value)
AWS_KAFKA_API ClientVpcConnection()=default
AWS_KAFKA_API ClientVpcConnection(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAuthentication() const
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVpcConnectionArn() const
ClientVpcConnection & WithState(VpcConnectionState value)
void SetCreationTime(CreationTimeT &&value)
AWS_KAFKA_API ClientVpcConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue