AWS SDK for C++  1.9.40
AWS SDK for C++
DescribeDatasetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace LookoutforVision
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeDataset"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetProjectName() const{ return m_projectName; }
40 
45  inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
46 
51  inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
52 
57  inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
58 
63  inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
64 
69  inline DescribeDatasetRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
70 
75  inline DescribeDatasetRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
76 
81  inline DescribeDatasetRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
82 
83 
89  inline const Aws::String& GetDatasetType() const{ return m_datasetType; }
90 
96  inline bool DatasetTypeHasBeenSet() const { return m_datasetTypeHasBeenSet; }
97 
103  inline void SetDatasetType(const Aws::String& value) { m_datasetTypeHasBeenSet = true; m_datasetType = value; }
104 
110  inline void SetDatasetType(Aws::String&& value) { m_datasetTypeHasBeenSet = true; m_datasetType = std::move(value); }
111 
117  inline void SetDatasetType(const char* value) { m_datasetTypeHasBeenSet = true; m_datasetType.assign(value); }
118 
124  inline DescribeDatasetRequest& WithDatasetType(const Aws::String& value) { SetDatasetType(value); return *this;}
125 
131  inline DescribeDatasetRequest& WithDatasetType(Aws::String&& value) { SetDatasetType(std::move(value)); return *this;}
132 
138  inline DescribeDatasetRequest& WithDatasetType(const char* value) { SetDatasetType(value); return *this;}
139 
140  private:
141 
142  Aws::String m_projectName;
143  bool m_projectNameHasBeenSet;
144 
145  Aws::String m_datasetType;
146  bool m_datasetTypeHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace LookoutforVision
151 } // namespace Aws
Aws::LookoutforVision::Model::DescribeDatasetRequest::SetDatasetType
void SetDatasetType(Aws::String &&value)
Definition: DescribeDatasetRequest.h:110
LookoutforVisionRequest.h
Aws::LookoutforVision::Model::DescribeDatasetRequest::WithProjectName
DescribeDatasetRequest & WithProjectName(Aws::String &&value)
Definition: DescribeDatasetRequest.h:75
Aws::LookoutforVision::Model::DescribeDatasetRequest::WithProjectName
DescribeDatasetRequest & WithProjectName(const char *value)
Definition: DescribeDatasetRequest.h:81
Aws::LookoutforVision::Model::DescribeDatasetRequest::WithProjectName
DescribeDatasetRequest & WithProjectName(const Aws::String &value)
Definition: DescribeDatasetRequest.h:69
Aws::LookoutforVision::Model::DescribeDatasetRequest::GetProjectName
const Aws::String & GetProjectName() const
Definition: DescribeDatasetRequest.h:39
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::DescribeDatasetRequest::WithDatasetType
DescribeDatasetRequest & WithDatasetType(const Aws::String &value)
Definition: DescribeDatasetRequest.h:124
Aws::LookoutforVision::Model::DescribeDatasetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDatasetRequest.h:30
Aws::LookoutforVision::Model::DescribeDatasetRequest::GetDatasetType
const Aws::String & GetDatasetType() const
Definition: DescribeDatasetRequest.h:89
Aws::LookoutforVision::LookoutforVisionRequest
Definition: LookoutforVisionRequest.h:18
Aws::LookoutforVision::Model::DescribeDatasetRequest::SetDatasetType
void SetDatasetType(const Aws::String &value)
Definition: DescribeDatasetRequest.h:103
Aws::LookoutforVision::Model::DescribeDatasetRequest::SetProjectName
void SetProjectName(const char *value)
Definition: DescribeDatasetRequest.h:63
Aws::LookoutforVision::Model::DescribeDatasetRequest::SetDatasetType
void SetDatasetType(const char *value)
Definition: DescribeDatasetRequest.h:117
AWSString.h
Aws::LookoutforVision::Model::DescribeDatasetRequest::ProjectNameHasBeenSet
bool ProjectNameHasBeenSet() const
Definition: DescribeDatasetRequest.h:45
Aws::LookoutforVision::Model::DescribeDatasetRequest::DescribeDatasetRequest
DescribeDatasetRequest()
Aws::LookoutforVision::Model::DescribeDatasetRequest::DatasetTypeHasBeenSet
bool DatasetTypeHasBeenSet() const
Definition: DescribeDatasetRequest.h:96
Aws::LookoutforVision::Model::DescribeDatasetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::LookoutforVision::Model::DescribeDatasetRequest::WithDatasetType
DescribeDatasetRequest & WithDatasetType(const char *value)
Definition: DescribeDatasetRequest.h:138
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LookoutforVision::Model::DescribeDatasetRequest::SetProjectName
void SetProjectName(Aws::String &&value)
Definition: DescribeDatasetRequest.h:57
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::DescribeDatasetRequest::WithDatasetType
DescribeDatasetRequest & WithDatasetType(Aws::String &&value)
Definition: DescribeDatasetRequest.h:131
Aws::LookoutforVision::Model::DescribeDatasetRequest::SetProjectName
void SetProjectName(const Aws::String &value)
Definition: DescribeDatasetRequest.h:51
Aws::LookoutforVision::Model::DescribeDatasetRequest
Definition: DescribeDatasetRequest.h:22