AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
46 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
47 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
48 inline CreateDatasetRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
49 inline CreateDatasetRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
50 inline CreateDatasetRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
52
54
58 inline const Aws::String& GetDatasetType() const{ return m_datasetType; }
59 inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
60 inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
61 inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
62 inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); }
63 inline CreateDatasetRequest& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;}
64 inline CreateDatasetRequest& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;}
65 inline CreateDatasetRequest& WithDatasetType(const char* value) { SetDatasetType(value); return *this;}
67
69
80 inline const DatasetSource& GetDatasetSource() const{ return m_datasetSource; }
81 inline bool DatasetSourceHasBeenSet() const { return m_datasetSourceHasBeenSet; }
82 inline void SetDatasetSource(const DatasetSource& value) { m_datasetSourceHasBeenSet = true; m_datasetSource = value; }
83 inline void SetDatasetSource(DatasetSource&& value) { m_datasetSourceHasBeenSet = true; m_datasetSource = std::move(value); }
84 inline CreateDatasetRequest& WithDatasetSource(const DatasetSource& value) { SetDatasetSource(value); return *this;}
85 inline CreateDatasetRequest& WithDatasetSource(DatasetSource&& value) { SetDatasetSource(std::move(value)); return *this;}
87
89
103 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
104 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
105 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
106 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
107 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
108 inline CreateDatasetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
109 inline CreateDatasetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
110 inline CreateDatasetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
112 private:
113
114 Aws::String m_projectName;
115 bool m_projectNameHasBeenSet = false;
116
117 Aws::String m_datasetType;
118 bool m_datasetTypeHasBeenSet = false;
119
120 DatasetSource m_datasetSource;
121 bool m_datasetSourceHasBeenSet = false;
122
123 Aws::String m_clientToken;
124 bool m_clientTokenHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace LookoutforVision
129} // namespace Aws
CreateDatasetRequest & WithProjectName(const Aws::String &value)
AWS_LOOKOUTFORVISION_API Aws::String SerializePayload() const override
CreateDatasetRequest & WithDatasetType(const char *value)
CreateDatasetRequest & WithDatasetSource(const DatasetSource &value)
CreateDatasetRequest & WithProjectName(Aws::String &&value)
CreateDatasetRequest & WithDatasetType(Aws::String &&value)
AWS_LOOKOUTFORVISION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDatasetRequest & WithDatasetSource(DatasetSource &&value)
CreateDatasetRequest & WithClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateDatasetRequest & WithDatasetType(const Aws::String &value)
CreateDatasetRequest & WithClientToken(const char *value)
CreateDatasetRequest & WithProjectName(const char *value)
CreateDatasetRequest & WithClientToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String