AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateStarterMappingTemplateRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BIRequest.h>
8#include <aws/b2bi/B2BI_EXPORTS.h>
9#include <aws/b2bi/model/MappingType.h>
10#include <aws/b2bi/model/S3Location.h>
11#include <aws/b2bi/model/TemplateDetails.h>
12
13#include <utility>
14
15namespace Aws {
16namespace B2BI {
17namespace Model {
18
22 public:
23 AWS_B2BI_API CreateStarterMappingTemplateRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateStarterMappingTemplate"; }
30
31 AWS_B2BI_API Aws::String SerializePayload() const override;
32
34
36
40 inline const S3Location& GetOutputSampleLocation() const { return m_outputSampleLocation; }
41 inline bool OutputSampleLocationHasBeenSet() const { return m_outputSampleLocationHasBeenSet; }
42 template <typename OutputSampleLocationT = S3Location>
43 void SetOutputSampleLocation(OutputSampleLocationT&& value) {
44 m_outputSampleLocationHasBeenSet = true;
45 m_outputSampleLocation = std::forward<OutputSampleLocationT>(value);
46 }
47 template <typename OutputSampleLocationT = S3Location>
49 SetOutputSampleLocation(std::forward<OutputSampleLocationT>(value));
50 return *this;
51 }
53
55
58 inline MappingType GetMappingType() const { return m_mappingType; }
59 inline bool MappingTypeHasBeenSet() const { return m_mappingTypeHasBeenSet; }
60 inline void SetMappingType(MappingType value) {
61 m_mappingTypeHasBeenSet = true;
62 m_mappingType = value;
63 }
65 SetMappingType(value);
66 return *this;
67 }
69
71
76 inline const TemplateDetails& GetTemplateDetails() const { return m_templateDetails; }
77 inline bool TemplateDetailsHasBeenSet() const { return m_templateDetailsHasBeenSet; }
78 template <typename TemplateDetailsT = TemplateDetails>
79 void SetTemplateDetails(TemplateDetailsT&& value) {
80 m_templateDetailsHasBeenSet = true;
81 m_templateDetails = std::forward<TemplateDetailsT>(value);
82 }
83 template <typename TemplateDetailsT = TemplateDetails>
85 SetTemplateDetails(std::forward<TemplateDetailsT>(value));
86 return *this;
87 }
89 private:
90 S3Location m_outputSampleLocation;
91
92 MappingType m_mappingType{MappingType::NOT_SET};
93
94 TemplateDetails m_templateDetails;
95 bool m_outputSampleLocationHasBeenSet = false;
96 bool m_mappingTypeHasBeenSet = false;
97 bool m_templateDetailsHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace B2BI
102} // namespace Aws
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateStarterMappingTemplateRequest & WithOutputSampleLocation(OutputSampleLocationT &&value)
AWS_B2BI_API Aws::String SerializePayload() const override
CreateStarterMappingTemplateRequest & WithTemplateDetails(TemplateDetailsT &&value)
CreateStarterMappingTemplateRequest & WithMappingType(MappingType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String