AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeDatasetRequest.h
1
6#pragma once
7#include <aws/cognito-sync/CognitoSync_EXPORTS.h>
8#include <aws/cognito-sync/CognitoSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CognitoSync
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_COGNITOSYNC_API DescribeDatasetRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeDataset"; }
35
36 AWS_COGNITOSYNC_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetIdentityPoolId() const { return m_identityPoolId; }
45 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
46 template<typename IdentityPoolIdT = Aws::String>
47 void SetIdentityPoolId(IdentityPoolIdT&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::forward<IdentityPoolIdT>(value); }
48 template<typename IdentityPoolIdT = Aws::String>
49 DescribeDatasetRequest& WithIdentityPoolId(IdentityPoolIdT&& value) { SetIdentityPoolId(std::forward<IdentityPoolIdT>(value)); return *this;}
51
53
57 inline const Aws::String& GetIdentityId() const { return m_identityId; }
58 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
59 template<typename IdentityIdT = Aws::String>
60 void SetIdentityId(IdentityIdT&& value) { m_identityIdHasBeenSet = true; m_identityId = std::forward<IdentityIdT>(value); }
61 template<typename IdentityIdT = Aws::String>
62 DescribeDatasetRequest& WithIdentityId(IdentityIdT&& value) { SetIdentityId(std::forward<IdentityIdT>(value)); return *this;}
64
66
70 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
71 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
72 template<typename DatasetNameT = Aws::String>
73 void SetDatasetName(DatasetNameT&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::forward<DatasetNameT>(value); }
74 template<typename DatasetNameT = Aws::String>
75 DescribeDatasetRequest& WithDatasetName(DatasetNameT&& value) { SetDatasetName(std::forward<DatasetNameT>(value)); return *this;}
77 private:
78
79 Aws::String m_identityPoolId;
80 bool m_identityPoolIdHasBeenSet = false;
81
82 Aws::String m_identityId;
83 bool m_identityIdHasBeenSet = false;
84
85 Aws::String m_datasetName;
86 bool m_datasetNameHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace CognitoSync
91} // namespace Aws
AWS_COGNITOSYNC_API DescribeDatasetRequest()=default
DescribeDatasetRequest & WithDatasetName(DatasetNameT &&value)
DescribeDatasetRequest & WithIdentityId(IdentityIdT &&value)
DescribeDatasetRequest & WithIdentityPoolId(IdentityPoolIdT &&value)
AWS_COGNITOSYNC_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String