AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartTransformerJobRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/B2BIRequest.h>
9#include <aws/b2bi/model/S3Location.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace B2BI
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_B2BI_API StartTransformerJobRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartTransformerJob"; }
33
34 AWS_B2BI_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const S3Location& GetInputFile() const { return m_inputFile; }
45 inline bool InputFileHasBeenSet() const { return m_inputFileHasBeenSet; }
46 template<typename InputFileT = S3Location>
47 void SetInputFile(InputFileT&& value) { m_inputFileHasBeenSet = true; m_inputFile = std::forward<InputFileT>(value); }
48 template<typename InputFileT = S3Location>
49 StartTransformerJobRequest& WithInputFile(InputFileT&& value) { SetInputFile(std::forward<InputFileT>(value)); return *this;}
51
53
57 inline const S3Location& GetOutputLocation() const { return m_outputLocation; }
58 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
59 template<typename OutputLocationT = S3Location>
60 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::forward<OutputLocationT>(value); }
61 template<typename OutputLocationT = S3Location>
62 StartTransformerJobRequest& WithOutputLocation(OutputLocationT&& value) { SetOutputLocation(std::forward<OutputLocationT>(value)); return *this;}
64
66
69 inline const Aws::String& GetTransformerId() const { return m_transformerId; }
70 inline bool TransformerIdHasBeenSet() const { return m_transformerIdHasBeenSet; }
71 template<typename TransformerIdT = Aws::String>
72 void SetTransformerId(TransformerIdT&& value) { m_transformerIdHasBeenSet = true; m_transformerId = std::forward<TransformerIdT>(value); }
73 template<typename TransformerIdT = Aws::String>
74 StartTransformerJobRequest& WithTransformerId(TransformerIdT&& value) { SetTransformerId(std::forward<TransformerIdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetClientToken() const { return m_clientToken; }
82 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
83 template<typename ClientTokenT = Aws::String>
84 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
85 template<typename ClientTokenT = Aws::String>
86 StartTransformerJobRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
88 private:
89
90 S3Location m_inputFile;
91 bool m_inputFileHasBeenSet = false;
92
93 S3Location m_outputLocation;
94 bool m_outputLocationHasBeenSet = false;
95
96 Aws::String m_transformerId;
97 bool m_transformerIdHasBeenSet = false;
98
100 bool m_clientTokenHasBeenSet = true;
101 };
102
103} // namespace Model
104} // namespace B2BI
105} // 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