AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeVpcConnectionResult.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/model/VpcConnectionState.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Kafka
28{
29namespace Model
30{
32 {
33 public:
37
38
40
46 inline const Aws::String& GetVpcConnectionArn() const{ return m_vpcConnectionArn; }
47 inline void SetVpcConnectionArn(const Aws::String& value) { m_vpcConnectionArn = value; }
48 inline void SetVpcConnectionArn(Aws::String&& value) { m_vpcConnectionArn = std::move(value); }
49 inline void SetVpcConnectionArn(const char* value) { m_vpcConnectionArn.assign(value); }
51 inline DescribeVpcConnectionResult& WithVpcConnectionArn(Aws::String&& value) { SetVpcConnectionArn(std::move(value)); return *this;}
52 inline DescribeVpcConnectionResult& WithVpcConnectionArn(const char* value) { SetVpcConnectionArn(value); return *this;}
54
56
62 inline const Aws::String& GetTargetClusterArn() const{ return m_targetClusterArn; }
63 inline void SetTargetClusterArn(const Aws::String& value) { m_targetClusterArn = value; }
64 inline void SetTargetClusterArn(Aws::String&& value) { m_targetClusterArn = std::move(value); }
65 inline void SetTargetClusterArn(const char* value) { m_targetClusterArn.assign(value); }
67 inline DescribeVpcConnectionResult& WithTargetClusterArn(Aws::String&& value) { SetTargetClusterArn(std::move(value)); return *this;}
68 inline DescribeVpcConnectionResult& WithTargetClusterArn(const char* value) { SetTargetClusterArn(value); return *this;}
70
72
77 inline const VpcConnectionState& GetState() const{ return m_state; }
78 inline void SetState(const VpcConnectionState& value) { m_state = value; }
79 inline void SetState(VpcConnectionState&& value) { m_state = std::move(value); }
80 inline DescribeVpcConnectionResult& WithState(const VpcConnectionState& value) { SetState(value); return *this;}
81 inline DescribeVpcConnectionResult& WithState(VpcConnectionState&& value) { SetState(std::move(value)); return *this;}
83
85
90 inline const Aws::String& GetAuthentication() const{ return m_authentication; }
91 inline void SetAuthentication(const Aws::String& value) { m_authentication = value; }
92 inline void SetAuthentication(Aws::String&& value) { m_authentication = std::move(value); }
93 inline void SetAuthentication(const char* value) { m_authentication.assign(value); }
94 inline DescribeVpcConnectionResult& WithAuthentication(const Aws::String& value) { SetAuthentication(value); return *this;}
95 inline DescribeVpcConnectionResult& WithAuthentication(Aws::String&& value) { SetAuthentication(std::move(value)); return *this;}
96 inline DescribeVpcConnectionResult& WithAuthentication(const char* value) { SetAuthentication(value); return *this;}
98
100
105 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
106 inline void SetVpcId(const Aws::String& value) { m_vpcId = value; }
107 inline void SetVpcId(Aws::String&& value) { m_vpcId = std::move(value); }
108 inline void SetVpcId(const char* value) { m_vpcId.assign(value); }
109 inline DescribeVpcConnectionResult& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
110 inline DescribeVpcConnectionResult& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
111 inline DescribeVpcConnectionResult& WithVpcId(const char* value) { SetVpcId(value); return *this;}
113
115
120 inline const Aws::Vector<Aws::String>& GetSubnets() const{ return m_subnets; }
121 inline void SetSubnets(const Aws::Vector<Aws::String>& value) { m_subnets = value; }
122 inline void SetSubnets(Aws::Vector<Aws::String>&& value) { m_subnets = std::move(value); }
123 inline DescribeVpcConnectionResult& WithSubnets(const Aws::Vector<Aws::String>& value) { SetSubnets(value); return *this;}
124 inline DescribeVpcConnectionResult& WithSubnets(Aws::Vector<Aws::String>&& value) { SetSubnets(std::move(value)); return *this;}
125 inline DescribeVpcConnectionResult& AddSubnets(const Aws::String& value) { m_subnets.push_back(value); return *this; }
126 inline DescribeVpcConnectionResult& AddSubnets(Aws::String&& value) { m_subnets.push_back(std::move(value)); return *this; }
127 inline DescribeVpcConnectionResult& AddSubnets(const char* value) { m_subnets.push_back(value); return *this; }
129
131
136 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
137 inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroups = value; }
138 inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroups = std::move(value); }
141 inline DescribeVpcConnectionResult& AddSecurityGroups(const Aws::String& value) { m_securityGroups.push_back(value); return *this; }
142 inline DescribeVpcConnectionResult& AddSecurityGroups(Aws::String&& value) { m_securityGroups.push_back(std::move(value)); return *this; }
143 inline DescribeVpcConnectionResult& AddSecurityGroups(const char* value) { m_securityGroups.push_back(value); return *this; }
145
147
152 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
153 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
154 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
156 inline DescribeVpcConnectionResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
158
160
165 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
166 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
167 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
169 inline DescribeVpcConnectionResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
170 inline DescribeVpcConnectionResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
171 inline DescribeVpcConnectionResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
172 inline DescribeVpcConnectionResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
173 inline DescribeVpcConnectionResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
174 inline DescribeVpcConnectionResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
175 inline DescribeVpcConnectionResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
176 inline DescribeVpcConnectionResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
178
180
181 inline const Aws::String& GetRequestId() const{ return m_requestId; }
182 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
183 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
184 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
185 inline DescribeVpcConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
186 inline DescribeVpcConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
187 inline DescribeVpcConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
189 private:
190
191 Aws::String m_vpcConnectionArn;
192
193 Aws::String m_targetClusterArn;
194
195 VpcConnectionState m_state;
196
197 Aws::String m_authentication;
198
199 Aws::String m_vpcId;
200
201 Aws::Vector<Aws::String> m_subnets;
202
203 Aws::Vector<Aws::String> m_securityGroups;
204
205 Aws::Utils::DateTime m_creationTime;
206
208
209 Aws::String m_requestId;
210 };
211
212} // namespace Model
213} // namespace Kafka
214} // namespace Aws
AWS_KAFKA_API DescribeVpcConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeVpcConnectionResult & WithAuthentication(const Aws::String &value)
DescribeVpcConnectionResult & WithAuthentication(Aws::String &&value)
DescribeVpcConnectionResult & WithAuthentication(const char *value)
DescribeVpcConnectionResult & WithVpcId(Aws::String &&value)
DescribeVpcConnectionResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeVpcConnectionResult & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
DescribeVpcConnectionResult & AddSecurityGroups(Aws::String &&value)
DescribeVpcConnectionResult & WithTargetClusterArn(const Aws::String &value)
DescribeVpcConnectionResult & WithVpcConnectionArn(const char *value)
DescribeVpcConnectionResult & WithTargetClusterArn(Aws::String &&value)
DescribeVpcConnectionResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
DescribeVpcConnectionResult & WithVpcConnectionArn(const Aws::String &value)
DescribeVpcConnectionResult & WithTargetClusterArn(const char *value)
DescribeVpcConnectionResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeVpcConnectionResult & WithVpcConnectionArn(Aws::String &&value)
DescribeVpcConnectionResult & AddSecurityGroups(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
DescribeVpcConnectionResult & AddSubnets(const char *value)
DescribeVpcConnectionResult & AddSecurityGroups(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Vector< Aws::String > & GetSubnets() const
DescribeVpcConnectionResult & WithRequestId(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeVpcConnectionResult & AddTags(Aws::String &&key, const char *value)
DescribeVpcConnectionResult & WithVpcId(const Aws::String &value)
DescribeVpcConnectionResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetSubnets(const Aws::Vector< Aws::String > &value)
void SetSubnets(Aws::Vector< Aws::String > &&value)
DescribeVpcConnectionResult & WithState(const VpcConnectionState &value)
DescribeVpcConnectionResult & AddSubnets(Aws::String &&value)
DescribeVpcConnectionResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeVpcConnectionResult & AddTags(const char *key, const char *value)
DescribeVpcConnectionResult & WithSubnets(Aws::Vector< Aws::String > &&value)
DescribeVpcConnectionResult & WithSubnets(const Aws::Vector< Aws::String > &value)
DescribeVpcConnectionResult & AddSubnets(const Aws::String &value)
AWS_KAFKA_API DescribeVpcConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeVpcConnectionResult & WithState(VpcConnectionState &&value)
DescribeVpcConnectionResult & WithVpcId(const char *value)
DescribeVpcConnectionResult & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
DescribeVpcConnectionResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeVpcConnectionResult & AddTags(const char *key, Aws::String &&value)
DescribeVpcConnectionResult & WithRequestId(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeVpcConnectionResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeVpcConnectionResult & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
DescribeVpcConnectionResult & WithRequestId(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue