AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVpcConnectionResult.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
45 inline const Aws::String& GetVpcConnectionArn() const{ return m_vpcConnectionArn; }
46 inline void SetVpcConnectionArn(const Aws::String& value) { m_vpcConnectionArn = value; }
47 inline void SetVpcConnectionArn(Aws::String&& value) { m_vpcConnectionArn = std::move(value); }
48 inline void SetVpcConnectionArn(const char* value) { m_vpcConnectionArn.assign(value); }
50 inline CreateVpcConnectionResult& WithVpcConnectionArn(Aws::String&& value) { SetVpcConnectionArn(std::move(value)); return *this;}
51 inline CreateVpcConnectionResult& WithVpcConnectionArn(const char* value) { SetVpcConnectionArn(value); return *this;}
53
55
60 inline const VpcConnectionState& GetState() const{ return m_state; }
61 inline void SetState(const VpcConnectionState& value) { m_state = value; }
62 inline void SetState(VpcConnectionState&& value) { m_state = std::move(value); }
63 inline CreateVpcConnectionResult& WithState(const VpcConnectionState& value) { SetState(value); return *this;}
64 inline CreateVpcConnectionResult& WithState(VpcConnectionState&& value) { SetState(std::move(value)); return *this;}
66
68
73 inline const Aws::String& GetAuthentication() const{ return m_authentication; }
74 inline void SetAuthentication(const Aws::String& value) { m_authentication = value; }
75 inline void SetAuthentication(Aws::String&& value) { m_authentication = std::move(value); }
76 inline void SetAuthentication(const char* value) { m_authentication.assign(value); }
77 inline CreateVpcConnectionResult& WithAuthentication(const Aws::String& value) { SetAuthentication(value); return *this;}
78 inline CreateVpcConnectionResult& WithAuthentication(Aws::String&& value) { SetAuthentication(std::move(value)); return *this;}
79 inline CreateVpcConnectionResult& WithAuthentication(const char* value) { SetAuthentication(value); return *this;}
81
83
88 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
89 inline void SetVpcId(const Aws::String& value) { m_vpcId = value; }
90 inline void SetVpcId(Aws::String&& value) { m_vpcId = std::move(value); }
91 inline void SetVpcId(const char* value) { m_vpcId.assign(value); }
92 inline CreateVpcConnectionResult& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
93 inline CreateVpcConnectionResult& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
94 inline CreateVpcConnectionResult& WithVpcId(const char* value) { SetVpcId(value); return *this;}
96
98
103 inline const Aws::Vector<Aws::String>& GetClientSubnets() const{ return m_clientSubnets; }
104 inline void SetClientSubnets(const Aws::Vector<Aws::String>& value) { m_clientSubnets = value; }
105 inline void SetClientSubnets(Aws::Vector<Aws::String>&& value) { m_clientSubnets = std::move(value); }
108 inline CreateVpcConnectionResult& AddClientSubnets(const Aws::String& value) { m_clientSubnets.push_back(value); return *this; }
109 inline CreateVpcConnectionResult& AddClientSubnets(Aws::String&& value) { m_clientSubnets.push_back(std::move(value)); return *this; }
110 inline CreateVpcConnectionResult& AddClientSubnets(const char* value) { m_clientSubnets.push_back(value); return *this; }
112
114
119 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
120 inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroups = value; }
121 inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroups = std::move(value); }
124 inline CreateVpcConnectionResult& AddSecurityGroups(const Aws::String& value) { m_securityGroups.push_back(value); return *this; }
125 inline CreateVpcConnectionResult& AddSecurityGroups(Aws::String&& value) { m_securityGroups.push_back(std::move(value)); return *this; }
126 inline CreateVpcConnectionResult& AddSecurityGroups(const char* value) { m_securityGroups.push_back(value); return *this; }
128
130
135 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
136 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
137 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
139 inline CreateVpcConnectionResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
141
143
148 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
149 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
150 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
152 inline CreateVpcConnectionResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
153 inline CreateVpcConnectionResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
154 inline CreateVpcConnectionResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
155 inline CreateVpcConnectionResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
156 inline CreateVpcConnectionResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
157 inline CreateVpcConnectionResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
158 inline CreateVpcConnectionResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
159 inline CreateVpcConnectionResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
161
163
164 inline const Aws::String& GetRequestId() const{ return m_requestId; }
165 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
166 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
167 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
168 inline CreateVpcConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
169 inline CreateVpcConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
170 inline CreateVpcConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
172 private:
173
174 Aws::String m_vpcConnectionArn;
175
176 VpcConnectionState m_state;
177
178 Aws::String m_authentication;
179
180 Aws::String m_vpcId;
181
182 Aws::Vector<Aws::String> m_clientSubnets;
183
184 Aws::Vector<Aws::String> m_securityGroups;
185
186 Aws::Utils::DateTime m_creationTime;
187
189
190 Aws::String m_requestId;
191 };
192
193} // namespace Model
194} // namespace Kafka
195} // namespace Aws
CreateVpcConnectionResult & WithState(VpcConnectionState &&value)
CreateVpcConnectionResult & AddTags(Aws::String &&key, const char *value)
void SetState(const VpcConnectionState &value)
CreateVpcConnectionResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateVpcConnectionResult & WithRequestId(const Aws::String &value)
AWS_KAFKA_API CreateVpcConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreationTime(const Aws::Utils::DateTime &value)
CreateVpcConnectionResult & WithRequestId(const char *value)
CreateVpcConnectionResult & WithAuthentication(const Aws::String &value)
CreateVpcConnectionResult & WithAuthentication(Aws::String &&value)
CreateVpcConnectionResult & WithVpcConnectionArn(Aws::String &&value)
CreateVpcConnectionResult & WithVpcId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateVpcConnectionResult & AddTags(const char *key, const char *value)
CreateVpcConnectionResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateVpcConnectionResult & WithState(const VpcConnectionState &value)
CreateVpcConnectionResult & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Vector< Aws::String > & GetClientSubnets() const
CreateVpcConnectionResult & AddTags(const char *key, Aws::String &&value)
CreateVpcConnectionResult & WithVpcId(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateVpcConnectionResult & AddSecurityGroups(Aws::String &&value)
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
CreateVpcConnectionResult & AddSecurityGroups(const char *value)
CreateVpcConnectionResult & AddClientSubnets(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
CreateVpcConnectionResult & WithCreationTime(Aws::Utils::DateTime &&value)
CreateVpcConnectionResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateVpcConnectionResult & WithRequestId(Aws::String &&value)
CreateVpcConnectionResult & AddClientSubnets(const Aws::String &value)
CreateVpcConnectionResult & WithVpcConnectionArn(const Aws::String &value)
CreateVpcConnectionResult & WithAuthentication(const char *value)
void SetClientSubnets(Aws::Vector< Aws::String > &&value)
CreateVpcConnectionResult & WithCreationTime(const Aws::Utils::DateTime &value)
CreateVpcConnectionResult & WithVpcConnectionArn(const char *value)
CreateVpcConnectionResult & AddSecurityGroups(const Aws::String &value)
CreateVpcConnectionResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateVpcConnectionResult & WithClientSubnets(Aws::Vector< Aws::String > &&value)
CreateVpcConnectionResult & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
CreateVpcConnectionResult & WithVpcId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateVpcConnectionResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateVpcConnectionResult & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetClientSubnets(const Aws::Vector< Aws::String > &value)
CreateVpcConnectionResult & AddClientSubnets(const char *value)
CreateVpcConnectionResult & WithClientSubnets(const Aws::Vector< Aws::String > &value)
AWS_KAFKA_API CreateVpcConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetSecurityGroups(const Aws::Vector< 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