AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeDatasetResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Personalize
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Dataset& GetDataset() const{ return m_dataset; }
39 
43  inline void SetDataset(const Dataset& value) { m_dataset = value; }
44 
48  inline void SetDataset(Dataset&& value) { m_dataset = std::move(value); }
49 
53  inline DescribeDatasetResult& WithDataset(const Dataset& value) { SetDataset(value); return *this;}
54 
58  inline DescribeDatasetResult& WithDataset(Dataset&& value) { SetDataset(std::move(value)); return *this;}
59 
60  private:
61 
62  Dataset m_dataset;
63  };
64 
65 } // namespace Model
66 } // namespace Personalize
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Personalize::Model::DescribeDatasetResult::WithDataset
DescribeDatasetResult & WithDataset(const Dataset &value)
Definition: DescribeDatasetResult.h:53
Aws::Personalize::Model::DescribeDatasetResult::DescribeDatasetResult
DescribeDatasetResult()
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DescribeDatasetResult
Definition: DescribeDatasetResult.h:28
Aws::Personalize::Model::DescribeDatasetResult::WithDataset
DescribeDatasetResult & WithDataset(Dataset &&value)
Definition: DescribeDatasetResult.h:58
Aws::Personalize::Model::DescribeDatasetResult::GetDataset
const Dataset & GetDataset() const
Definition: DescribeDatasetResult.h:38
Dataset.h
Aws::Personalize::Model::DescribeDatasetResult::operator=
DescribeDatasetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Personalize::Model::DescribeDatasetResult::DescribeDatasetResult
DescribeDatasetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::Dataset
Definition: Dataset.h:33
Personalize_EXPORTS.h
Aws::Personalize::Model::DescribeDatasetResult::SetDataset
void SetDataset(const Dataset &value)
Definition: DescribeDatasetResult.h:43
Aws::Personalize::Model::DescribeDatasetResult::SetDataset
void SetDataset(Dataset &&value)
Definition: DescribeDatasetResult.h:48