AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
UpdateFeedResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elementalinference/ElementalInference_EXPORTS.h>
12#include <aws/elementalinference/model/FeedAssociation.h>
13#include <aws/elementalinference/model/FeedStatus.h>
14#include <aws/elementalinference/model/GetOutput.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace ElementalInference {
28namespace Model {
30 public:
31 AWS_ELEMENTALINFERENCE_API UpdateFeedResult() = default;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 template <typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) {
42 m_arnHasBeenSet = true;
43 m_arn = std::forward<ArnT>(value);
44 }
45 template <typename ArnT = Aws::String>
46 UpdateFeedResult& WithArn(ArnT&& value) {
47 SetArn(std::forward<ArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
63 UpdateFeedResult& WithName(NameT&& value) {
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetId() const { return m_id; }
74 template <typename IdT = Aws::String>
75 void SetId(IdT&& value) {
76 m_idHasBeenSet = true;
77 m_id = std::forward<IdT>(value);
78 }
79 template <typename IdT = Aws::String>
80 UpdateFeedResult& WithId(IdT&& value) {
81 SetId(std::forward<IdT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::Vector<Aws::String>& GetDataEndpoints() const { return m_dataEndpoints; }
91 template <typename DataEndpointsT = Aws::Vector<Aws::String>>
92 void SetDataEndpoints(DataEndpointsT&& value) {
93 m_dataEndpointsHasBeenSet = true;
94 m_dataEndpoints = std::forward<DataEndpointsT>(value);
95 }
96 template <typename DataEndpointsT = Aws::Vector<Aws::String>>
97 UpdateFeedResult& WithDataEndpoints(DataEndpointsT&& value) {
98 SetDataEndpoints(std::forward<DataEndpointsT>(value));
99 return *this;
100 }
101 template <typename DataEndpointsT = Aws::String>
102 UpdateFeedResult& AddDataEndpoints(DataEndpointsT&& value) {
103 m_dataEndpointsHasBeenSet = true;
104 m_dataEndpoints.emplace_back(std::forward<DataEndpointsT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::Vector<GetOutput>& GetOutputs() const { return m_outputs; }
115 template <typename OutputsT = Aws::Vector<GetOutput>>
116 void SetOutputs(OutputsT&& value) {
117 m_outputsHasBeenSet = true;
118 m_outputs = std::forward<OutputsT>(value);
119 }
120 template <typename OutputsT = Aws::Vector<GetOutput>>
121 UpdateFeedResult& WithOutputs(OutputsT&& value) {
122 SetOutputs(std::forward<OutputsT>(value));
123 return *this;
124 }
125 template <typename OutputsT = GetOutput>
126 UpdateFeedResult& AddOutputs(OutputsT&& value) {
127 m_outputsHasBeenSet = true;
128 m_outputs.emplace_back(std::forward<OutputsT>(value));
129 return *this;
130 }
132
134
137 inline FeedStatus GetStatus() const { return m_status; }
138 inline void SetStatus(FeedStatus value) {
139 m_statusHasBeenSet = true;
140 m_status = value;
141 }
143 SetStatus(value);
144 return *this;
145 }
147
149
152 inline const FeedAssociation& GetAssociation() const { return m_association; }
153 template <typename AssociationT = FeedAssociation>
154 void SetAssociation(AssociationT&& value) {
155 m_associationHasBeenSet = true;
156 m_association = std::forward<AssociationT>(value);
157 }
158 template <typename AssociationT = FeedAssociation>
159 UpdateFeedResult& WithAssociation(AssociationT&& value) {
160 SetAssociation(std::forward<AssociationT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
170 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
171 void SetTags(TagsT&& value) {
172 m_tagsHasBeenSet = true;
173 m_tags = std::forward<TagsT>(value);
174 }
175 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
176 UpdateFeedResult& WithTags(TagsT&& value) {
177 SetTags(std::forward<TagsT>(value));
178 return *this;
179 }
180 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
181 UpdateFeedResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
182 m_tagsHasBeenSet = true;
183 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
184 return *this;
185 }
187
189
190 inline const Aws::String& GetRequestId() const { return m_requestId; }
191 template <typename RequestIdT = Aws::String>
192 void SetRequestId(RequestIdT&& value) {
193 m_requestIdHasBeenSet = true;
194 m_requestId = std::forward<RequestIdT>(value);
195 }
196 template <typename RequestIdT = Aws::String>
197 UpdateFeedResult& WithRequestId(RequestIdT&& value) {
198 SetRequestId(std::forward<RequestIdT>(value));
199 return *this;
200 }
202 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
203
204 private:
205 Aws::String m_arn;
206
207 Aws::String m_name;
208
209 Aws::String m_id;
210
211 Aws::Vector<Aws::String> m_dataEndpoints;
212
213 Aws::Vector<GetOutput> m_outputs;
214
216
217 FeedAssociation m_association;
218
220
221 Aws::String m_requestId;
222 Aws::Http::HttpResponseCode m_HttpResponseCode;
223 bool m_arnHasBeenSet = false;
224 bool m_nameHasBeenSet = false;
225 bool m_idHasBeenSet = false;
226 bool m_dataEndpointsHasBeenSet = false;
227 bool m_outputsHasBeenSet = false;
228 bool m_statusHasBeenSet = false;
229 bool m_associationHasBeenSet = false;
230 bool m_tagsHasBeenSet = false;
231 bool m_requestIdHasBeenSet = false;
232};
233
234} // namespace Model
235} // namespace ElementalInference
236} // namespace Aws
const Aws::Vector< GetOutput > & GetOutputs() const
const Aws::Vector< Aws::String > & GetDataEndpoints() const
UpdateFeedResult & WithOutputs(OutputsT &&value)
AWS_ELEMENTALINFERENCE_API UpdateFeedResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFeedResult & AddOutputs(OutputsT &&value)
UpdateFeedResult & AddDataEndpoints(DataEndpointsT &&value)
UpdateFeedResult & WithAssociation(AssociationT &&value)
UpdateFeedResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdateFeedResult & WithStatus(FeedStatus value)
UpdateFeedResult & WithDataEndpoints(DataEndpointsT &&value)
UpdateFeedResult & WithName(NameT &&value)
UpdateFeedResult & WithRequestId(RequestIdT &&value)
AWS_ELEMENTALINFERENCE_API UpdateFeedResult()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_ELEMENTALINFERENCE_API UpdateFeedResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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