AWS SDK for C++

AWS SDK for C++ Version 1.11.899

Loading...
Searching...
No Matches
CreateFeedResult.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 CreateFeedResult() = 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 CreateFeedResult& 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 CreateFeedResult& 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 CreateFeedResult& WithId(IdT&& value) {
81 SetId(std::forward<IdT>(value));
82 return *this;
83 }
85
87
93 inline const Aws::Vector<Aws::String>& GetDataEndpoints() const { return m_dataEndpoints; }
94 template <typename DataEndpointsT = Aws::Vector<Aws::String>>
95 void SetDataEndpoints(DataEndpointsT&& value) {
96 m_dataEndpointsHasBeenSet = true;
97 m_dataEndpoints = std::forward<DataEndpointsT>(value);
98 }
99 template <typename DataEndpointsT = Aws::Vector<Aws::String>>
100 CreateFeedResult& WithDataEndpoints(DataEndpointsT&& value) {
101 SetDataEndpoints(std::forward<DataEndpointsT>(value));
102 return *this;
103 }
104 template <typename DataEndpointsT = Aws::String>
105 CreateFeedResult& AddDataEndpoints(DataEndpointsT&& value) {
106 m_dataEndpointsHasBeenSet = true;
107 m_dataEndpoints.emplace_back(std::forward<DataEndpointsT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::Vector<GetOutput>& GetOutputs() const { return m_outputs; }
117 template <typename OutputsT = Aws::Vector<GetOutput>>
118 void SetOutputs(OutputsT&& value) {
119 m_outputsHasBeenSet = true;
120 m_outputs = std::forward<OutputsT>(value);
121 }
122 template <typename OutputsT = Aws::Vector<GetOutput>>
123 CreateFeedResult& WithOutputs(OutputsT&& value) {
124 SetOutputs(std::forward<OutputsT>(value));
125 return *this;
126 }
127 template <typename OutputsT = GetOutput>
128 CreateFeedResult& AddOutputs(OutputsT&& value) {
129 m_outputsHasBeenSet = true;
130 m_outputs.emplace_back(std::forward<OutputsT>(value));
131 return *this;
132 }
134
136
141 inline const Aws::String& GetAccessRoleArn() const { return m_accessRoleArn; }
142 template <typename AccessRoleArnT = Aws::String>
143 void SetAccessRoleArn(AccessRoleArnT&& value) {
144 m_accessRoleArnHasBeenSet = true;
145 m_accessRoleArn = std::forward<AccessRoleArnT>(value);
146 }
147 template <typename AccessRoleArnT = Aws::String>
148 CreateFeedResult& WithAccessRoleArn(AccessRoleArnT&& value) {
149 SetAccessRoleArn(std::forward<AccessRoleArnT>(value));
150 return *this;
151 }
153
155
159 inline FeedStatus GetStatus() const { return m_status; }
160 inline void SetStatus(FeedStatus value) {
161 m_statusHasBeenSet = true;
162 m_status = value;
163 }
165 SetStatus(value);
166 return *this;
167 }
169
171
176 inline const FeedAssociation& GetAssociation() const { return m_association; }
177 template <typename AssociationT = FeedAssociation>
178 void SetAssociation(AssociationT&& value) {
179 m_associationHasBeenSet = true;
180 m_association = std::forward<AssociationT>(value);
181 }
182 template <typename AssociationT = FeedAssociation>
183 CreateFeedResult& WithAssociation(AssociationT&& value) {
184 SetAssociation(std::forward<AssociationT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
194 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
195 void SetTags(TagsT&& value) {
196 m_tagsHasBeenSet = true;
197 m_tags = std::forward<TagsT>(value);
198 }
199 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
200 CreateFeedResult& WithTags(TagsT&& value) {
201 SetTags(std::forward<TagsT>(value));
202 return *this;
203 }
204 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
205 CreateFeedResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
206 m_tagsHasBeenSet = true;
207 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
208 return *this;
209 }
211
213
214 inline const Aws::String& GetRequestId() const { return m_requestId; }
215 template <typename RequestIdT = Aws::String>
216 void SetRequestId(RequestIdT&& value) {
217 m_requestIdHasBeenSet = true;
218 m_requestId = std::forward<RequestIdT>(value);
219 }
220 template <typename RequestIdT = Aws::String>
221 CreateFeedResult& WithRequestId(RequestIdT&& value) {
222 SetRequestId(std::forward<RequestIdT>(value));
223 return *this;
224 }
226 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
227
228 private:
229 Aws::String m_arn;
230
231 Aws::String m_name;
232
233 Aws::String m_id;
234
235 Aws::Vector<Aws::String> m_dataEndpoints;
236
237 Aws::Vector<GetOutput> m_outputs;
238
239 Aws::String m_accessRoleArn;
240
242
243 FeedAssociation m_association;
244
246
247 Aws::String m_requestId;
248 Aws::Http::HttpResponseCode m_HttpResponseCode;
249 bool m_arnHasBeenSet = false;
250 bool m_nameHasBeenSet = false;
251 bool m_idHasBeenSet = false;
252 bool m_dataEndpointsHasBeenSet = false;
253 bool m_outputsHasBeenSet = false;
254 bool m_accessRoleArnHasBeenSet = false;
255 bool m_statusHasBeenSet = false;
256 bool m_associationHasBeenSet = false;
257 bool m_tagsHasBeenSet = false;
258 bool m_requestIdHasBeenSet = false;
259};
260
261} // namespace Model
262} // namespace ElementalInference
263} // namespace Aws
CreateFeedResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateFeedResult & WithAssociation(AssociationT &&value)
CreateFeedResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetDataEndpoints() const
const Aws::Vector< GetOutput > & GetOutputs() const
CreateFeedResult & WithOutputs(OutputsT &&value)
CreateFeedResult & WithName(NameT &&value)
CreateFeedResult & WithAccessRoleArn(AccessRoleArnT &&value)
CreateFeedResult & AddDataEndpoints(DataEndpointsT &&value)
AWS_ELEMENTALINFERENCE_API CreateFeedResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ELEMENTALINFERENCE_API CreateFeedResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFeedResult & WithStatus(FeedStatus value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateFeedResult & WithDataEndpoints(DataEndpointsT &&value)
CreateFeedResult & AddOutputs(OutputsT &&value)
AWS_ELEMENTALINFERENCE_API CreateFeedResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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