AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFlywheelRequest.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/ComprehendRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/comprehend/model/TaskConfig.h>
11#include <aws/comprehend/model/ModelType.h>
12#include <aws/comprehend/model/DataSecurityConfig.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/comprehend/model/Tag.h>
15#include <utility>
16#include <aws/core/utils/UUID.h>
17
18namespace Aws
19{
20namespace Comprehend
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_COMPREHEND_API CreateFlywheelRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateFlywheel"; }
37
38 AWS_COMPREHEND_API Aws::String SerializePayload() const override;
39
41
42
44
47 inline const Aws::String& GetFlywheelName() const{ return m_flywheelName; }
48 inline bool FlywheelNameHasBeenSet() const { return m_flywheelNameHasBeenSet; }
49 inline void SetFlywheelName(const Aws::String& value) { m_flywheelNameHasBeenSet = true; m_flywheelName = value; }
50 inline void SetFlywheelName(Aws::String&& value) { m_flywheelNameHasBeenSet = true; m_flywheelName = std::move(value); }
51 inline void SetFlywheelName(const char* value) { m_flywheelNameHasBeenSet = true; m_flywheelName.assign(value); }
52 inline CreateFlywheelRequest& WithFlywheelName(const Aws::String& value) { SetFlywheelName(value); return *this;}
53 inline CreateFlywheelRequest& WithFlywheelName(Aws::String&& value) { SetFlywheelName(std::move(value)); return *this;}
54 inline CreateFlywheelRequest& WithFlywheelName(const char* value) { SetFlywheelName(value); return *this;}
56
58
63 inline const Aws::String& GetActiveModelArn() const{ return m_activeModelArn; }
64 inline bool ActiveModelArnHasBeenSet() const { return m_activeModelArnHasBeenSet; }
65 inline void SetActiveModelArn(const Aws::String& value) { m_activeModelArnHasBeenSet = true; m_activeModelArn = value; }
66 inline void SetActiveModelArn(Aws::String&& value) { m_activeModelArnHasBeenSet = true; m_activeModelArn = std::move(value); }
67 inline void SetActiveModelArn(const char* value) { m_activeModelArnHasBeenSet = true; m_activeModelArn.assign(value); }
68 inline CreateFlywheelRequest& WithActiveModelArn(const Aws::String& value) { SetActiveModelArn(value); return *this;}
69 inline CreateFlywheelRequest& WithActiveModelArn(Aws::String&& value) { SetActiveModelArn(std::move(value)); return *this;}
70 inline CreateFlywheelRequest& WithActiveModelArn(const char* value) { SetActiveModelArn(value); return *this;}
72
74
78 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
79 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
80 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
81 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
82 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
83 inline CreateFlywheelRequest& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;}
84 inline CreateFlywheelRequest& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
85 inline CreateFlywheelRequest& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
87
89
93 inline const TaskConfig& GetTaskConfig() const{ return m_taskConfig; }
94 inline bool TaskConfigHasBeenSet() const { return m_taskConfigHasBeenSet; }
95 inline void SetTaskConfig(const TaskConfig& value) { m_taskConfigHasBeenSet = true; m_taskConfig = value; }
96 inline void SetTaskConfig(TaskConfig&& value) { m_taskConfigHasBeenSet = true; m_taskConfig = std::move(value); }
97 inline CreateFlywheelRequest& WithTaskConfig(const TaskConfig& value) { SetTaskConfig(value); return *this;}
98 inline CreateFlywheelRequest& WithTaskConfig(TaskConfig&& value) { SetTaskConfig(std::move(value)); return *this;}
100
102
106 inline const ModelType& GetModelType() const{ return m_modelType; }
107 inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
108 inline void SetModelType(const ModelType& value) { m_modelTypeHasBeenSet = true; m_modelType = value; }
109 inline void SetModelType(ModelType&& value) { m_modelTypeHasBeenSet = true; m_modelType = std::move(value); }
110 inline CreateFlywheelRequest& WithModelType(const ModelType& value) { SetModelType(value); return *this;}
111 inline CreateFlywheelRequest& WithModelType(ModelType&& value) { SetModelType(std::move(value)); return *this;}
113
115
120 inline const Aws::String& GetDataLakeS3Uri() const{ return m_dataLakeS3Uri; }
121 inline bool DataLakeS3UriHasBeenSet() const { return m_dataLakeS3UriHasBeenSet; }
122 inline void SetDataLakeS3Uri(const Aws::String& value) { m_dataLakeS3UriHasBeenSet = true; m_dataLakeS3Uri = value; }
123 inline void SetDataLakeS3Uri(Aws::String&& value) { m_dataLakeS3UriHasBeenSet = true; m_dataLakeS3Uri = std::move(value); }
124 inline void SetDataLakeS3Uri(const char* value) { m_dataLakeS3UriHasBeenSet = true; m_dataLakeS3Uri.assign(value); }
125 inline CreateFlywheelRequest& WithDataLakeS3Uri(const Aws::String& value) { SetDataLakeS3Uri(value); return *this;}
126 inline CreateFlywheelRequest& WithDataLakeS3Uri(Aws::String&& value) { SetDataLakeS3Uri(std::move(value)); return *this;}
127 inline CreateFlywheelRequest& WithDataLakeS3Uri(const char* value) { SetDataLakeS3Uri(value); return *this;}
129
131
134 inline const DataSecurityConfig& GetDataSecurityConfig() const{ return m_dataSecurityConfig; }
135 inline bool DataSecurityConfigHasBeenSet() const { return m_dataSecurityConfigHasBeenSet; }
136 inline void SetDataSecurityConfig(const DataSecurityConfig& value) { m_dataSecurityConfigHasBeenSet = true; m_dataSecurityConfig = value; }
137 inline void SetDataSecurityConfig(DataSecurityConfig&& value) { m_dataSecurityConfigHasBeenSet = true; m_dataSecurityConfig = std::move(value); }
141
143
147 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
148 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
149 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
150 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
151 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
153 inline CreateFlywheelRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
154 inline CreateFlywheelRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
156
158
161 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
162 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
163 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
164 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
165 inline CreateFlywheelRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
166 inline CreateFlywheelRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
167 inline CreateFlywheelRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
168 inline CreateFlywheelRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
170 private:
171
172 Aws::String m_flywheelName;
173 bool m_flywheelNameHasBeenSet = false;
174
175 Aws::String m_activeModelArn;
176 bool m_activeModelArnHasBeenSet = false;
177
178 Aws::String m_dataAccessRoleArn;
179 bool m_dataAccessRoleArnHasBeenSet = false;
180
181 TaskConfig m_taskConfig;
182 bool m_taskConfigHasBeenSet = false;
183
184 ModelType m_modelType;
185 bool m_modelTypeHasBeenSet = false;
186
187 Aws::String m_dataLakeS3Uri;
188 bool m_dataLakeS3UriHasBeenSet = false;
189
190 DataSecurityConfig m_dataSecurityConfig;
191 bool m_dataSecurityConfigHasBeenSet = false;
192
193 Aws::String m_clientRequestToken;
194 bool m_clientRequestTokenHasBeenSet = false;
195
196 Aws::Vector<Tag> m_tags;
197 bool m_tagsHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace Comprehend
202} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreateFlywheelRequest & WithDataLakeS3Uri(Aws::String &&value)
CreateFlywheelRequest & WithClientRequestToken(const Aws::String &value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
CreateFlywheelRequest & WithDataSecurityConfig(DataSecurityConfig &&value)
CreateFlywheelRequest & WithModelType(const ModelType &value)
CreateFlywheelRequest & WithClientRequestToken(const char *value)
CreateFlywheelRequest & WithTags(const Aws::Vector< Tag > &value)
CreateFlywheelRequest & WithDataLakeS3Uri(const char *value)
CreateFlywheelRequest & WithFlywheelName(const Aws::String &value)
CreateFlywheelRequest & WithTaskConfig(TaskConfig &&value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateFlywheelRequest & WithDataAccessRoleArn(const char *value)
CreateFlywheelRequest & WithTags(Aws::Vector< Tag > &&value)
void SetDataSecurityConfig(DataSecurityConfig &&value)
CreateFlywheelRequest & AddTags(Tag &&value)
CreateFlywheelRequest & WithDataAccessRoleArn(Aws::String &&value)
CreateFlywheelRequest & WithTaskConfig(const TaskConfig &value)
CreateFlywheelRequest & WithActiveModelArn(const Aws::String &value)
CreateFlywheelRequest & WithFlywheelName(Aws::String &&value)
CreateFlywheelRequest & WithDataSecurityConfig(const DataSecurityConfig &value)
const DataSecurityConfig & GetDataSecurityConfig() const
void SetDataAccessRoleArn(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateFlywheelRequest & AddTags(const Tag &value)
CreateFlywheelRequest & WithClientRequestToken(Aws::String &&value)
CreateFlywheelRequest & WithDataLakeS3Uri(const Aws::String &value)
CreateFlywheelRequest & WithFlywheelName(const char *value)
CreateFlywheelRequest & WithModelType(ModelType &&value)
CreateFlywheelRequest & WithDataAccessRoleArn(const Aws::String &value)
CreateFlywheelRequest & WithActiveModelArn(const char *value)
void SetDataSecurityConfig(const DataSecurityConfig &value)
CreateFlywheelRequest & WithActiveModelArn(Aws::String &&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