AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
StartTransformerJobRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BIRequest.h>
8#include <aws/b2bi/B2BI_EXPORTS.h>
9#include <aws/b2bi/model/S3Location.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace B2BI {
17namespace Model {
18
22 public:
23 AWS_B2BI_API StartTransformerJobRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartTransformerJob"; }
30
31 AWS_B2BI_API Aws::String SerializePayload() const override;
32
34
36
40 inline const S3Location& GetInputFile() const { return m_inputFile; }
41 inline bool InputFileHasBeenSet() const { return m_inputFileHasBeenSet; }
42 template <typename InputFileT = S3Location>
43 void SetInputFile(InputFileT&& value) {
44 m_inputFileHasBeenSet = true;
45 m_inputFile = std::forward<InputFileT>(value);
46 }
47 template <typename InputFileT = S3Location>
49 SetInputFile(std::forward<InputFileT>(value));
50 return *this;
51 }
53
55
59 inline const S3Location& GetOutputLocation() const { return m_outputLocation; }
60 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
61 template <typename OutputLocationT = S3Location>
62 void SetOutputLocation(OutputLocationT&& value) {
63 m_outputLocationHasBeenSet = true;
64 m_outputLocation = std::forward<OutputLocationT>(value);
65 }
66 template <typename OutputLocationT = S3Location>
68 SetOutputLocation(std::forward<OutputLocationT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetTransformerId() const { return m_transformerId; }
78 inline bool TransformerIdHasBeenSet() const { return m_transformerIdHasBeenSet; }
79 template <typename TransformerIdT = Aws::String>
80 void SetTransformerId(TransformerIdT&& value) {
81 m_transformerIdHasBeenSet = true;
82 m_transformerId = std::forward<TransformerIdT>(value);
83 }
84 template <typename TransformerIdT = Aws::String>
86 SetTransformerId(std::forward<TransformerIdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetClientToken() const { return m_clientToken; }
96 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
97 template <typename ClientTokenT = Aws::String>
98 void SetClientToken(ClientTokenT&& value) {
99 m_clientTokenHasBeenSet = true;
100 m_clientToken = std::forward<ClientTokenT>(value);
101 }
102 template <typename ClientTokenT = Aws::String>
104 SetClientToken(std::forward<ClientTokenT>(value));
105 return *this;
106 }
108 private:
109 S3Location m_inputFile;
110
111 S3Location m_outputLocation;
112
113 Aws::String m_transformerId;
114
116 bool m_inputFileHasBeenSet = false;
117 bool m_outputLocationHasBeenSet = false;
118 bool m_transformerIdHasBeenSet = false;
119 bool m_clientTokenHasBeenSet = true;
120};
121
122} // namespace Model
123} // namespace B2BI
124} // namespace Aws
StartTransformerJobRequest & WithTransformerId(TransformerIdT &&value)
AWS_B2BI_API Aws::String SerializePayload() const override
StartTransformerJobRequest & WithClientToken(ClientTokenT &&value)
AWS_B2BI_API StartTransformerJobRequest()=default
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartTransformerJobRequest & WithOutputLocation(OutputLocationT &&value)
StartTransformerJobRequest & WithInputFile(InputFileT &&value)
virtual const char * GetServiceRequestName() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String