AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TestMappingRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BIRequest.h>
8#include <aws/b2bi/B2BI_EXPORTS.h>
9#include <aws/b2bi/model/FileFormat.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace B2BI {
16namespace Model {
17
21 public:
22 AWS_B2BI_API TestMappingRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "TestMapping"; }
29
30 AWS_B2BI_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetInputFileContent() const { return m_inputFileContent; }
40 inline bool InputFileContentHasBeenSet() const { return m_inputFileContentHasBeenSet; }
41 template <typename InputFileContentT = Aws::String>
42 void SetInputFileContent(InputFileContentT&& value) {
43 m_inputFileContentHasBeenSet = true;
44 m_inputFileContent = std::forward<InputFileContentT>(value);
45 }
46 template <typename InputFileContentT = Aws::String>
47 TestMappingRequest& WithInputFileContent(InputFileContentT&& value) {
48 SetInputFileContent(std::forward<InputFileContentT>(value));
49 return *this;
50 }
52
54
61 inline const Aws::String& GetMappingTemplate() const { return m_mappingTemplate; }
62 inline bool MappingTemplateHasBeenSet() const { return m_mappingTemplateHasBeenSet; }
63 template <typename MappingTemplateT = Aws::String>
64 void SetMappingTemplate(MappingTemplateT&& value) {
65 m_mappingTemplateHasBeenSet = true;
66 m_mappingTemplate = std::forward<MappingTemplateT>(value);
67 }
68 template <typename MappingTemplateT = Aws::String>
69 TestMappingRequest& WithMappingTemplate(MappingTemplateT&& value) {
70 SetMappingTemplate(std::forward<MappingTemplateT>(value));
71 return *this;
72 }
74
76
80 inline FileFormat GetFileFormat() const { return m_fileFormat; }
81 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
82 inline void SetFileFormat(FileFormat value) {
83 m_fileFormatHasBeenSet = true;
84 m_fileFormat = value;
85 }
87 SetFileFormat(value);
88 return *this;
89 }
91 private:
92 Aws::String m_inputFileContent;
93
94 Aws::String m_mappingTemplate;
95
96 FileFormat m_fileFormat{FileFormat::NOT_SET};
97 bool m_inputFileContentHasBeenSet = false;
98 bool m_mappingTemplateHasBeenSet = false;
99 bool m_fileFormatHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace B2BI
104} // namespace Aws
const Aws::String & GetInputFileContent() const
TestMappingRequest & WithMappingTemplate(MappingTemplateT &&value)
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetMappingTemplate(MappingTemplateT &&value)
void SetInputFileContent(InputFileContentT &&value)
const Aws::String & GetMappingTemplate() const
AWS_B2BI_API TestMappingRequest()=default
AWS_B2BI_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
TestMappingRequest & WithInputFileContent(InputFileContentT &&value)
TestMappingRequest & WithFileFormat(FileFormat value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String