AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAuthentication(const Aws::String& value) { m_authenticationHasBeenSet = true; m_authentication = value; }
55 inline void SetAuthentication(Aws::String&& value) { m_authenticationHasBeenSet = true; m_authentication = std::move(value); }
56 inline void SetAuthentication(const char* value) { m_authenticationHasBeenSet = true; m_authentication.assign(value); }
57 inline ClientVpcConnection& WithAuthentication(const Aws::String& value) { SetAuthentication(value); return *this;}
58 inline ClientVpcConnection& WithAuthentication(Aws::String&& value) { SetAuthentication(std::move(value)); return *this;}
59 inline ClientVpcConnection& WithAuthentication(const char* value) { SetAuthentication(value); return *this;}
61
63
68 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
69 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
70 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
71 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
72 inline ClientVpcConnection& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
73 inline ClientVpcConnection& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
75
77
82 inline const VpcConnectionState& GetState() const{ return m_state; }
83 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
84 inline void SetState(const VpcConnectionState& value) { m_stateHasBeenSet = true; m_state = value; }
85 inline void SetState(VpcConnectionState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
86 inline ClientVpcConnection& WithState(const VpcConnectionState& value) { SetState(value); return *this;}
87 inline ClientVpcConnection& WithState(VpcConnectionState&& value) { SetState(std::move(value)); return *this;}
89
91
96 inline const Aws::String& GetVpcConnectionArn() const{ return m_vpcConnectionArn; }
97 inline bool VpcConnectionArnHasBeenSet() const { return m_vpcConnectionArnHasBeenSet; }
98 inline void SetVpcConnectionArn(const Aws::String& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = value; }
99 inline void SetVpcConnectionArn(Aws::String&& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = std::move(value); }
100 inline void SetVpcConnectionArn(const char* value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn.assign(value); }
101 inline ClientVpcConnection& WithVpcConnectionArn(const Aws::String& value) { SetVpcConnectionArn(value); return *this;}
102 inline ClientVpcConnection& WithVpcConnectionArn(Aws::String&& value) { SetVpcConnectionArn(std::move(value)); return *this;}
103 inline ClientVpcConnection& WithVpcConnectionArn(const char* value) { SetVpcConnectionArn(value); return *this;}
105
107
112 inline const Aws::String& GetOwner() const{ return m_owner; }
113 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
114 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
115 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
116 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
117 inline ClientVpcConnection& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
118 inline ClientVpcConnection& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
119 inline ClientVpcConnection& WithOwner(const char* value) { SetOwner(value); return *this;}
121 private:
122
123 Aws::String m_authentication;
124 bool m_authenticationHasBeenSet = false;
125
126 Aws::Utils::DateTime m_creationTime;
127 bool m_creationTimeHasBeenSet = false;
128
129 VpcConnectionState m_state;
130 bool m_stateHasBeenSet = false;
131
132 Aws::String m_vpcConnectionArn;
133 bool m_vpcConnectionArnHasBeenSet = false;
134
135 Aws::String m_owner;
136 bool m_ownerHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace Kafka
141} // namespace Aws
ClientVpcConnection & WithVpcConnectionArn(const char *value)
ClientVpcConnection & WithAuthentication(const char *value)
void SetVpcConnectionArn(Aws::String &&value)
ClientVpcConnection & WithAuthentication(const Aws::String &value)
ClientVpcConnection & WithCreationTime(Aws::Utils::DateTime &&value)
ClientVpcConnection & WithOwner(const Aws::String &value)
void SetAuthentication(const Aws::String &value)
void SetState(const VpcConnectionState &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ClientVpcConnection & WithVpcConnectionArn(Aws::String &&value)
void SetOwner(const Aws::String &value)
void SetState(VpcConnectionState &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetVpcConnectionArn(const Aws::String &value)
ClientVpcConnection & WithState(VpcConnectionState &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_KAFKA_API ClientVpcConnection(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAuthentication() const
ClientVpcConnection & WithAuthentication(Aws::String &&value)
ClientVpcConnection & WithOwner(Aws::String &&value)
ClientVpcConnection & WithVpcConnectionArn(const Aws::String &value)
void SetAuthentication(Aws::String &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVpcConnectionArn() const
ClientVpcConnection & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_KAFKA_API ClientVpcConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
const VpcConnectionState & GetState() const
ClientVpcConnection & WithState(const VpcConnectionState &value)
ClientVpcConnection & WithOwner(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue