AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTransformerRequest.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/core/utils/memory/stl/AWSVector.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 <aws/b2bi/model/Tag.h>
16#include <utility>
17#include <aws/core/utils/UUID.h>
18
19namespace Aws
20{
21namespace B2BI
22{
23namespace Model
24{
25
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "CreateTransformer"; }
38
39 AWS_B2BI_API Aws::String SerializePayload() const override;
40
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline CreateTransformerRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline CreateTransformerRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline CreateTransformerRequest& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
63 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
64 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
65 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
66 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
67 inline CreateTransformerRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
68 inline CreateTransformerRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
69 inline CreateTransformerRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
71
73
78 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
79 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
80 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
81 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
82 inline CreateTransformerRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
83 inline CreateTransformerRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
84 inline CreateTransformerRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
85 inline CreateTransformerRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
87
89
93 inline const InputConversion& GetInputConversion() const{ return m_inputConversion; }
94 inline bool InputConversionHasBeenSet() const { return m_inputConversionHasBeenSet; }
95 inline void SetInputConversion(const InputConversion& value) { m_inputConversionHasBeenSet = true; m_inputConversion = value; }
96 inline void SetInputConversion(InputConversion&& value) { m_inputConversionHasBeenSet = true; m_inputConversion = std::move(value); }
98 inline CreateTransformerRequest& WithInputConversion(InputConversion&& value) { SetInputConversion(std::move(value)); return *this;}
100
102
106 inline const Mapping& GetMapping() const{ return m_mapping; }
107 inline bool MappingHasBeenSet() const { return m_mappingHasBeenSet; }
108 inline void SetMapping(const Mapping& value) { m_mappingHasBeenSet = true; m_mapping = value; }
109 inline void SetMapping(Mapping&& value) { m_mappingHasBeenSet = true; m_mapping = std::move(value); }
110 inline CreateTransformerRequest& WithMapping(const Mapping& value) { SetMapping(value); return *this;}
111 inline CreateTransformerRequest& WithMapping(Mapping&& value) { SetMapping(std::move(value)); return *this;}
113
115
119 inline const OutputConversion& GetOutputConversion() const{ return m_outputConversion; }
120 inline bool OutputConversionHasBeenSet() const { return m_outputConversionHasBeenSet; }
121 inline void SetOutputConversion(const OutputConversion& value) { m_outputConversionHasBeenSet = true; m_outputConversion = value; }
122 inline void SetOutputConversion(OutputConversion&& value) { m_outputConversionHasBeenSet = true; m_outputConversion = std::move(value); }
124 inline CreateTransformerRequest& WithOutputConversion(OutputConversion&& value) { SetOutputConversion(std::move(value)); return *this;}
126
128
132 inline const SampleDocuments& GetSampleDocuments() const{ return m_sampleDocuments; }
133 inline bool SampleDocumentsHasBeenSet() const { return m_sampleDocumentsHasBeenSet; }
134 inline void SetSampleDocuments(const SampleDocuments& value) { m_sampleDocumentsHasBeenSet = true; m_sampleDocuments = value; }
135 inline void SetSampleDocuments(SampleDocuments&& value) { m_sampleDocumentsHasBeenSet = true; m_sampleDocuments = std::move(value); }
137 inline CreateTransformerRequest& WithSampleDocuments(SampleDocuments&& value) { SetSampleDocuments(std::move(value)); return *this;}
139 private:
140
141 Aws::String m_name;
142 bool m_nameHasBeenSet = false;
143
144 Aws::String m_clientToken;
145 bool m_clientTokenHasBeenSet = false;
146
147 Aws::Vector<Tag> m_tags;
148 bool m_tagsHasBeenSet = false;
149
150 InputConversion m_inputConversion;
151 bool m_inputConversionHasBeenSet = false;
152
153 Mapping m_mapping;
154 bool m_mappingHasBeenSet = false;
155
156 OutputConversion m_outputConversion;
157 bool m_outputConversionHasBeenSet = false;
158
159 SampleDocuments m_sampleDocuments;
160 bool m_sampleDocumentsHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace B2BI
165} // namespace Aws
CreateTransformerRequest & WithName(const Aws::String &value)
CreateTransformerRequest & WithMapping(Mapping &&value)
CreateTransformerRequest & WithSampleDocuments(const SampleDocuments &value)
CreateTransformerRequest & WithMapping(const Mapping &value)
CreateTransformerRequest & AddTags(const Tag &value)
CreateTransformerRequest & WithClientToken(const char *value)
CreateTransformerRequest & WithTags(const Aws::Vector< Tag > &value)
CreateTransformerRequest & WithClientToken(Aws::String &&value)
AWS_B2BI_API Aws::String SerializePayload() const override
void SetInputConversion(const InputConversion &value)
const InputConversion & GetInputConversion() const
CreateTransformerRequest & WithInputConversion(InputConversion &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreateTransformerRequest & WithTags(Aws::Vector< Tag > &&value)
CreateTransformerRequest & WithOutputConversion(OutputConversion &&value)
CreateTransformerRequest & WithInputConversion(const InputConversion &value)
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTransformerRequest & WithName(const char *value)
const OutputConversion & GetOutputConversion() const
void SetSampleDocuments(const SampleDocuments &value)
CreateTransformerRequest & WithName(Aws::String &&value)
CreateTransformerRequest & WithSampleDocuments(SampleDocuments &&value)
CreateTransformerRequest & WithOutputConversion(const OutputConversion &value)
void SetOutputConversion(const OutputConversion &value)
virtual const char * GetServiceRequestName() const override
CreateTransformerRequest & WithClientToken(const Aws::String &value)
CreateTransformerRequest & AddTags(Tag &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector