AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDataDeletionJobRequest.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/DataSource.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/personalize/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Personalize
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_PERSONALIZE_API CreateDataDeletionJobRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateDataDeletionJob"; }
34
35 AWS_PERSONALIZE_API Aws::String SerializePayload() const override;
36
37 AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetJobName() const{ return m_jobName; }
45 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
46 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
47 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
48 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
49 inline CreateDataDeletionJobRequest& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
50 inline CreateDataDeletionJobRequest& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
51 inline CreateDataDeletionJobRequest& WithJobName(const char* value) { SetJobName(value); return *this;}
53
55
59 inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
60 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
61 inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
62 inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
63 inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
65 inline CreateDataDeletionJobRequest& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
66 inline CreateDataDeletionJobRequest& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
68
70
74 inline const DataSource& GetDataSource() const{ return m_dataSource; }
75 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
76 inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
77 inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
78 inline CreateDataDeletionJobRequest& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
79 inline CreateDataDeletionJobRequest& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
81
83
87 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
88 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
89 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
90 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
91 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
92 inline CreateDataDeletionJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
93 inline CreateDataDeletionJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
94 inline CreateDataDeletionJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
96
98
103 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
104 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
105 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
106 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
107 inline CreateDataDeletionJobRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
108 inline CreateDataDeletionJobRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
109 inline CreateDataDeletionJobRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
110 inline CreateDataDeletionJobRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
112 private:
113
114 Aws::String m_jobName;
115 bool m_jobNameHasBeenSet = false;
116
117 Aws::String m_datasetGroupArn;
118 bool m_datasetGroupArnHasBeenSet = false;
119
120 DataSource m_dataSource;
121 bool m_dataSourceHasBeenSet = false;
122
123 Aws::String m_roleArn;
124 bool m_roleArnHasBeenSet = false;
125
126 Aws::Vector<Tag> m_tags;
127 bool m_tagsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace Personalize
132} // namespace Aws
CreateDataDeletionJobRequest & WithRoleArn(const char *value)
CreateDataDeletionJobRequest & WithTags(const Aws::Vector< Tag > &value)
CreateDataDeletionJobRequest & WithJobName(const char *value)
CreateDataDeletionJobRequest & WithDatasetGroupArn(Aws::String &&value)
CreateDataDeletionJobRequest & WithDatasetGroupArn(const Aws::String &value)
CreateDataDeletionJobRequest & WithDataSource(DataSource &&value)
CreateDataDeletionJobRequest & WithJobName(Aws::String &&value)
CreateDataDeletionJobRequest & AddTags(const Tag &value)
CreateDataDeletionJobRequest & WithDatasetGroupArn(const char *value)
CreateDataDeletionJobRequest & WithJobName(const Aws::String &value)
AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDataDeletionJobRequest & WithRoleArn(Aws::String &&value)
CreateDataDeletionJobRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDataDeletionJobRequest & WithRoleArn(const Aws::String &value)
CreateDataDeletionJobRequest & WithDataSource(const DataSource &value)
AWS_PERSONALIZE_API Aws::String SerializePayload() const override
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