AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
GetTransformerJobResult.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/S3Location.h>
9#include <aws/b2bi/model/TransformerJobStatus.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace B2BI {
26namespace Model {
28 public:
29 AWS_B2BI_API GetTransformerJobResult() = default;
32
34
38 inline TransformerJobStatus GetStatus() const { return m_status; }
39 inline void SetStatus(TransformerJobStatus value) {
40 m_statusHasBeenSet = true;
41 m_status = value;
42 }
44 SetStatus(value);
45 return *this;
46 }
48
50
55 inline const Aws::Vector<S3Location>& GetOutputFiles() const { return m_outputFiles; }
56 template <typename OutputFilesT = Aws::Vector<S3Location>>
57 void SetOutputFiles(OutputFilesT&& value) {
58 m_outputFilesHasBeenSet = true;
59 m_outputFiles = std::forward<OutputFilesT>(value);
60 }
61 template <typename OutputFilesT = Aws::Vector<S3Location>>
63 SetOutputFiles(std::forward<OutputFilesT>(value));
64 return *this;
65 }
66 template <typename OutputFilesT = S3Location>
67 GetTransformerJobResult& AddOutputFiles(OutputFilesT&& value) {
68 m_outputFilesHasBeenSet = true;
69 m_outputFiles.emplace_back(std::forward<OutputFilesT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetMessage() const { return m_message; }
80 template <typename MessageT = Aws::String>
81 void SetMessage(MessageT&& value) {
82 m_messageHasBeenSet = true;
83 m_message = std::forward<MessageT>(value);
84 }
85 template <typename MessageT = Aws::String>
87 SetMessage(std::forward<MessageT>(value));
88 return *this;
89 }
91
93
94 inline const Aws::String& GetRequestId() const { return m_requestId; }
95 template <typename RequestIdT = Aws::String>
96 void SetRequestId(RequestIdT&& value) {
97 m_requestIdHasBeenSet = true;
98 m_requestId = std::forward<RequestIdT>(value);
99 }
100 template <typename RequestIdT = Aws::String>
102 SetRequestId(std::forward<RequestIdT>(value));
103 return *this;
104 }
106 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
107
108 private:
110
111 Aws::Vector<S3Location> m_outputFiles;
112
113 Aws::String m_message;
114
115 Aws::String m_requestId;
116 Aws::Http::HttpResponseCode m_HttpResponseCode;
117 bool m_statusHasBeenSet = false;
118 bool m_outputFilesHasBeenSet = false;
119 bool m_messageHasBeenSet = false;
120 bool m_requestIdHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace B2BI
125} // namespace Aws
AWS_B2BI_API GetTransformerJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_B2BI_API GetTransformerJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTransformerJobResult & AddOutputFiles(OutputFilesT &&value)
GetTransformerJobResult & WithOutputFiles(OutputFilesT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< S3Location > & GetOutputFiles() const
GetTransformerJobResult & WithRequestId(RequestIdT &&value)
GetTransformerJobResult & WithMessage(MessageT &&value)
AWS_B2BI_API GetTransformerJobResult()=default
GetTransformerJobResult & WithStatus(TransformerJobStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue