AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateDatasetRequest.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 <aws/lookoutvision/model/DatasetSource.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace LookoutforVision
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LOOKOUTFORVISION_API CreateDatasetRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateDataset"; }
33
34 AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override;
35
36 AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
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 CreateDatasetRequest& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
50
52
56 inline const Aws::String& GetDatasetType() const { return m_datasetType; }
57 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
58 template<typename DatasetTypeT = Aws::String>
59 void SetDatasetType(DatasetTypeT&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::forward<DatasetTypeT>(value); }
60 template<typename DatasetTypeT = Aws::String>
61 CreateDatasetRequest& WithDatasetType(DatasetTypeT&& value) { SetDatasetType(std::forward<DatasetTypeT>(value)); return *this;}
63
65
76 inline const DatasetSource& GetDatasetSource() const { return m_datasetSource; }
77 inline bool DatasetSourceHasBeenSet() const { return m_datasetSourceHasBeenSet; }
78 template<typename DatasetSourceT = DatasetSource>
79 void SetDatasetSource(DatasetSourceT&& value) { m_datasetSourceHasBeenSet = true; m_datasetSource = std::forward<DatasetSourceT>(value); }
80 template<typename DatasetSourceT = DatasetSource>
81 CreateDatasetRequest& WithDatasetSource(DatasetSourceT&& value) { SetDatasetSource(std::forward<DatasetSourceT>(value)); return *this;}
83
85
99 inline const Aws::String& GetClientToken() const { return m_clientToken; }
100 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
101 template<typename ClientTokenT = Aws::String>
102 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
103 template<typename ClientTokenT = Aws::String>
104 CreateDatasetRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
106 private:
107
108 Aws::String m_projectName;
109 bool m_projectNameHasBeenSet = false;
110
111 Aws::String m_datasetType;
112 bool m_datasetTypeHasBeenSet = false;
113
114 DatasetSource m_datasetSource;
115 bool m_datasetSourceHasBeenSet = false;
116
118 bool m_clientTokenHasBeenSet = true;
119 };
120
121} // namespace Model
122} // namespace LookoutforVision
123} // namespace Aws
AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override
CreateDatasetRequest & WithProjectName(ProjectNameT &&value)
AWS_LOOKOUTFORVISION_API CreateDatasetRequest()=default
CreateDatasetRequest & WithClientToken(ClientTokenT &&value)
CreateDatasetRequest & WithDatasetType(DatasetTypeT &&value)
AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDatasetRequest & WithDatasetSource(DatasetSourceT &&value)
virtual const char * GetServiceRequestName() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String