AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDatasetExportJobRequest.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/personalize/PersonalizeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/personalize/model/IngestionMode.h>
11#include <aws/personalize/model/DatasetExportJobOutput.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/personalize/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Personalize
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_PERSONALIZE_API CreateDatasetExportJobRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateDatasetExportJob"; }
35
36 AWS_PERSONALIZE_API Aws::String SerializePayload() const override;
37
38 AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetJobName() const{ return m_jobName; }
46 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
47 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
48 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
49 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
50 inline CreateDatasetExportJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
51 inline CreateDatasetExportJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
52 inline CreateDatasetExportJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
54
56
60 inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
61 inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; }
62 inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; }
63 inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); }
64 inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); }
65 inline CreateDatasetExportJobRequest& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
66 inline CreateDatasetExportJobRequest& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
67 inline CreateDatasetExportJobRequest& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
69
71
78 inline const IngestionMode& GetIngestionMode() const{ return m_ingestionMode; }
79 inline bool IngestionModeHasBeenSet() const { return m_ingestionModeHasBeenSet; }
80 inline void SetIngestionMode(const IngestionMode& value) { m_ingestionModeHasBeenSet = true; m_ingestionMode = value; }
81 inline void SetIngestionMode(IngestionMode&& value) { m_ingestionModeHasBeenSet = true; m_ingestionMode = std::move(value); }
83 inline CreateDatasetExportJobRequest& WithIngestionMode(IngestionMode&& value) { SetIngestionMode(std::move(value)); return *this;}
85
87
91 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
92 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
93 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
94 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
95 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
96 inline CreateDatasetExportJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
97 inline CreateDatasetExportJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
98 inline CreateDatasetExportJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
100
102
105 inline const DatasetExportJobOutput& GetJobOutput() const{ return m_jobOutput; }
106 inline bool JobOutputHasBeenSet() const { return m_jobOutputHasBeenSet; }
107 inline void SetJobOutput(const DatasetExportJobOutput& value) { m_jobOutputHasBeenSet = true; m_jobOutput = value; }
108 inline void SetJobOutput(DatasetExportJobOutput&& value) { m_jobOutputHasBeenSet = true; m_jobOutput = std::move(value); }
110 inline CreateDatasetExportJobRequest& WithJobOutput(DatasetExportJobOutput&& value) { SetJobOutput(std::move(value)); return *this;}
112
114
119 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
120 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
121 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
122 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
123 inline CreateDatasetExportJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
124 inline CreateDatasetExportJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
125 inline CreateDatasetExportJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
126 inline CreateDatasetExportJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
128 private:
129
130 Aws::String m_jobName;
131 bool m_jobNameHasBeenSet = false;
132
133 Aws::String m_datasetArn;
134 bool m_datasetArnHasBeenSet = false;
135
136 IngestionMode m_ingestionMode;
137 bool m_ingestionModeHasBeenSet = false;
138
139 Aws::String m_roleArn;
140 bool m_roleArnHasBeenSet = false;
141
142 DatasetExportJobOutput m_jobOutput;
143 bool m_jobOutputHasBeenSet = false;
144
145 Aws::Vector<Tag> m_tags;
146 bool m_tagsHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace Personalize
151} // namespace Aws
CreateDatasetExportJobRequest & WithDatasetArn(const Aws::String &value)
CreateDatasetExportJobRequest & WithJobOutput(const DatasetExportJobOutput &value)
CreateDatasetExportJobRequest & AddTags(const Tag &value)
CreateDatasetExportJobRequest & WithDatasetArn(const char *value)
AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDatasetExportJobRequest & WithJobName(Aws::String &&value)
CreateDatasetExportJobRequest & WithRoleArn(Aws::String &&value)
CreateDatasetExportJobRequest & WithIngestionMode(IngestionMode &&value)
CreateDatasetExportJobRequest & WithRoleArn(const Aws::String &value)
CreateDatasetExportJobRequest & WithIngestionMode(const IngestionMode &value)
CreateDatasetExportJobRequest & WithRoleArn(const char *value)
CreateDatasetExportJobRequest & WithJobName(const Aws::String &value)
CreateDatasetExportJobRequest & WithDatasetArn(Aws::String &&value)
CreateDatasetExportJobRequest & WithJobName(const char *value)
CreateDatasetExportJobRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_PERSONALIZE_API Aws::String SerializePayload() const override
CreateDatasetExportJobRequest & WithJobOutput(DatasetExportJobOutput &&value)
CreateDatasetExportJobRequest & WithTags(const Aws::Vector< Tag > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector