AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateExportJobRequest.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/SESV2Request.h>
9#include <aws/sesv2/model/ExportDataSource.h>
10#include <aws/sesv2/model/ExportDestination.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SESV2
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_SESV2_API CreateExportJobRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateExportJob"; }
36
37 AWS_SESV2_API Aws::String SerializePayload() const override;
38
39
41
44 inline const ExportDataSource& GetExportDataSource() const{ return m_exportDataSource; }
45 inline bool ExportDataSourceHasBeenSet() const { return m_exportDataSourceHasBeenSet; }
46 inline void SetExportDataSource(const ExportDataSource& value) { m_exportDataSourceHasBeenSet = true; m_exportDataSource = value; }
47 inline void SetExportDataSource(ExportDataSource&& value) { m_exportDataSourceHasBeenSet = true; m_exportDataSource = std::move(value); }
49 inline CreateExportJobRequest& WithExportDataSource(ExportDataSource&& value) { SetExportDataSource(std::move(value)); return *this;}
51
53
56 inline const ExportDestination& GetExportDestination() const{ return m_exportDestination; }
57 inline bool ExportDestinationHasBeenSet() const { return m_exportDestinationHasBeenSet; }
58 inline void SetExportDestination(const ExportDestination& value) { m_exportDestinationHasBeenSet = true; m_exportDestination = value; }
59 inline void SetExportDestination(ExportDestination&& value) { m_exportDestinationHasBeenSet = true; m_exportDestination = std::move(value); }
61 inline CreateExportJobRequest& WithExportDestination(ExportDestination&& value) { SetExportDestination(std::move(value)); return *this;}
63 private:
64
65 ExportDataSource m_exportDataSource;
66 bool m_exportDataSourceHasBeenSet = false;
67
68 ExportDestination m_exportDestination;
69 bool m_exportDestinationHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SESV2
74} // namespace Aws
CreateExportJobRequest & WithExportDestination(const ExportDestination &value)
CreateExportJobRequest & WithExportDataSource(const ExportDataSource &value)
const ExportDestination & GetExportDestination() const
const ExportDataSource & GetExportDataSource() const
void SetExportDataSource(ExportDataSource &&value)
void SetExportDestination(const ExportDestination &value)
CreateExportJobRequest & WithExportDestination(ExportDestination &&value)
CreateExportJobRequest & WithExportDataSource(ExportDataSource &&value)
AWS_SESV2_API Aws::String SerializePayload() const override
void SetExportDestination(ExportDestination &&value)
virtual const char * GetServiceRequestName() const override
void SetExportDataSource(const ExportDataSource &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String