AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
CreateExportJobRequest.h
1
6#pragma once
7#include <aws/sesv2/SESV2Request.h>
8#include <aws/sesv2/SESV2_EXPORTS.h>
9#include <aws/sesv2/model/ExportDataSource.h>
10#include <aws/sesv2/model/ExportDestination.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SESV2 {
16namespace Model {
17
25 public:
26 AWS_SESV2_API CreateExportJobRequest() = default;
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 "CreateExportJob"; }
33
34 AWS_SESV2_API Aws::String SerializePayload() const override;
35
37
40 inline const ExportDataSource& GetExportDataSource() const { return m_exportDataSource; }
41 inline bool ExportDataSourceHasBeenSet() const { return m_exportDataSourceHasBeenSet; }
42 template <typename ExportDataSourceT = ExportDataSource>
43 void SetExportDataSource(ExportDataSourceT&& value) {
44 m_exportDataSourceHasBeenSet = true;
45 m_exportDataSource = std::forward<ExportDataSourceT>(value);
46 }
47 template <typename ExportDataSourceT = ExportDataSource>
48 CreateExportJobRequest& WithExportDataSource(ExportDataSourceT&& value) {
49 SetExportDataSource(std::forward<ExportDataSourceT>(value));
50 return *this;
51 }
53
55
61 inline const ExportDestination& GetExportDestination() const { return m_exportDestination; }
62 inline bool ExportDestinationHasBeenSet() const { return m_exportDestinationHasBeenSet; }
63 template <typename ExportDestinationT = ExportDestination>
64 void SetExportDestination(ExportDestinationT&& value) {
65 m_exportDestinationHasBeenSet = true;
66 m_exportDestination = std::forward<ExportDestinationT>(value);
67 }
68 template <typename ExportDestinationT = ExportDestination>
69 CreateExportJobRequest& WithExportDestination(ExportDestinationT&& value) {
70 SetExportDestination(std::forward<ExportDestinationT>(value));
71 return *this;
72 }
74 private:
75 ExportDataSource m_exportDataSource;
76
77 ExportDestination m_exportDestination;
78 bool m_exportDataSourceHasBeenSet = false;
79 bool m_exportDestinationHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace SESV2
84} // namespace Aws
const ExportDestination & GetExportDestination() const
AWS_SESV2_API CreateExportJobRequest()=default
const ExportDataSource & GetExportDataSource() const
void SetExportDestination(ExportDestinationT &&value)
void SetExportDataSource(ExportDataSourceT &&value)
CreateExportJobRequest & WithExportDestination(ExportDestinationT &&value)
AWS_SESV2_API Aws::String SerializePayload() const override
CreateExportJobRequest & WithExportDataSource(ExportDataSourceT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String