AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TestMappingRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/B2BIRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/b2bi/model/FileFormat.h>
11#include <utility>
12
13namespace Aws
14{
15namespace B2BI
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_B2BI_API TestMappingRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "TestMapping"; }
32
33 AWS_B2BI_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetInputFileContent() const { return m_inputFileContent; }
44 inline bool InputFileContentHasBeenSet() const { return m_inputFileContentHasBeenSet; }
45 template<typename InputFileContentT = Aws::String>
46 void SetInputFileContent(InputFileContentT&& value) { m_inputFileContentHasBeenSet = true; m_inputFileContent = std::forward<InputFileContentT>(value); }
47 template<typename InputFileContentT = Aws::String>
48 TestMappingRequest& WithInputFileContent(InputFileContentT&& value) { SetInputFileContent(std::forward<InputFileContentT>(value)); return *this;}
50
52
59 inline const Aws::String& GetMappingTemplate() const { return m_mappingTemplate; }
60 inline bool MappingTemplateHasBeenSet() const { return m_mappingTemplateHasBeenSet; }
61 template<typename MappingTemplateT = Aws::String>
62 void SetMappingTemplate(MappingTemplateT&& value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate = std::forward<MappingTemplateT>(value); }
63 template<typename MappingTemplateT = Aws::String>
64 TestMappingRequest& WithMappingTemplate(MappingTemplateT&& value) { SetMappingTemplate(std::forward<MappingTemplateT>(value)); return *this;}
66
68
72 inline FileFormat GetFileFormat() const { return m_fileFormat; }
73 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
74 inline void SetFileFormat(FileFormat value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
75 inline TestMappingRequest& WithFileFormat(FileFormat value) { SetFileFormat(value); return *this;}
77 private:
78
79 Aws::String m_inputFileContent;
80 bool m_inputFileContentHasBeenSet = false;
81
82 Aws::String m_mappingTemplate;
83 bool m_mappingTemplateHasBeenSet = false;
84
85 FileFormat m_fileFormat{FileFormat::NOT_SET};
86 bool m_fileFormatHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace B2BI
91} // 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