AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteDatasetRequest.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/lookoutvision/LookoutforVisionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace LookoutforVision
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOOKOUTFORVISION_API DeleteDatasetRequest() = default;
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_LOOKOUTFORVISION_API Aws::String SerializePayload() const override;
34
35 AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetProjectName() const { return m_projectName; }
44 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
45 template<typename ProjectNameT = Aws::String>
46 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
47 template<typename ProjectNameT = Aws::String>
48 DeleteDatasetRequest& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
50
52
57 inline const Aws::String& GetDatasetType() const { return m_datasetType; }
58 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
59 template<typename DatasetTypeT = Aws::String>
60 void SetDatasetType(DatasetTypeT&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::forward<DatasetTypeT>(value); }
61 template<typename DatasetTypeT = Aws::String>
62 DeleteDatasetRequest& WithDatasetType(DatasetTypeT&& value) { SetDatasetType(std::forward<DatasetTypeT>(value)); return *this;}
64
66
80 inline const Aws::String& GetClientToken() const { return m_clientToken; }
81 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
82 template<typename ClientTokenT = Aws::String>
83 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
84 template<typename ClientTokenT = Aws::String>
85 DeleteDatasetRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
87 private:
88
89 Aws::String m_projectName;
90 bool m_projectNameHasBeenSet = false;
91
92 Aws::String m_datasetType;
93 bool m_datasetTypeHasBeenSet = false;
94
96 bool m_clientTokenHasBeenSet = true;
97 };
98
99} // namespace Model
100} // namespace LookoutforVision
101} // namespace Aws
AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override
DeleteDatasetRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_LOOKOUTFORVISION_API DeleteDatasetRequest()=default
DeleteDatasetRequest & WithProjectName(ProjectNameT &&value)
DeleteDatasetRequest & WithDatasetType(DatasetTypeT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String