AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTransformerResult.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/b2bi/model/TransformerStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/b2bi/model/InputConversion.h>
12#include <aws/b2bi/model/Mapping.h>
13#include <aws/b2bi/model/OutputConversion.h>
14#include <aws/b2bi/model/SampleDocuments.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace B2BI
30{
31namespace Model
32{
34 {
35 public:
39
40
42
45 inline const Aws::String& GetTransformerId() const{ return m_transformerId; }
46 inline void SetTransformerId(const Aws::String& value) { m_transformerId = value; }
47 inline void SetTransformerId(Aws::String&& value) { m_transformerId = std::move(value); }
48 inline void SetTransformerId(const char* value) { m_transformerId.assign(value); }
49 inline CreateTransformerResult& WithTransformerId(const Aws::String& value) { SetTransformerId(value); return *this;}
50 inline CreateTransformerResult& WithTransformerId(Aws::String&& value) { SetTransformerId(std::move(value)); return *this;}
51 inline CreateTransformerResult& WithTransformerId(const char* value) { SetTransformerId(value); return *this;}
53
55
59 inline const Aws::String& GetTransformerArn() const{ return m_transformerArn; }
60 inline void SetTransformerArn(const Aws::String& value) { m_transformerArn = value; }
61 inline void SetTransformerArn(Aws::String&& value) { m_transformerArn = std::move(value); }
62 inline void SetTransformerArn(const char* value) { m_transformerArn.assign(value); }
63 inline CreateTransformerResult& WithTransformerArn(const Aws::String& value) { SetTransformerArn(value); return *this;}
64 inline CreateTransformerResult& WithTransformerArn(Aws::String&& value) { SetTransformerArn(std::move(value)); return *this;}
65 inline CreateTransformerResult& WithTransformerArn(const char* value) { SetTransformerArn(value); return *this;}
67
69
72 inline const Aws::String& GetName() const{ return m_name; }
73 inline void SetName(const Aws::String& value) { m_name = value; }
74 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
75 inline void SetName(const char* value) { m_name.assign(value); }
76 inline CreateTransformerResult& WithName(const Aws::String& value) { SetName(value); return *this;}
77 inline CreateTransformerResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 inline CreateTransformerResult& WithName(const char* value) { SetName(value); return *this;}
80
82
87 inline const TransformerStatus& GetStatus() const{ return m_status; }
88 inline void SetStatus(const TransformerStatus& value) { m_status = value; }
89 inline void SetStatus(TransformerStatus&& value) { m_status = std::move(value); }
90 inline CreateTransformerResult& WithStatus(const TransformerStatus& value) { SetStatus(value); return *this;}
91 inline CreateTransformerResult& WithStatus(TransformerStatus&& value) { SetStatus(std::move(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
99 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
100 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
101 inline CreateTransformerResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
102 inline CreateTransformerResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
104
106
110 inline const InputConversion& GetInputConversion() const{ return m_inputConversion; }
111 inline void SetInputConversion(const InputConversion& value) { m_inputConversion = value; }
112 inline void SetInputConversion(InputConversion&& value) { m_inputConversion = std::move(value); }
114 inline CreateTransformerResult& WithInputConversion(InputConversion&& value) { SetInputConversion(std::move(value)); return *this;}
116
118
122 inline const Mapping& GetMapping() const{ return m_mapping; }
123 inline void SetMapping(const Mapping& value) { m_mapping = value; }
124 inline void SetMapping(Mapping&& value) { m_mapping = std::move(value); }
125 inline CreateTransformerResult& WithMapping(const Mapping& value) { SetMapping(value); return *this;}
126 inline CreateTransformerResult& WithMapping(Mapping&& value) { SetMapping(std::move(value)); return *this;}
128
130
134 inline const OutputConversion& GetOutputConversion() const{ return m_outputConversion; }
135 inline void SetOutputConversion(const OutputConversion& value) { m_outputConversion = value; }
136 inline void SetOutputConversion(OutputConversion&& value) { m_outputConversion = std::move(value); }
138 inline CreateTransformerResult& WithOutputConversion(OutputConversion&& value) { SetOutputConversion(std::move(value)); return *this;}
140
142
146 inline const SampleDocuments& GetSampleDocuments() const{ return m_sampleDocuments; }
147 inline void SetSampleDocuments(const SampleDocuments& value) { m_sampleDocuments = value; }
148 inline void SetSampleDocuments(SampleDocuments&& value) { m_sampleDocuments = std::move(value); }
150 inline CreateTransformerResult& WithSampleDocuments(SampleDocuments&& value) { SetSampleDocuments(std::move(value)); return *this;}
152
154
155 inline const Aws::String& GetRequestId() const{ return m_requestId; }
156 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
157 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
158 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
159 inline CreateTransformerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
160 inline CreateTransformerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
161 inline CreateTransformerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
163 private:
164
165 Aws::String m_transformerId;
166
167 Aws::String m_transformerArn;
168
169 Aws::String m_name;
170
171 TransformerStatus m_status;
172
173 Aws::Utils::DateTime m_createdAt;
174
175 InputConversion m_inputConversion;
176
177 Mapping m_mapping;
178
179 OutputConversion m_outputConversion;
180
181 SampleDocuments m_sampleDocuments;
182
183 Aws::String m_requestId;
184 };
185
186} // namespace Model
187} // namespace B2BI
188} // namespace Aws
AWS_B2BI_API CreateTransformerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const TransformerStatus & GetStatus() const
CreateTransformerResult & WithTransformerArn(Aws::String &&value)
void SetOutputConversion(const OutputConversion &value)
CreateTransformerResult & WithInputConversion(InputConversion &&value)
CreateTransformerResult & WithSampleDocuments(SampleDocuments &&value)
CreateTransformerResult & WithStatus(TransformerStatus &&value)
CreateTransformerResult & WithTransformerId(const char *value)
CreateTransformerResult & WithOutputConversion(OutputConversion &&value)
CreateTransformerResult & WithCreatedAt(const Aws::Utils::DateTime &value)
CreateTransformerResult & WithTransformerId(const Aws::String &value)
void SetTransformerId(const Aws::String &value)
CreateTransformerResult & WithCreatedAt(Aws::Utils::DateTime &&value)
const OutputConversion & GetOutputConversion() const
CreateTransformerResult & WithStatus(const TransformerStatus &value)
AWS_B2BI_API CreateTransformerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const InputConversion & GetInputConversion() const
void SetSampleDocuments(const SampleDocuments &value)
CreateTransformerResult & WithOutputConversion(const OutputConversion &value)
CreateTransformerResult & WithRequestId(const Aws::String &value)
CreateTransformerResult & WithMapping(Mapping &&value)
CreateTransformerResult & WithRequestId(Aws::String &&value)
void SetTransformerArn(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const SampleDocuments & GetSampleDocuments() const
void SetStatus(const TransformerStatus &value)
void SetInputConversion(const InputConversion &value)
const Aws::Utils::DateTime & GetCreatedAt() const
CreateTransformerResult & WithName(Aws::String &&value)
CreateTransformerResult & WithTransformerId(Aws::String &&value)
CreateTransformerResult & WithInputConversion(const InputConversion &value)
void SetOutputConversion(OutputConversion &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
CreateTransformerResult & WithTransformerArn(const char *value)
CreateTransformerResult & WithTransformerArn(const Aws::String &value)
CreateTransformerResult & WithMapping(const Mapping &value)
CreateTransformerResult & WithSampleDocuments(const SampleDocuments &value)
CreateTransformerResult & WithName(const char *value)
CreateTransformerResult & WithName(const Aws::String &value)
CreateTransformerResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue