AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateStarterMappingTemplateRequest.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/MappingType.h>
11#include <aws/b2bi/model/TemplateDetails.h>
12#include <utility>
13
14namespace Aws
15{
16namespace B2BI
17{
18namespace Model
19{
20
24 {
25 public:
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 "CreateStarterMappingTemplate"; }
33
34 AWS_B2BI_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const S3Location& GetOutputSampleLocation() const{ return m_outputSampleLocation; }
45 inline bool OutputSampleLocationHasBeenSet() const { return m_outputSampleLocationHasBeenSet; }
46 inline void SetOutputSampleLocation(const S3Location& value) { m_outputSampleLocationHasBeenSet = true; m_outputSampleLocation = value; }
47 inline void SetOutputSampleLocation(S3Location&& value) { m_outputSampleLocationHasBeenSet = true; m_outputSampleLocation = std::move(value); }
51
53
56 inline const MappingType& GetMappingType() const{ return m_mappingType; }
57 inline bool MappingTypeHasBeenSet() const { return m_mappingTypeHasBeenSet; }
58 inline void SetMappingType(const MappingType& value) { m_mappingTypeHasBeenSet = true; m_mappingType = value; }
59 inline void SetMappingType(MappingType&& value) { m_mappingTypeHasBeenSet = true; m_mappingType = std::move(value); }
61 inline CreateStarterMappingTemplateRequest& WithMappingType(MappingType&& value) { SetMappingType(std::move(value)); return *this;}
63
65
70 inline const TemplateDetails& GetTemplateDetails() const{ return m_templateDetails; }
71 inline bool TemplateDetailsHasBeenSet() const { return m_templateDetailsHasBeenSet; }
72 inline void SetTemplateDetails(const TemplateDetails& value) { m_templateDetailsHasBeenSet = true; m_templateDetails = value; }
73 inline void SetTemplateDetails(TemplateDetails&& value) { m_templateDetailsHasBeenSet = true; m_templateDetails = std::move(value); }
77 private:
78
79 S3Location m_outputSampleLocation;
80 bool m_outputSampleLocationHasBeenSet = false;
81
82 MappingType m_mappingType;
83 bool m_mappingTypeHasBeenSet = false;
84
85 TemplateDetails m_templateDetails;
86 bool m_templateDetailsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace B2BI
91} // namespace Aws
CreateStarterMappingTemplateRequest & WithMappingType(const MappingType &value)
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateStarterMappingTemplateRequest & WithOutputSampleLocation(S3Location &&value)
CreateStarterMappingTemplateRequest & WithTemplateDetails(const TemplateDetails &value)
CreateStarterMappingTemplateRequest & WithOutputSampleLocation(const S3Location &value)
AWS_B2BI_API Aws::String SerializePayload() const override
CreateStarterMappingTemplateRequest & WithMappingType(MappingType &&value)
CreateStarterMappingTemplateRequest & WithTemplateDetails(TemplateDetails &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String