AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
42
43
45
49 inline const Aws::String& GetId() const { return m_id; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 UpdateVpcLinkResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 UpdateVpcLinkResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 UpdateVpcLinkResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
84 inline const Aws::Vector<Aws::String>& GetTargetArns() const { return m_targetArns; }
85 template<typename TargetArnsT = Aws::Vector<Aws::String>>
86 void SetTargetArns(TargetArnsT&& value) { m_targetArnsHasBeenSet = true; m_targetArns = std::forward<TargetArnsT>(value); }
87 template<typename TargetArnsT = Aws::Vector<Aws::String>>
88 UpdateVpcLinkResult& WithTargetArns(TargetArnsT&& value) { SetTargetArns(std::forward<TargetArnsT>(value)); return *this;}
89 template<typename TargetArnsT = Aws::String>
90 UpdateVpcLinkResult& AddTargetArns(TargetArnsT&& value) { m_targetArnsHasBeenSet = true; m_targetArns.emplace_back(std::forward<TargetArnsT>(value)); return *this; }
92
94
100 inline VpcLinkStatus GetStatus() const { return m_status; }
101 inline void SetStatus(VpcLinkStatus value) { m_statusHasBeenSet = true; m_status = value; }
102 inline UpdateVpcLinkResult& WithStatus(VpcLinkStatus value) { SetStatus(value); return *this;}
104
106
109 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
110 template<typename StatusMessageT = Aws::String>
111 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
112 template<typename StatusMessageT = Aws::String>
113 UpdateVpcLinkResult& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
115
117
121 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
122 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
123 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
124 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 UpdateVpcLinkResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
126 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
127 UpdateVpcLinkResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
128 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
129 }
131
133
134 inline const Aws::String& GetRequestId() const { return m_requestId; }
135 template<typename RequestIdT = Aws::String>
136 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
137 template<typename RequestIdT = Aws::String>
138 UpdateVpcLinkResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
140 private:
141
142 Aws::String m_id;
143 bool m_idHasBeenSet = false;
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
151 Aws::Vector<Aws::String> m_targetArns;
152 bool m_targetArnsHasBeenSet = false;
153
155 bool m_statusHasBeenSet = false;
156
157 Aws::String m_statusMessage;
158 bool m_statusMessageHasBeenSet = false;
159
161 bool m_tagsHasBeenSet = false;
162
163 Aws::String m_requestId;
164 bool m_requestIdHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace APIGateway
169} // 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