AWS SDK for C++  1.8.126
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 CognitoSync
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
47  inline const Dataset& GetDataset() const{ return m_dataset; }
48 
56  inline void SetDataset(const Dataset& value) { m_dataset = value; }
57 
65  inline void SetDataset(Dataset&& value) { m_dataset = std::move(value); }
66 
74  inline DescribeDatasetResult& WithDataset(const Dataset& value) { SetDataset(value); return *this;}
75 
83  inline DescribeDatasetResult& WithDataset(Dataset&& value) { SetDataset(std::move(value)); return *this;}
84 
85  private:
86 
87  Dataset m_dataset;
88  };
89 
90 } // namespace Model
91 } // namespace CognitoSync
92 } // namespace Aws
Dataset.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::DescribeDatasetResult::operator=
DescribeDatasetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CognitoSync::Model::DescribeDatasetResult::DescribeDatasetResult
DescribeDatasetResult()
Aws::CognitoSync::Model::DescribeDatasetResult
Definition: DescribeDatasetResult.h:33
Aws::CognitoSync::Model::Dataset
Definition: Dataset.h:37
Aws::CognitoSync::Model::DescribeDatasetResult::DescribeDatasetResult
DescribeDatasetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CognitoSync::Model::DescribeDatasetResult::SetDataset
void SetDataset(Dataset &&value)
Definition: DescribeDatasetResult.h:65
Aws::CognitoSync::Model::DescribeDatasetResult::GetDataset
const Dataset & GetDataset() const
Definition: DescribeDatasetResult.h:47
Aws::CognitoSync::Model::DescribeDatasetResult::SetDataset
void SetDataset(const Dataset &value)
Definition: DescribeDatasetResult.h:56
Aws::CognitoSync::Model::DescribeDatasetResult::WithDataset
DescribeDatasetResult & WithDataset(Dataset &&value)
Definition: DescribeDatasetResult.h:83
Aws
Definition: AccessManagementClient.h:15
AWS_COGNITOSYNC_API
#define AWS_COGNITOSYNC_API
Definition: CognitoSync_EXPORTS.h:28
Aws::CognitoSync::Model::DescribeDatasetResult::WithDataset
DescribeDatasetResult & WithDataset(const Dataset &value)
Definition: DescribeDatasetResult.h:74