AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ClientVpcConnection.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 ClientVpcConnection() = default;
42 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline const Aws::String& GetAuthentication() const { return m_authentication; }
53 inline bool AuthenticationHasBeenSet() const { return m_authenticationHasBeenSet; }
54 template<typename AuthenticationT = Aws::String>
55 void SetAuthentication(AuthenticationT&& value) { m_authenticationHasBeenSet = true; m_authentication = std::forward<AuthenticationT>(value); }
56 template<typename AuthenticationT = Aws::String>
57 ClientVpcConnection& WithAuthentication(AuthenticationT&& value) { SetAuthentication(std::forward<AuthenticationT>(value)); return *this;}
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) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
70 template<typename CreationTimeT = Aws::Utils::DateTime>
71 ClientVpcConnection& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
73
75
80 inline VpcConnectionState GetState() const { return m_state; }
81 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
82 inline void SetState(VpcConnectionState value) { m_stateHasBeenSet = true; m_state = value; }
83 inline ClientVpcConnection& WithState(VpcConnectionState value) { SetState(value); return *this;}
85
87
92 inline const Aws::String& GetVpcConnectionArn() const { return m_vpcConnectionArn; }
93 inline bool VpcConnectionArnHasBeenSet() const { return m_vpcConnectionArnHasBeenSet; }
94 template<typename VpcConnectionArnT = Aws::String>
95 void SetVpcConnectionArn(VpcConnectionArnT&& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value); }
96 template<typename VpcConnectionArnT = Aws::String>
97 ClientVpcConnection& WithVpcConnectionArn(VpcConnectionArnT&& value) { SetVpcConnectionArn(std::forward<VpcConnectionArnT>(value)); return *this;}
99
101
106 inline const Aws::String& GetOwner() const { return m_owner; }
107 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
108 template<typename OwnerT = Aws::String>
109 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet = true; m_owner = std::forward<OwnerT>(value); }
110 template<typename OwnerT = Aws::String>
111 ClientVpcConnection& WithOwner(OwnerT&& value) { SetOwner(std::forward<OwnerT>(value)); return *this;}
113 private:
114
115 Aws::String m_authentication;
116 bool m_authenticationHasBeenSet = false;
117
118 Aws::Utils::DateTime m_creationTime{};
119 bool m_creationTimeHasBeenSet = false;
120
122 bool m_stateHasBeenSet = false;
123
124 Aws::String m_vpcConnectionArn;
125 bool m_vpcConnectionArnHasBeenSet = false;
126
127 Aws::String m_owner;
128 bool m_ownerHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace Kafka
133} // 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