AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
13
14namespace Aws
15{
16namespace B2BI
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_B2BI_API TestParsingRequest();
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 "TestParsing"; }
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 inline void SetInputFile(const S3Location& value) { m_inputFileHasBeenSet = true; m_inputFile = value; }
47 inline void SetInputFile(S3Location&& value) { m_inputFileHasBeenSet = true; m_inputFile = std::move(value); }
48 inline TestParsingRequest& WithInputFile(const S3Location& value) { SetInputFile(value); return *this;}
49 inline TestParsingRequest& WithInputFile(S3Location&& value) { SetInputFile(std::move(value)); return *this;}
51
53
57 inline const FileFormat& GetFileFormat() const{ return m_fileFormat; }
58 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
59 inline void SetFileFormat(const FileFormat& value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
60 inline void SetFileFormat(FileFormat&& value) { m_fileFormatHasBeenSet = true; m_fileFormat = std::move(value); }
61 inline TestParsingRequest& WithFileFormat(const FileFormat& value) { SetFileFormat(value); return *this;}
62 inline TestParsingRequest& WithFileFormat(FileFormat&& value) { SetFileFormat(std::move(value)); return *this;}
64
66
71 inline const EdiType& GetEdiType() const{ return m_ediType; }
72 inline bool EdiTypeHasBeenSet() const { return m_ediTypeHasBeenSet; }
73 inline void SetEdiType(const EdiType& value) { m_ediTypeHasBeenSet = true; m_ediType = value; }
74 inline void SetEdiType(EdiType&& value) { m_ediTypeHasBeenSet = true; m_ediType = std::move(value); }
75 inline TestParsingRequest& WithEdiType(const EdiType& value) { SetEdiType(value); return *this;}
76 inline TestParsingRequest& WithEdiType(EdiType&& value) { SetEdiType(std::move(value)); return *this;}
78 private:
79
80 S3Location m_inputFile;
81 bool m_inputFileHasBeenSet = false;
82
83 FileFormat m_fileFormat;
84 bool m_fileFormatHasBeenSet = false;
85
86 EdiType m_ediType;
87 bool m_ediTypeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace B2BI
92} // namespace Aws
void SetInputFile(const S3Location &value)
virtual const char * GetServiceRequestName() const override
const FileFormat & GetFileFormat() const
AWS_B2BI_API Aws::String SerializePayload() const override
const S3Location & GetInputFile() const
TestParsingRequest & WithEdiType(const EdiType &value)
void SetEdiType(const EdiType &value)
void SetFileFormat(const FileFormat &value)
TestParsingRequest & WithFileFormat(FileFormat &&value)
TestParsingRequest & WithFileFormat(const FileFormat &value)
TestParsingRequest & WithInputFile(S3Location &&value)
TestParsingRequest & WithInputFile(const S3Location &value)
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
TestParsingRequest & WithEdiType(EdiType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String