AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTransformerRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/B2BIRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/b2bi/model/TransformerStatus.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 B2BI
20{
21namespace Model
22{
23
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateTransformer"; }
36
37 AWS_B2BI_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetTransformerId() const{ return m_transformerId; }
47 inline bool TransformerIdHasBeenSet() const { return m_transformerIdHasBeenSet; }
48 inline void SetTransformerId(const Aws::String& value) { m_transformerIdHasBeenSet = true; m_transformerId = value; }
49 inline void SetTransformerId(Aws::String&& value) { m_transformerIdHasBeenSet = true; m_transformerId = std::move(value); }
50 inline void SetTransformerId(const char* value) { m_transformerIdHasBeenSet = true; m_transformerId.assign(value); }
51 inline UpdateTransformerRequest& WithTransformerId(const Aws::String& value) { SetTransformerId(value); return *this;}
52 inline UpdateTransformerRequest& WithTransformerId(Aws::String&& value) { SetTransformerId(std::move(value)); return *this;}
53 inline UpdateTransformerRequest& WithTransformerId(const char* value) { SetTransformerId(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline UpdateTransformerRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline UpdateTransformerRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline UpdateTransformerRequest& WithName(const char* value) { SetName(value); return *this;}
69
71
76 inline const TransformerStatus& GetStatus() const{ return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(const TransformerStatus& value) { m_statusHasBeenSet = true; m_status = value; }
79 inline void SetStatus(TransformerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
80 inline UpdateTransformerRequest& WithStatus(const TransformerStatus& value) { SetStatus(value); return *this;}
81 inline UpdateTransformerRequest& WithStatus(TransformerStatus&& value) { SetStatus(std::move(value)); return *this;}
83
85
89 inline const InputConversion& GetInputConversion() const{ return m_inputConversion; }
90 inline bool InputConversionHasBeenSet() const { return m_inputConversionHasBeenSet; }
91 inline void SetInputConversion(const InputConversion& value) { m_inputConversionHasBeenSet = true; m_inputConversion = value; }
92 inline void SetInputConversion(InputConversion&& value) { m_inputConversionHasBeenSet = true; m_inputConversion = std::move(value); }
94 inline UpdateTransformerRequest& WithInputConversion(InputConversion&& value) { SetInputConversion(std::move(value)); return *this;}
96
98
102 inline const Mapping& GetMapping() const{ return m_mapping; }
103 inline bool MappingHasBeenSet() const { return m_mappingHasBeenSet; }
104 inline void SetMapping(const Mapping& value) { m_mappingHasBeenSet = true; m_mapping = value; }
105 inline void SetMapping(Mapping&& value) { m_mappingHasBeenSet = true; m_mapping = std::move(value); }
106 inline UpdateTransformerRequest& WithMapping(const Mapping& value) { SetMapping(value); return *this;}
107 inline UpdateTransformerRequest& WithMapping(Mapping&& value) { SetMapping(std::move(value)); return *this;}
109
111
115 inline const OutputConversion& GetOutputConversion() const{ return m_outputConversion; }
116 inline bool OutputConversionHasBeenSet() const { return m_outputConversionHasBeenSet; }
117 inline void SetOutputConversion(const OutputConversion& value) { m_outputConversionHasBeenSet = true; m_outputConversion = value; }
118 inline void SetOutputConversion(OutputConversion&& value) { m_outputConversionHasBeenSet = true; m_outputConversion = std::move(value); }
120 inline UpdateTransformerRequest& WithOutputConversion(OutputConversion&& value) { SetOutputConversion(std::move(value)); return *this;}
122
124
128 inline const SampleDocuments& GetSampleDocuments() const{ return m_sampleDocuments; }
129 inline bool SampleDocumentsHasBeenSet() const { return m_sampleDocumentsHasBeenSet; }
130 inline void SetSampleDocuments(const SampleDocuments& value) { m_sampleDocumentsHasBeenSet = true; m_sampleDocuments = value; }
131 inline void SetSampleDocuments(SampleDocuments&& value) { m_sampleDocumentsHasBeenSet = true; m_sampleDocuments = std::move(value); }
133 inline UpdateTransformerRequest& WithSampleDocuments(SampleDocuments&& value) { SetSampleDocuments(std::move(value)); return *this;}
135 private:
136
137 Aws::String m_transformerId;
138 bool m_transformerIdHasBeenSet = false;
139
140 Aws::String m_name;
141 bool m_nameHasBeenSet = false;
142
143 TransformerStatus m_status;
144 bool m_statusHasBeenSet = false;
145
146 InputConversion m_inputConversion;
147 bool m_inputConversionHasBeenSet = false;
148
149 Mapping m_mapping;
150 bool m_mappingHasBeenSet = false;
151
152 OutputConversion m_outputConversion;
153 bool m_outputConversionHasBeenSet = false;
154
155 SampleDocuments m_sampleDocuments;
156 bool m_sampleDocumentsHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace B2BI
161} // namespace Aws
UpdateTransformerRequest & WithTransformerId(const char *value)
UpdateTransformerRequest & WithMapping(Mapping &&value)
UpdateTransformerRequest & WithInputConversion(const InputConversion &value)
UpdateTransformerRequest & WithSampleDocuments(const SampleDocuments &value)
UpdateTransformerRequest & WithTransformerId(const Aws::String &value)
const OutputConversion & GetOutputConversion() const
void SetStatus(const TransformerStatus &value)
UpdateTransformerRequest & WithStatus(const TransformerStatus &value)
const InputConversion & GetInputConversion() const
UpdateTransformerRequest & WithName(Aws::String &&value)
void SetSampleDocuments(const SampleDocuments &value)
void SetInputConversion(const InputConversion &value)
UpdateTransformerRequest & WithName(const Aws::String &value)
UpdateTransformerRequest & WithStatus(TransformerStatus &&value)
UpdateTransformerRequest & WithOutputConversion(const OutputConversion &value)
void SetOutputConversion(const OutputConversion &value)
UpdateTransformerRequest & WithMapping(const Mapping &value)
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateTransformerRequest & WithSampleDocuments(SampleDocuments &&value)
AWS_B2BI_API Aws::String SerializePayload() const override
UpdateTransformerRequest & WithTransformerId(Aws::String &&value)
UpdateTransformerRequest & WithName(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateTransformerRequest & WithOutputConversion(OutputConversion &&value)
UpdateTransformerRequest & WithInputConversion(InputConversion &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String