AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateVpcLinkResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/apigateway/model/VpcLinkStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace APIGateway
27{
28namespace Model
29{
37 {
38 public:
39 AWS_APIGATEWAY_API UpdateVpcLinkResult();
42
43
45
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline void SetId(const Aws::String& value) { m_id = value; }
51 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
52 inline void SetId(const char* value) { m_id.assign(value); }
53 inline UpdateVpcLinkResult& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline UpdateVpcLinkResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline UpdateVpcLinkResult& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline void SetName(const Aws::String& value) { m_name = value; }
64 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
65 inline void SetName(const char* value) { m_name.assign(value); }
66 inline UpdateVpcLinkResult& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline UpdateVpcLinkResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline UpdateVpcLinkResult& WithName(const char* value) { SetName(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline void SetDescription(const Aws::String& value) { m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_description.assign(value); }
79 inline UpdateVpcLinkResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline UpdateVpcLinkResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline UpdateVpcLinkResult& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
90 inline const Aws::Vector<Aws::String>& GetTargetArns() const{ return m_targetArns; }
91 inline void SetTargetArns(const Aws::Vector<Aws::String>& value) { m_targetArns = value; }
92 inline void SetTargetArns(Aws::Vector<Aws::String>&& value) { m_targetArns = std::move(value); }
93 inline UpdateVpcLinkResult& WithTargetArns(const Aws::Vector<Aws::String>& value) { SetTargetArns(value); return *this;}
94 inline UpdateVpcLinkResult& WithTargetArns(Aws::Vector<Aws::String>&& value) { SetTargetArns(std::move(value)); return *this;}
95 inline UpdateVpcLinkResult& AddTargetArns(const Aws::String& value) { m_targetArns.push_back(value); return *this; }
96 inline UpdateVpcLinkResult& AddTargetArns(Aws::String&& value) { m_targetArns.push_back(std::move(value)); return *this; }
97 inline UpdateVpcLinkResult& AddTargetArns(const char* value) { m_targetArns.push_back(value); return *this; }
99
101
107 inline const VpcLinkStatus& GetStatus() const{ return m_status; }
108 inline void SetStatus(const VpcLinkStatus& value) { m_status = value; }
109 inline void SetStatus(VpcLinkStatus&& value) { m_status = std::move(value); }
110 inline UpdateVpcLinkResult& WithStatus(const VpcLinkStatus& value) { SetStatus(value); return *this;}
111 inline UpdateVpcLinkResult& WithStatus(VpcLinkStatus&& value) { SetStatus(std::move(value)); return *this;}
113
115
118 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
119 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
120 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
121 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
122 inline UpdateVpcLinkResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
123 inline UpdateVpcLinkResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
124 inline UpdateVpcLinkResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
126
128
132 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
133 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
134 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
135 inline UpdateVpcLinkResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
136 inline UpdateVpcLinkResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
137 inline UpdateVpcLinkResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
138 inline UpdateVpcLinkResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
139 inline UpdateVpcLinkResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
140 inline UpdateVpcLinkResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
141 inline UpdateVpcLinkResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
142 inline UpdateVpcLinkResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
143 inline UpdateVpcLinkResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
145
147
148 inline const Aws::String& GetRequestId() const{ return m_requestId; }
149 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
150 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
151 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
152 inline UpdateVpcLinkResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
153 inline UpdateVpcLinkResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
154 inline UpdateVpcLinkResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
156 private:
157
158 Aws::String m_id;
159
160 Aws::String m_name;
161
162 Aws::String m_description;
163
164 Aws::Vector<Aws::String> m_targetArns;
165
166 VpcLinkStatus m_status;
167
168 Aws::String m_statusMessage;
169
171
172 Aws::String m_requestId;
173 };
174
175} // namespace Model
176} // namespace APIGateway
177} // namespace Aws
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