AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetTransformerJobResult.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/model/TransformerJobStatus.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/b2bi/model/S3Location.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 B2BI
27{
28namespace Model
29{
31 {
32 public:
33 AWS_B2BI_API GetTransformerJobResult() = default;
36
37
39
43 inline TransformerJobStatus GetStatus() const { return m_status; }
44 inline void SetStatus(TransformerJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
45 inline GetTransformerJobResult& WithStatus(TransformerJobStatus value) { SetStatus(value); return *this;}
47
49
54 inline const Aws::Vector<S3Location>& GetOutputFiles() const { return m_outputFiles; }
55 template<typename OutputFilesT = Aws::Vector<S3Location>>
56 void SetOutputFiles(OutputFilesT&& value) { m_outputFilesHasBeenSet = true; m_outputFiles = std::forward<OutputFilesT>(value); }
57 template<typename OutputFilesT = Aws::Vector<S3Location>>
58 GetTransformerJobResult& WithOutputFiles(OutputFilesT&& value) { SetOutputFiles(std::forward<OutputFilesT>(value)); return *this;}
59 template<typename OutputFilesT = S3Location>
60 GetTransformerJobResult& AddOutputFiles(OutputFilesT&& value) { m_outputFilesHasBeenSet = true; m_outputFiles.emplace_back(std::forward<OutputFilesT>(value)); return *this; }
62
64
68 inline const Aws::String& GetMessage() const { return m_message; }
69 template<typename MessageT = Aws::String>
70 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
71 template<typename MessageT = Aws::String>
72 GetTransformerJobResult& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template<typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
80 template<typename RequestIdT = Aws::String>
81 GetTransformerJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
83 private:
84
86 bool m_statusHasBeenSet = false;
87
88 Aws::Vector<S3Location> m_outputFiles;
89 bool m_outputFilesHasBeenSet = false;
90
91 Aws::String m_message;
92 bool m_messageHasBeenSet = false;
93
94 Aws::String m_requestId;
95 bool m_requestIdHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace B2BI
100} // 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)
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