AWS SDK for C++  1.8.126
AWS SDK for C++
DeleteDatasetResult.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 DeleteDatasetResult& WithDataset(const Dataset& value) { SetDataset(value); return *this;}
75 
83  inline DeleteDatasetResult& 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::CognitoSync::Model::DeleteDatasetResult::SetDataset
void SetDataset(Dataset &&value)
Definition: DeleteDatasetResult.h:65
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CognitoSync::Model::DeleteDatasetResult::WithDataset
DeleteDatasetResult & WithDataset(const Dataset &value)
Definition: DeleteDatasetResult.h:74
Aws::CognitoSync::Model::DeleteDatasetResult::operator=
DeleteDatasetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CognitoSync::Model::DeleteDatasetResult::DeleteDatasetResult
DeleteDatasetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::Dataset
Definition: Dataset.h:37
Aws::CognitoSync::Model::DeleteDatasetResult
Definition: DeleteDatasetResult.h:33
Aws::CognitoSync::Model::DeleteDatasetResult::WithDataset
DeleteDatasetResult & WithDataset(Dataset &&value)
Definition: DeleteDatasetResult.h:83
Aws::CognitoSync::Model::DeleteDatasetResult::GetDataset
const Dataset & GetDataset() const
Definition: DeleteDatasetResult.h:47
Aws::CognitoSync::Model::DeleteDatasetResult::SetDataset
void SetDataset(const Dataset &value)
Definition: DeleteDatasetResult.h:56
Aws
Definition: AccessManagementClient.h:15
AWS_COGNITOSYNC_API
#define AWS_COGNITOSYNC_API
Definition: CognitoSync_EXPORTS.h:28
Aws::CognitoSync::Model::DeleteDatasetResult::DeleteDatasetResult
DeleteDatasetResult()