AWS SDK for C++  1.9.159
AWS SDK for C++
CreateImportJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SESV2
16 {
17 namespace Model
18 {
19 
27  {
28  public:
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::String SerializePayload() const override;
38 
39 
43  inline const ImportDestination& GetImportDestination() const{ return m_importDestination; }
44 
48  inline bool ImportDestinationHasBeenSet() const { return m_importDestinationHasBeenSet; }
49 
53  inline void SetImportDestination(const ImportDestination& value) { m_importDestinationHasBeenSet = true; m_importDestination = value; }
54 
58  inline void SetImportDestination(ImportDestination&& value) { m_importDestinationHasBeenSet = true; m_importDestination = std::move(value); }
59 
63  inline CreateImportJobRequest& WithImportDestination(const ImportDestination& value) { SetImportDestination(value); return *this;}
64 
68  inline CreateImportJobRequest& WithImportDestination(ImportDestination&& value) { SetImportDestination(std::move(value)); return *this;}
69 
70 
74  inline const ImportDataSource& GetImportDataSource() const{ return m_importDataSource; }
75 
79  inline bool ImportDataSourceHasBeenSet() const { return m_importDataSourceHasBeenSet; }
80 
84  inline void SetImportDataSource(const ImportDataSource& value) { m_importDataSourceHasBeenSet = true; m_importDataSource = value; }
85 
89  inline void SetImportDataSource(ImportDataSource&& value) { m_importDataSourceHasBeenSet = true; m_importDataSource = std::move(value); }
90 
94  inline CreateImportJobRequest& WithImportDataSource(const ImportDataSource& value) { SetImportDataSource(value); return *this;}
95 
99  inline CreateImportJobRequest& WithImportDataSource(ImportDataSource&& value) { SetImportDataSource(std::move(value)); return *this;}
100 
101  private:
102 
103  ImportDestination m_importDestination;
104  bool m_importDestinationHasBeenSet;
105 
106  ImportDataSource m_importDataSource;
107  bool m_importDataSourceHasBeenSet;
108  };
109 
110 } // namespace Model
111 } // namespace SESV2
112 } // namespace Aws
Aws::SESV2::Model::ImportDestination
Definition: ImportDestination.h:34
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::CreateImportJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SESV2::Model::CreateImportJobRequest::WithImportDestination
CreateImportJobRequest & WithImportDestination(ImportDestination &&value)
Definition: CreateImportJobRequest.h:68
ImportDestination.h
ImportDataSource.h
Aws::SESV2::Model::CreateImportJobRequest::WithImportDataSource
CreateImportJobRequest & WithImportDataSource(const ImportDataSource &value)
Definition: CreateImportJobRequest.h:94
Aws::SESV2::Model::CreateImportJobRequest::ImportDataSourceHasBeenSet
bool ImportDataSourceHasBeenSet() const
Definition: CreateImportJobRequest.h:79
Aws::SESV2::Model::CreateImportJobRequest::WithImportDestination
CreateImportJobRequest & WithImportDestination(const ImportDestination &value)
Definition: CreateImportJobRequest.h:63
Aws::SESV2::Model::CreateImportJobRequest::SetImportDataSource
void SetImportDataSource(const ImportDataSource &value)
Definition: CreateImportJobRequest.h:84
Aws::SESV2::Model::CreateImportJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateImportJobRequest.h:35
Aws::SESV2::SESV2Request
Definition: SESV2Request.h:17
SESV2_EXPORTS.h
Aws::SESV2::Model::CreateImportJobRequest::GetImportDestination
const ImportDestination & GetImportDestination() const
Definition: CreateImportJobRequest.h:43
Aws::SESV2::Model::CreateImportJobRequest::SetImportDestination
void SetImportDestination(const ImportDestination &value)
Definition: CreateImportJobRequest.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ImportDataSource
Definition: ImportDataSource.h:34
Aws::SESV2::Model::CreateImportJobRequest::SetImportDataSource
void SetImportDataSource(ImportDataSource &&value)
Definition: CreateImportJobRequest.h:89
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::CreateImportJobRequest::WithImportDataSource
CreateImportJobRequest & WithImportDataSource(ImportDataSource &&value)
Definition: CreateImportJobRequest.h:99
Aws::SESV2::Model::CreateImportJobRequest::CreateImportJobRequest
CreateImportJobRequest()
SESV2Request.h
Aws::SESV2::Model::CreateImportJobRequest::GetImportDataSource
const ImportDataSource & GetImportDataSource() const
Definition: CreateImportJobRequest.h:74
Aws::SESV2::Model::CreateImportJobRequest::SetImportDestination
void SetImportDestination(ImportDestination &&value)
Definition: CreateImportJobRequest.h:58
Aws::SESV2::Model::CreateImportJobRequest
Definition: CreateImportJobRequest.h:27
Aws::SESV2::Model::CreateImportJobRequest::ImportDestinationHasBeenSet
bool ImportDestinationHasBeenSet() const
Definition: CreateImportJobRequest.h:48