AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TestParsingRequest.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/b2bi/model/FileFormat.h>
11#include <aws/b2bi/model/EdiType.h>
12#include <aws/b2bi/model/AdvancedOptions.h>
13#include <utility>
14
15namespace Aws
16{
17namespace B2BI
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_B2BI_API TestParsingRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "TestParsing"; }
34
35 AWS_B2BI_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const S3Location& GetInputFile() const { return m_inputFile; }
46 inline bool InputFileHasBeenSet() const { return m_inputFileHasBeenSet; }
47 template<typename InputFileT = S3Location>
48 void SetInputFile(InputFileT&& value) { m_inputFileHasBeenSet = true; m_inputFile = std::forward<InputFileT>(value); }
49 template<typename InputFileT = S3Location>
50 TestParsingRequest& WithInputFile(InputFileT&& value) { SetInputFile(std::forward<InputFileT>(value)); return *this;}
52
54
58 inline FileFormat GetFileFormat() const { return m_fileFormat; }
59 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
60 inline void SetFileFormat(FileFormat value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
61 inline TestParsingRequest& WithFileFormat(FileFormat value) { SetFileFormat(value); return *this;}
63
65
70 inline const EdiType& GetEdiType() const { return m_ediType; }
71 inline bool EdiTypeHasBeenSet() const { return m_ediTypeHasBeenSet; }
72 template<typename EdiTypeT = EdiType>
73 void SetEdiType(EdiTypeT&& value) { m_ediTypeHasBeenSet = true; m_ediType = std::forward<EdiTypeT>(value); }
74 template<typename EdiTypeT = EdiType>
75 TestParsingRequest& WithEdiType(EdiTypeT&& value) { SetEdiType(std::forward<EdiTypeT>(value)); return *this;}
77
79
84 inline const AdvancedOptions& GetAdvancedOptions() const { return m_advancedOptions; }
85 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
86 template<typename AdvancedOptionsT = AdvancedOptions>
87 void SetAdvancedOptions(AdvancedOptionsT&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions = std::forward<AdvancedOptionsT>(value); }
88 template<typename AdvancedOptionsT = AdvancedOptions>
89 TestParsingRequest& WithAdvancedOptions(AdvancedOptionsT&& value) { SetAdvancedOptions(std::forward<AdvancedOptionsT>(value)); return *this;}
91 private:
92
93 S3Location m_inputFile;
94 bool m_inputFileHasBeenSet = false;
95
96 FileFormat m_fileFormat{FileFormat::NOT_SET};
97 bool m_fileFormatHasBeenSet = false;
98
99 EdiType m_ediType;
100 bool m_ediTypeHasBeenSet = false;
101
102 AdvancedOptions m_advancedOptions;
103 bool m_advancedOptionsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace B2BI
108} // namespace Aws
virtual const char * GetServiceRequestName() const override
const AdvancedOptions & GetAdvancedOptions() const
TestParsingRequest & WithFileFormat(FileFormat value)
TestParsingRequest & WithInputFile(InputFileT &&value)
AWS_B2BI_API Aws::String SerializePayload() const override
AWS_B2BI_API TestParsingRequest()=default
TestParsingRequest & WithAdvancedOptions(AdvancedOptionsT &&value)
const S3Location & GetInputFile() const
void SetAdvancedOptions(AdvancedOptionsT &&value)
TestParsingRequest & WithEdiType(EdiTypeT &&value)
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String