AWS SDK for C++  1.9.20
AWS SDK for C++
CreateVpcLinkResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace APIGateway
27 {
28 namespace Model
29 {
45  {
46  public:
50 
51 
56  inline const Aws::String& GetId() const{ return m_id; }
57 
62  inline void SetId(const Aws::String& value) { m_id = value; }
63 
68  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
69 
74  inline void SetId(const char* value) { m_id.assign(value); }
75 
80  inline CreateVpcLinkResult& WithId(const Aws::String& value) { SetId(value); return *this;}
81 
86  inline CreateVpcLinkResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
87 
92  inline CreateVpcLinkResult& WithId(const char* value) { SetId(value); return *this;}
93 
94 
98  inline const Aws::String& GetName() const{ return m_name; }
99 
103  inline void SetName(const Aws::String& value) { m_name = value; }
104 
108  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
109 
113  inline void SetName(const char* value) { m_name.assign(value); }
114 
118  inline CreateVpcLinkResult& WithName(const Aws::String& value) { SetName(value); return *this;}
119 
123  inline CreateVpcLinkResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
124 
128  inline CreateVpcLinkResult& WithName(const char* value) { SetName(value); return *this;}
129 
130 
134  inline const Aws::String& GetDescription() const{ return m_description; }
135 
139  inline void SetDescription(const Aws::String& value) { m_description = value; }
140 
144  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
145 
149  inline void SetDescription(const char* value) { m_description.assign(value); }
150 
154  inline CreateVpcLinkResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
155 
159  inline CreateVpcLinkResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
160 
164  inline CreateVpcLinkResult& WithDescription(const char* value) { SetDescription(value); return *this;}
165 
166 
172  inline const Aws::Vector<Aws::String>& GetTargetArns() const{ return m_targetArns; }
173 
179  inline void SetTargetArns(const Aws::Vector<Aws::String>& value) { m_targetArns = value; }
180 
186  inline void SetTargetArns(Aws::Vector<Aws::String>&& value) { m_targetArns = std::move(value); }
187 
193  inline CreateVpcLinkResult& WithTargetArns(const Aws::Vector<Aws::String>& value) { SetTargetArns(value); return *this;}
194 
200  inline CreateVpcLinkResult& WithTargetArns(Aws::Vector<Aws::String>&& value) { SetTargetArns(std::move(value)); return *this;}
201 
207  inline CreateVpcLinkResult& AddTargetArns(const Aws::String& value) { m_targetArns.push_back(value); return *this; }
208 
214  inline CreateVpcLinkResult& AddTargetArns(Aws::String&& value) { m_targetArns.push_back(std::move(value)); return *this; }
215 
221  inline CreateVpcLinkResult& AddTargetArns(const char* value) { m_targetArns.push_back(value); return *this; }
222 
223 
230  inline const VpcLinkStatus& GetStatus() const{ return m_status; }
231 
238  inline void SetStatus(const VpcLinkStatus& value) { m_status = value; }
239 
246  inline void SetStatus(VpcLinkStatus&& value) { m_status = std::move(value); }
247 
254  inline CreateVpcLinkResult& WithStatus(const VpcLinkStatus& value) { SetStatus(value); return *this;}
255 
262  inline CreateVpcLinkResult& WithStatus(VpcLinkStatus&& value) { SetStatus(std::move(value)); return *this;}
263 
264 
268  inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
269 
273  inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
274 
278  inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
279 
283  inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
284 
288  inline CreateVpcLinkResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
289 
293  inline CreateVpcLinkResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
294 
298  inline CreateVpcLinkResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
299 
300 
305  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
306 
311  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
312 
317  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
318 
323  inline CreateVpcLinkResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
324 
329  inline CreateVpcLinkResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
330 
335  inline CreateVpcLinkResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
336 
341  inline CreateVpcLinkResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
342 
347  inline CreateVpcLinkResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
348 
353  inline CreateVpcLinkResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
354 
359  inline CreateVpcLinkResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
360 
365  inline CreateVpcLinkResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
366 
371  inline CreateVpcLinkResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
372 
373  private:
374 
375  Aws::String m_id;
376 
377  Aws::String m_name;
378 
379  Aws::String m_description;
380 
381  Aws::Vector<Aws::String> m_targetArns;
382 
383  VpcLinkStatus m_status;
384 
385  Aws::String m_statusMessage;
386 
388  };
389 
390 } // namespace Model
391 } // namespace APIGateway
392 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
APIGateway_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::APIGateway::Model::VpcLinkStatus
VpcLinkStatus
Definition: VpcLinkStatus.h:17
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19