AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateImportJobRequest.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/SESV2Request.h>
9#include <aws/sesv2/model/ImportDestination.h>
10#include <aws/sesv2/model/ImportDataSource.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SESV2
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_SESV2_API CreateImportJobRequest();
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 "CreateImportJob"; }
36
37 AWS_SESV2_API Aws::String SerializePayload() const override;
38
39
41
44 inline const ImportDestination& GetImportDestination() const{ return m_importDestination; }
45 inline bool ImportDestinationHasBeenSet() const { return m_importDestinationHasBeenSet; }
46 inline void SetImportDestination(const ImportDestination& value) { m_importDestinationHasBeenSet = true; m_importDestination = value; }
47 inline void SetImportDestination(ImportDestination&& value) { m_importDestinationHasBeenSet = true; m_importDestination = std::move(value); }
49 inline CreateImportJobRequest& WithImportDestination(ImportDestination&& value) { SetImportDestination(std::move(value)); return *this;}
51
53
56 inline const ImportDataSource& GetImportDataSource() const{ return m_importDataSource; }
57 inline bool ImportDataSourceHasBeenSet() const { return m_importDataSourceHasBeenSet; }
58 inline void SetImportDataSource(const ImportDataSource& value) { m_importDataSourceHasBeenSet = true; m_importDataSource = value; }
59 inline void SetImportDataSource(ImportDataSource&& value) { m_importDataSourceHasBeenSet = true; m_importDataSource = std::move(value); }
61 inline CreateImportJobRequest& WithImportDataSource(ImportDataSource&& value) { SetImportDataSource(std::move(value)); return *this;}
63 private:
64
65 ImportDestination m_importDestination;
66 bool m_importDestinationHasBeenSet = false;
67
68 ImportDataSource m_importDataSource;
69 bool m_importDataSourceHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SESV2
74} // namespace Aws
void SetImportDataSource(ImportDataSource &&value)
virtual const char * GetServiceRequestName() const override
const ImportDestination & GetImportDestination() const
CreateImportJobRequest & WithImportDataSource(ImportDataSource &&value)
void SetImportDataSource(const ImportDataSource &value)
AWS_SESV2_API Aws::String SerializePayload() const override
const ImportDataSource & GetImportDataSource() const
CreateImportJobRequest & WithImportDataSource(const ImportDataSource &value)
CreateImportJobRequest & WithImportDestination(const ImportDestination &value)
CreateImportJobRequest & WithImportDestination(ImportDestination &&value)
void SetImportDestination(ImportDestination &&value)
void SetImportDestination(const ImportDestination &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String