AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransformerSummary.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{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace B2BI
28{
29namespace Model
30{
31
41 {
42 public:
43 AWS_B2BI_API TransformerSummary();
47
48
50
53 inline const Aws::String& GetTransformerId() const{ return m_transformerId; }
54 inline bool TransformerIdHasBeenSet() const { return m_transformerIdHasBeenSet; }
55 inline void SetTransformerId(const Aws::String& value) { m_transformerIdHasBeenSet = true; m_transformerId = value; }
56 inline void SetTransformerId(Aws::String&& value) { m_transformerIdHasBeenSet = true; m_transformerId = std::move(value); }
57 inline void SetTransformerId(const char* value) { m_transformerIdHasBeenSet = true; m_transformerId.assign(value); }
58 inline TransformerSummary& WithTransformerId(const Aws::String& value) { SetTransformerId(value); return *this;}
59 inline TransformerSummary& WithTransformerId(Aws::String&& value) { SetTransformerId(std::move(value)); return *this;}
60 inline TransformerSummary& WithTransformerId(const char* value) { SetTransformerId(value); return *this;}
62
64
67 inline const Aws::String& GetName() const{ return m_name; }
68 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
69 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
70 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
71 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
72 inline TransformerSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
73 inline TransformerSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 inline TransformerSummary& WithName(const char* value) { SetName(value); return *this;}
76
78
83 inline const TransformerStatus& GetStatus() const{ return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 inline void SetStatus(const TransformerStatus& value) { m_statusHasBeenSet = true; m_status = value; }
86 inline void SetStatus(TransformerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
87 inline TransformerSummary& WithStatus(const TransformerStatus& value) { SetStatus(value); return *this;}
88 inline TransformerSummary& WithStatus(TransformerStatus&& value) { SetStatus(std::move(value)); return *this;}
90
92
96 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
97 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
98 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
99 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
100 inline TransformerSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
101 inline TransformerSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
103
105
109 inline const Aws::Utils::DateTime& GetModifiedAt() const{ return m_modifiedAt; }
110 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
111 inline void SetModifiedAt(const Aws::Utils::DateTime& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = value; }
112 inline void SetModifiedAt(Aws::Utils::DateTime&& value) { m_modifiedAtHasBeenSet = true; m_modifiedAt = std::move(value); }
113 inline TransformerSummary& WithModifiedAt(const Aws::Utils::DateTime& value) { SetModifiedAt(value); return *this;}
114 inline TransformerSummary& WithModifiedAt(Aws::Utils::DateTime&& value) { SetModifiedAt(std::move(value)); return *this;}
116
118
122 inline const InputConversion& GetInputConversion() const{ return m_inputConversion; }
123 inline bool InputConversionHasBeenSet() const { return m_inputConversionHasBeenSet; }
124 inline void SetInputConversion(const InputConversion& value) { m_inputConversionHasBeenSet = true; m_inputConversion = value; }
125 inline void SetInputConversion(InputConversion&& value) { m_inputConversionHasBeenSet = true; m_inputConversion = std::move(value); }
126 inline TransformerSummary& WithInputConversion(const InputConversion& value) { SetInputConversion(value); return *this;}
127 inline TransformerSummary& WithInputConversion(InputConversion&& value) { SetInputConversion(std::move(value)); return *this;}
129
131
135 inline const Mapping& GetMapping() const{ return m_mapping; }
136 inline bool MappingHasBeenSet() const { return m_mappingHasBeenSet; }
137 inline void SetMapping(const Mapping& value) { m_mappingHasBeenSet = true; m_mapping = value; }
138 inline void SetMapping(Mapping&& value) { m_mappingHasBeenSet = true; m_mapping = std::move(value); }
139 inline TransformerSummary& WithMapping(const Mapping& value) { SetMapping(value); return *this;}
140 inline TransformerSummary& WithMapping(Mapping&& value) { SetMapping(std::move(value)); return *this;}
142
144
148 inline const OutputConversion& GetOutputConversion() const{ return m_outputConversion; }
149 inline bool OutputConversionHasBeenSet() const { return m_outputConversionHasBeenSet; }
150 inline void SetOutputConversion(const OutputConversion& value) { m_outputConversionHasBeenSet = true; m_outputConversion = value; }
151 inline void SetOutputConversion(OutputConversion&& value) { m_outputConversionHasBeenSet = true; m_outputConversion = std::move(value); }
153 inline TransformerSummary& WithOutputConversion(OutputConversion&& value) { SetOutputConversion(std::move(value)); return *this;}
155
157
161 inline const SampleDocuments& GetSampleDocuments() const{ return m_sampleDocuments; }
162 inline bool SampleDocumentsHasBeenSet() const { return m_sampleDocumentsHasBeenSet; }
163 inline void SetSampleDocuments(const SampleDocuments& value) { m_sampleDocumentsHasBeenSet = true; m_sampleDocuments = value; }
164 inline void SetSampleDocuments(SampleDocuments&& value) { m_sampleDocumentsHasBeenSet = true; m_sampleDocuments = std::move(value); }
165 inline TransformerSummary& WithSampleDocuments(const SampleDocuments& value) { SetSampleDocuments(value); return *this;}
166 inline TransformerSummary& WithSampleDocuments(SampleDocuments&& value) { SetSampleDocuments(std::move(value)); return *this;}
168 private:
169
170 Aws::String m_transformerId;
171 bool m_transformerIdHasBeenSet = false;
172
173 Aws::String m_name;
174 bool m_nameHasBeenSet = false;
175
176 TransformerStatus m_status;
177 bool m_statusHasBeenSet = false;
178
179 Aws::Utils::DateTime m_createdAt;
180 bool m_createdAtHasBeenSet = false;
181
182 Aws::Utils::DateTime m_modifiedAt;
183 bool m_modifiedAtHasBeenSet = false;
184
185 InputConversion m_inputConversion;
186 bool m_inputConversionHasBeenSet = false;
187
188 Mapping m_mapping;
189 bool m_mappingHasBeenSet = false;
190
191 OutputConversion m_outputConversion;
192 bool m_outputConversionHasBeenSet = false;
193
194 SampleDocuments m_sampleDocuments;
195 bool m_sampleDocumentsHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace B2BI
200} // namespace Aws
void SetMapping(const Mapping &value)
const Aws::String & GetTransformerId() const
TransformerSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetSampleDocuments(SampleDocuments &&value)
AWS_B2BI_API TransformerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TransformerSummary & WithOutputConversion(OutputConversion &&value)
const SampleDocuments & GetSampleDocuments() const
const InputConversion & GetInputConversion() const
TransformerSummary & WithInputConversion(const InputConversion &value)
TransformerSummary & WithModifiedAt(Aws::Utils::DateTime &&value)
TransformerSummary & WithName(const char *value)
void SetTransformerId(const Aws::String &value)
void SetModifiedAt(Aws::Utils::DateTime &&value)
void SetInputConversion(const InputConversion &value)
const Aws::Utils::DateTime & GetModifiedAt() const
void SetOutputConversion(OutputConversion &&value)
TransformerSummary & WithName(const Aws::String &value)
TransformerSummary & WithInputConversion(InputConversion &&value)
void SetInputConversion(InputConversion &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetModifiedAt(const Aws::Utils::DateTime &value)
const TransformerStatus & GetStatus() const
TransformerSummary & WithName(Aws::String &&value)
TransformerSummary & WithModifiedAt(const Aws::Utils::DateTime &value)
const OutputConversion & GetOutputConversion() const
TransformerSummary & WithOutputConversion(const OutputConversion &value)
void SetSampleDocuments(const SampleDocuments &value)
void SetOutputConversion(const OutputConversion &value)
TransformerSummary & WithMapping(const Mapping &value)
AWS_B2BI_API TransformerSummary(Aws::Utils::Json::JsonView jsonValue)
TransformerSummary & WithSampleDocuments(SampleDocuments &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetTransformerId(Aws::String &&value)
TransformerSummary & WithTransformerId(Aws::String &&value)
TransformerSummary & WithSampleDocuments(const SampleDocuments &value)
void SetStatus(TransformerStatus &&value)
TransformerSummary & WithStatus(TransformerStatus &&value)
TransformerSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
TransformerSummary & WithMapping(Mapping &&value)
AWS_B2BI_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
TransformerSummary & WithTransformerId(const char *value)
TransformerSummary & WithTransformerId(const Aws::String &value)
void SetStatus(const TransformerStatus &value)
TransformerSummary & WithStatus(const TransformerStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue