AWS SDK for C++  1.9.108
AWS SDK for C++
DeleteDatasetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 #include <aws/core/utils/UUID.h>
12 
13 namespace Aws
14 {
15 namespace LookoutforVision
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DeleteDataset"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetProjectName() const{ return m_projectName; }
43 
48  inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
49 
54  inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
55 
60  inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
61 
66  inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
67 
72  inline DeleteDatasetRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
73 
78  inline DeleteDatasetRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
79 
84  inline DeleteDatasetRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
85 
86 
92  inline const Aws::String& GetDatasetType() const{ return m_datasetType; }
93 
99  inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
100 
106  inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
107 
113  inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
114 
120  inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); }
121 
127  inline DeleteDatasetRequest& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;}
128 
134  inline DeleteDatasetRequest& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;}
135 
141  inline DeleteDatasetRequest& WithDatasetType(const char* value) { SetDatasetType(value); return *this;}
142 
143 
155  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
156 
168  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
169 
181  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
182 
194  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
195 
207  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
208 
220  inline DeleteDatasetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
221 
233  inline DeleteDatasetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
234 
246  inline DeleteDatasetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
247 
248  private:
249 
250  Aws::String m_projectName;
251  bool m_projectNameHasBeenSet;
252 
253  Aws::String m_datasetType;
254  bool m_datasetTypeHasBeenSet;
255 
256  Aws::String m_clientToken;
257  bool m_clientTokenHasBeenSet;
258  };
259 
260 } // namespace Model
261 } // namespace LookoutforVision
262 } // namespace Aws
Aws::LookoutforVision::Model::DeleteDatasetRequest::WithProjectName
DeleteDatasetRequest & WithProjectName(Aws::String &&value)
Definition: DeleteDatasetRequest.h:78
LookoutforVisionRequest.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::LookoutforVision::Model::DeleteDatasetRequest::WithProjectName
DeleteDatasetRequest & WithProjectName(const Aws::String &value)
Definition: DeleteDatasetRequest.h:72
Aws::LookoutforVision::Model::DeleteDatasetRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: DeleteDatasetRequest.h:194
Aws::LookoutforVision::Model::DeleteDatasetRequest::SetDatasetType
void SetDatasetType(Aws::String &&value)
Definition: DeleteDatasetRequest.h:113
Aws::LookoutforVision::Model::DeleteDatasetRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: DeleteDatasetRequest.h:181
Aws::LookoutforVision::Model::DeleteDatasetRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: DeleteDatasetRequest.h:168
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::DeleteDatasetRequest::WithDatasetType
DeleteDatasetRequest & WithDatasetType(Aws::String &&value)
Definition: DeleteDatasetRequest.h:134
Aws::LookoutforVision::Model::DeleteDatasetRequest::SetProjectName
void SetProjectName(Aws::String &&value)
Definition: DeleteDatasetRequest.h:60
Aws::LookoutforVision::Model::DeleteDatasetRequest::SetDatasetType
void SetDatasetType(const Aws::String &value)
Definition: DeleteDatasetRequest.h:106
Aws::LookoutforVision::LookoutforVisionRequest
Definition: LookoutforVisionRequest.h:18
Aws::LookoutforVision::Model::DeleteDatasetRequest::SetClientToken
void SetClientToken(const char *value)
Definition: DeleteDatasetRequest.h:207
Aws::LookoutforVision::Model::DeleteDatasetRequest
Definition: DeleteDatasetRequest.h:23
Aws::LookoutforVision::Model::DeleteDatasetRequest::WithDatasetType
DeleteDatasetRequest & WithDatasetType(const char *value)
Definition: DeleteDatasetRequest.h:141
Aws::LookoutforVision::Model::DeleteDatasetRequest::SetDatasetType
void SetDatasetType(const char *value)
Definition: DeleteDatasetRequest.h:120
Aws::LookoutforVision::Model::DeleteDatasetRequest::GetDatasetType
const Aws::String & GetDatasetType() const
Definition: DeleteDatasetRequest.h:92
AWSString.h
Aws::LookoutforVision::Model::DeleteDatasetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDatasetRequest.h:31
Aws::LookoutforVision::Model::DeleteDatasetRequest::SetProjectName
void SetProjectName(const char *value)
Definition: DeleteDatasetRequest.h:66
Aws::LookoutforVision::Model::DeleteDatasetRequest::WithClientToken
DeleteDatasetRequest & WithClientToken(const Aws::String &value)
Definition: DeleteDatasetRequest.h:220
Aws::LookoutforVision::Model::DeleteDatasetRequest::SetProjectName
void SetProjectName(const Aws::String &value)
Definition: DeleteDatasetRequest.h:54
Aws::LookoutforVision::Model::DeleteDatasetRequest::WithClientToken
DeleteDatasetRequest & WithClientToken(Aws::String &&value)
Definition: DeleteDatasetRequest.h:233
Aws::LookoutforVision::Model::DeleteDatasetRequest::ProjectNameHasBeenSet
bool ProjectNameHasBeenSet() const
Definition: DeleteDatasetRequest.h:48
Aws::LookoutforVision::Model::DeleteDatasetRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: DeleteDatasetRequest.h:155
Aws::LookoutforVision::Model::DeleteDatasetRequest::GetProjectName
const Aws::String & GetProjectName() const
Definition: DeleteDatasetRequest.h:42
Aws::LookoutforVision::Model::DeleteDatasetRequest::WithClientToken
DeleteDatasetRequest & WithClientToken(const char *value)
Definition: DeleteDatasetRequest.h:246
Aws::LookoutforVision::Model::DeleteDatasetRequest::DatasetTypeHasBeenSet
bool DatasetTypeHasBeenSet() const
Definition: DeleteDatasetRequest.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::DeleteDatasetRequest::DeleteDatasetRequest
DeleteDatasetRequest()
UUID.h
Aws::LookoutforVision::Model::DeleteDatasetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::LookoutforVision::Model::DeleteDatasetRequest::WithProjectName
DeleteDatasetRequest & WithProjectName(const char *value)
Definition: DeleteDatasetRequest.h:84
Aws::LookoutforVision::Model::DeleteDatasetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LookoutforVision::Model::DeleteDatasetRequest::WithDatasetType
DeleteDatasetRequest & WithDatasetType(const Aws::String &value)
Definition: DeleteDatasetRequest.h:127