AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
36
37
39
43 inline const TransformerJobStatus& GetStatus() const{ return m_status; }
44 inline void SetStatus(const TransformerJobStatus& value) { m_status = value; }
45 inline void SetStatus(TransformerJobStatus&& value) { m_status = std::move(value); }
46 inline GetTransformerJobResult& WithStatus(const TransformerJobStatus& value) { SetStatus(value); return *this;}
47 inline GetTransformerJobResult& WithStatus(TransformerJobStatus&& value) { SetStatus(std::move(value)); return *this;}
49
51
56 inline const Aws::Vector<S3Location>& GetOutputFiles() const{ return m_outputFiles; }
57 inline void SetOutputFiles(const Aws::Vector<S3Location>& value) { m_outputFiles = value; }
58 inline void SetOutputFiles(Aws::Vector<S3Location>&& value) { m_outputFiles = std::move(value); }
60 inline GetTransformerJobResult& WithOutputFiles(Aws::Vector<S3Location>&& value) { SetOutputFiles(std::move(value)); return *this;}
61 inline GetTransformerJobResult& AddOutputFiles(const S3Location& value) { m_outputFiles.push_back(value); return *this; }
62 inline GetTransformerJobResult& AddOutputFiles(S3Location&& value) { m_outputFiles.push_back(std::move(value)); return *this; }
64
66
70 inline const Aws::String& GetMessage() const{ return m_message; }
71 inline void SetMessage(const Aws::String& value) { m_message = value; }
72 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
73 inline void SetMessage(const char* value) { m_message.assign(value); }
74 inline GetTransformerJobResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
75 inline GetTransformerJobResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
76 inline GetTransformerJobResult& WithMessage(const char* value) { SetMessage(value); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline GetTransformerJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline GetTransformerJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline GetTransformerJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 TransformerJobStatus m_status;
92
93 Aws::Vector<S3Location> m_outputFiles;
94
95 Aws::String m_message;
96
97 Aws::String m_requestId;
98 };
99
100} // namespace Model
101} // namespace B2BI
102} // namespace Aws
GetTransformerJobResult & WithRequestId(const char *value)
GetTransformerJobResult & WithMessage(const Aws::String &value)
AWS_B2BI_API GetTransformerJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTransformerJobResult & AddOutputFiles(S3Location &&value)
GetTransformerJobResult & WithRequestId(const Aws::String &value)
GetTransformerJobResult & WithOutputFiles(Aws::Vector< S3Location > &&value)
GetTransformerJobResult & WithMessage(Aws::String &&value)
AWS_B2BI_API GetTransformerJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTransformerJobResult & WithMessage(const char *value)
GetTransformerJobResult & WithStatus(const TransformerJobStatus &value)
void SetStatus(TransformerJobStatus &&value)
const TransformerJobStatus & GetStatus() const
void SetStatus(const TransformerJobStatus &value)
GetTransformerJobResult & WithStatus(TransformerJobStatus &&value)
GetTransformerJobResult & WithOutputFiles(const Aws::Vector< S3Location > &value)
void SetOutputFiles(Aws::Vector< S3Location > &&value)
void SetOutputFiles(const Aws::Vector< S3Location > &value)
const Aws::Vector< S3Location > & GetOutputFiles() const
GetTransformerJobResult & WithRequestId(Aws::String &&value)
GetTransformerJobResult & AddOutputFiles(const S3Location &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