AWS SDK for C++  1.8.126
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 CognitoSync
15 {
16 namespace Model
17 {
18 
26  {
27  public:
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::String SerializePayload() const override;
37 
38 
43  inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
44 
49  inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
50 
55  inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
56 
61  inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
62 
67  inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
68 
73  inline DescribeDatasetRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
74 
79  inline DescribeDatasetRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
80 
85  inline DescribeDatasetRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
86 
87 
92  inline const Aws::String& GetIdentityId() const{ return m_identityId; }
93 
98  inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
99 
104  inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
105 
110  inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
111 
116  inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
117 
122  inline DescribeDatasetRequest& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
123 
128  inline DescribeDatasetRequest& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
129 
134  inline DescribeDatasetRequest& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
135 
136 
141  inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
142 
147  inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
148 
153  inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
154 
159  inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
160 
165  inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
166 
171  inline DescribeDatasetRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
172 
177  inline DescribeDatasetRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
178 
183  inline DescribeDatasetRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
184 
185  private:
186 
187  Aws::String m_identityPoolId;
188  bool m_identityPoolIdHasBeenSet;
189 
190  Aws::String m_identityId;
191  bool m_identityIdHasBeenSet;
192 
193  Aws::String m_datasetName;
194  bool m_datasetNameHasBeenSet;
195  };
196 
197 } // namespace Model
198 } // namespace CognitoSync
199 } // namespace Aws
Aws::CognitoSync::Model::DescribeDatasetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDatasetRequest.h:34
Aws::CognitoSync::Model::DescribeDatasetRequest::WithDatasetName
DescribeDatasetRequest & WithDatasetName(const char *value)
Definition: DescribeDatasetRequest.h:183
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::DescribeDatasetRequest::GetDatasetName
const Aws::String & GetDatasetName() const
Definition: DescribeDatasetRequest.h:141
Aws::CognitoSync::Model::DescribeDatasetRequest::WithIdentityPoolId
DescribeDatasetRequest & WithIdentityPoolId(Aws::String &&value)
Definition: DescribeDatasetRequest.h:79
Aws::CognitoSync::Model::DescribeDatasetRequest::WithDatasetName
DescribeDatasetRequest & WithDatasetName(const Aws::String &value)
Definition: DescribeDatasetRequest.h:171
Aws::CognitoSync::Model::DescribeDatasetRequest::SetIdentityPoolId
void SetIdentityPoolId(const Aws::String &value)
Definition: DescribeDatasetRequest.h:55
Aws::CognitoSync::Model::DescribeDatasetRequest::SetIdentityId
void SetIdentityId(const char *value)
Definition: DescribeDatasetRequest.h:116
Aws::CognitoSync::Model::DescribeDatasetRequest
Definition: DescribeDatasetRequest.h:26
Aws::CognitoSync::Model::DescribeDatasetRequest::WithIdentityId
DescribeDatasetRequest & WithIdentityId(Aws::String &&value)
Definition: DescribeDatasetRequest.h:128
Aws::CognitoSync::Model::DescribeDatasetRequest::WithIdentityId
DescribeDatasetRequest & WithIdentityId(const char *value)
Definition: DescribeDatasetRequest.h:134
Aws::CognitoSync::Model::DescribeDatasetRequest::IdentityIdHasBeenSet
bool IdentityIdHasBeenSet() const
Definition: DescribeDatasetRequest.h:98
Aws::CognitoSync::Model::DescribeDatasetRequest::DescribeDatasetRequest
DescribeDatasetRequest()
Aws::CognitoSync::Model::DescribeDatasetRequest::IdentityPoolIdHasBeenSet
bool IdentityPoolIdHasBeenSet() const
Definition: DescribeDatasetRequest.h:49
Aws::CognitoSync::CognitoSyncRequest
Definition: CognitoSyncRequest.h:17
Aws::CognitoSync::Model::DescribeDatasetRequest::SetDatasetName
void SetDatasetName(Aws::String &&value)
Definition: DescribeDatasetRequest.h:159
Aws::CognitoSync::Model::DescribeDatasetRequest::GetIdentityId
const Aws::String & GetIdentityId() const
Definition: DescribeDatasetRequest.h:92
AWSString.h
Aws::CognitoSync::Model::DescribeDatasetRequest::WithDatasetName
DescribeDatasetRequest & WithDatasetName(Aws::String &&value)
Definition: DescribeDatasetRequest.h:177
Aws::CognitoSync::Model::DescribeDatasetRequest::SetIdentityPoolId
void SetIdentityPoolId(const char *value)
Definition: DescribeDatasetRequest.h:67
Aws::CognitoSync::Model::DescribeDatasetRequest::DatasetNameHasBeenSet
bool DatasetNameHasBeenSet() const
Definition: DescribeDatasetRequest.h:147
Aws::CognitoSync::Model::DescribeDatasetRequest::WithIdentityPoolId
DescribeDatasetRequest & WithIdentityPoolId(const Aws::String &value)
Definition: DescribeDatasetRequest.h:73
Aws::CognitoSync::Model::DescribeDatasetRequest::WithIdentityPoolId
DescribeDatasetRequest & WithIdentityPoolId(const char *value)
Definition: DescribeDatasetRequest.h:85
Aws::CognitoSync::Model::DescribeDatasetRequest::SetDatasetName
void SetDatasetName(const char *value)
Definition: DescribeDatasetRequest.h:165
Aws::CognitoSync::Model::DescribeDatasetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::CognitoSync::Model::DescribeDatasetRequest::SetIdentityId
void SetIdentityId(Aws::String &&value)
Definition: DescribeDatasetRequest.h:110
AWS_COGNITOSYNC_API
#define AWS_COGNITOSYNC_API
Definition: CognitoSync_EXPORTS.h:28
Aws::CognitoSync::Model::DescribeDatasetRequest::SetIdentityPoolId
void SetIdentityPoolId(Aws::String &&value)
Definition: DescribeDatasetRequest.h:61
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CognitoSync::Model::DescribeDatasetRequest::WithIdentityId
DescribeDatasetRequest & WithIdentityId(const Aws::String &value)
Definition: DescribeDatasetRequest.h:122
CognitoSyncRequest.h
Aws::CognitoSync::Model::DescribeDatasetRequest::GetIdentityPoolId
const Aws::String & GetIdentityPoolId() const
Definition: DescribeDatasetRequest.h:43
Aws::CognitoSync::Model::DescribeDatasetRequest::SetDatasetName
void SetDatasetName(const Aws::String &value)
Definition: DescribeDatasetRequest.h:153
Aws::CognitoSync::Model::DescribeDatasetRequest::SetIdentityId
void SetIdentityId(const Aws::String &value)
Definition: DescribeDatasetRequest.h:104