AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInputFileContent(const Aws::String& value) { m_inputFileContentHasBeenSet = true; m_inputFileContent = value; }
46 inline void SetInputFileContent(Aws::String&& value) { m_inputFileContentHasBeenSet = true; m_inputFileContent = std::move(value); }
47 inline void SetInputFileContent(const char* value) { m_inputFileContentHasBeenSet = true; m_inputFileContent.assign(value); }
48 inline TestMappingRequest& WithInputFileContent(const Aws::String& value) { SetInputFileContent(value); return *this;}
49 inline TestMappingRequest& WithInputFileContent(Aws::String&& value) { SetInputFileContent(std::move(value)); return *this;}
50 inline TestMappingRequest& WithInputFileContent(const char* value) { SetInputFileContent(value); return *this;}
52
54
61 inline const Aws::String& GetMappingTemplate() const{ return m_mappingTemplate; }
62 inline bool MappingTemplateHasBeenSet() const { return m_mappingTemplateHasBeenSet; }
63 inline void SetMappingTemplate(const Aws::String& value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate = value; }
64 inline void SetMappingTemplate(Aws::String&& value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate = std::move(value); }
65 inline void SetMappingTemplate(const char* value) { m_mappingTemplateHasBeenSet = true; m_mappingTemplate.assign(value); }
66 inline TestMappingRequest& WithMappingTemplate(const Aws::String& value) { SetMappingTemplate(value); return *this;}
67 inline TestMappingRequest& WithMappingTemplate(Aws::String&& value) { SetMappingTemplate(std::move(value)); return *this;}
68 inline TestMappingRequest& WithMappingTemplate(const char* value) { SetMappingTemplate(value); return *this;}
70
72
76 inline const FileFormat& GetFileFormat() const{ return m_fileFormat; }
77 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
78 inline void SetFileFormat(const FileFormat& value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
79 inline void SetFileFormat(FileFormat&& value) { m_fileFormatHasBeenSet = true; m_fileFormat = std::move(value); }
80 inline TestMappingRequest& WithFileFormat(const FileFormat& value) { SetFileFormat(value); return *this;}
81 inline TestMappingRequest& WithFileFormat(FileFormat&& value) { SetFileFormat(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_inputFileContent;
86 bool m_inputFileContentHasBeenSet = false;
87
88 Aws::String m_mappingTemplate;
89 bool m_mappingTemplateHasBeenSet = false;
90
91 FileFormat m_fileFormat;
92 bool m_fileFormatHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace B2BI
97} // namespace Aws
TestMappingRequest & WithFileFormat(const FileFormat &value)
void SetInputFileContent(const char *value)
TestMappingRequest & WithInputFileContent(const char *value)
TestMappingRequest & WithFileFormat(FileFormat &&value)
const Aws::String & GetInputFileContent() const
TestMappingRequest & WithMappingTemplate(Aws::String &&value)
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
TestMappingRequest & WithInputFileContent(const Aws::String &value)
void SetFileFormat(const FileFormat &value)
TestMappingRequest & WithMappingTemplate(const Aws::String &value)
const FileFormat & GetFileFormat() const
void SetInputFileContent(Aws::String &&value)
const Aws::String & GetMappingTemplate() const
void SetInputFileContent(const Aws::String &value)
AWS_B2BI_API Aws::String SerializePayload() const override
void SetMappingTemplate(Aws::String &&value)
void SetMappingTemplate(const char *value)
virtual const char * GetServiceRequestName() const override
TestMappingRequest & WithMappingTemplate(const char *value)
void SetMappingTemplate(const Aws::String &value)
TestMappingRequest & WithInputFileContent(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String