AWS SDK for C++

AWS SDK for C++ Version 1.11.899

Loading...
Searching...
No Matches
GetFeedResult.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 GetFeedResult() = 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 GetFeedResult& 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 GetFeedResult& 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 GetFeedResult& 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 GetFeedResult& WithDataEndpoints(DataEndpointsT&& value) {
98 SetDataEndpoints(std::forward<DataEndpointsT>(value));
99 return *this;
100 }
101 template <typename DataEndpointsT = Aws::String>
102 GetFeedResult& AddDataEndpoints(DataEndpointsT&& value) {
103 m_dataEndpointsHasBeenSet = true;
104 m_dataEndpoints.emplace_back(std::forward<DataEndpointsT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Vector<GetOutput>& GetOutputs() const { return m_outputs; }
114 template <typename OutputsT = Aws::Vector<GetOutput>>
115 void SetOutputs(OutputsT&& value) {
116 m_outputsHasBeenSet = true;
117 m_outputs = std::forward<OutputsT>(value);
118 }
119 template <typename OutputsT = Aws::Vector<GetOutput>>
120 GetFeedResult& WithOutputs(OutputsT&& value) {
121 SetOutputs(std::forward<OutputsT>(value));
122 return *this;
123 }
124 template <typename OutputsT = GetOutput>
125 GetFeedResult& AddOutputs(OutputsT&& value) {
126 m_outputsHasBeenSet = true;
127 m_outputs.emplace_back(std::forward<OutputsT>(value));
128 return *this;
129 }
131
133
139 inline const Aws::String& GetAccessRoleArn() const { return m_accessRoleArn; }
140 template <typename AccessRoleArnT = Aws::String>
141 void SetAccessRoleArn(AccessRoleArnT&& value) {
142 m_accessRoleArnHasBeenSet = true;
143 m_accessRoleArn = std::forward<AccessRoleArnT>(value);
144 }
145 template <typename AccessRoleArnT = Aws::String>
146 GetFeedResult& WithAccessRoleArn(AccessRoleArnT&& value) {
147 SetAccessRoleArn(std::forward<AccessRoleArnT>(value));
148 return *this;
149 }
151
153
156 inline FeedStatus GetStatus() const { return m_status; }
157 inline void SetStatus(FeedStatus value) {
158 m_statusHasBeenSet = true;
159 m_status = value;
160 }
162 SetStatus(value);
163 return *this;
164 }
166
168
172 inline const FeedAssociation& GetAssociation() const { return m_association; }
173 template <typename AssociationT = FeedAssociation>
174 void SetAssociation(AssociationT&& value) {
175 m_associationHasBeenSet = true;
176 m_association = std::forward<AssociationT>(value);
177 }
178 template <typename AssociationT = FeedAssociation>
179 GetFeedResult& WithAssociation(AssociationT&& value) {
180 SetAssociation(std::forward<AssociationT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
190 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
191 void SetTags(TagsT&& value) {
192 m_tagsHasBeenSet = true;
193 m_tags = std::forward<TagsT>(value);
194 }
195 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
196 GetFeedResult& WithTags(TagsT&& value) {
197 SetTags(std::forward<TagsT>(value));
198 return *this;
199 }
200 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
201 GetFeedResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
202 m_tagsHasBeenSet = true;
203 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
204 return *this;
205 }
207
209
210 inline const Aws::String& GetRequestId() const { return m_requestId; }
211 template <typename RequestIdT = Aws::String>
212 void SetRequestId(RequestIdT&& value) {
213 m_requestIdHasBeenSet = true;
214 m_requestId = std::forward<RequestIdT>(value);
215 }
216 template <typename RequestIdT = Aws::String>
217 GetFeedResult& WithRequestId(RequestIdT&& value) {
218 SetRequestId(std::forward<RequestIdT>(value));
219 return *this;
220 }
222 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
223
224 private:
225 Aws::String m_arn;
226
227 Aws::String m_name;
228
229 Aws::String m_id;
230
231 Aws::Vector<Aws::String> m_dataEndpoints;
232
233 Aws::Vector<GetOutput> m_outputs;
234
235 Aws::String m_accessRoleArn;
236
238
239 FeedAssociation m_association;
240
242
243 Aws::String m_requestId;
244 Aws::Http::HttpResponseCode m_HttpResponseCode;
245 bool m_arnHasBeenSet = false;
246 bool m_nameHasBeenSet = false;
247 bool m_idHasBeenSet = false;
248 bool m_dataEndpointsHasBeenSet = false;
249 bool m_outputsHasBeenSet = false;
250 bool m_accessRoleArnHasBeenSet = false;
251 bool m_statusHasBeenSet = false;
252 bool m_associationHasBeenSet = false;
253 bool m_tagsHasBeenSet = false;
254 bool m_requestIdHasBeenSet = false;
255};
256
257} // namespace Model
258} // namespace ElementalInference
259} // namespace Aws
GetFeedResult & WithArn(ArnT &&value)
const FeedAssociation & GetAssociation() const
GetFeedResult & WithRequestId(RequestIdT &&value)
GetFeedResult & WithTags(TagsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetFeedResult & WithAccessRoleArn(AccessRoleArnT &&value)
void SetAccessRoleArn(AccessRoleArnT &&value)
GetFeedResult & WithOutputs(OutputsT &&value)
const Aws::Vector< Aws::String > & GetDataEndpoints() const
const Aws::String & GetAccessRoleArn() const
AWS_ELEMENTALINFERENCE_API GetFeedResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFeedResult & WithDataEndpoints(DataEndpointsT &&value)
GetFeedResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_ELEMENTALINFERENCE_API GetFeedResult()=default
GetFeedResult & WithStatus(FeedStatus value)
GetFeedResult & AddOutputs(OutputsT &&value)
const Aws::Vector< GetOutput > & GetOutputs() const
AWS_ELEMENTALINFERENCE_API GetFeedResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFeedResult & WithAssociation(AssociationT &&value)
GetFeedResult & AddDataEndpoints(DataEndpointsT &&value)
void SetDataEndpoints(DataEndpointsT &&value)
GetFeedResult & WithName(NameT &&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