AWS SDK for C++  1.8.126
AWS SDK for C++
DeleteDatasetRequest.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 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteDataset"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
42  inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
43 
48  inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
49 
54  inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
55 
60  inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
61 
66  inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
67 
72  inline DeleteDatasetRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
73 
78  inline DeleteDatasetRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
79 
84  inline DeleteDatasetRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
85 
86 
91  inline const Aws::String& GetIdentityId() const{ return m_identityId; }
92 
97  inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
98 
103  inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
104 
109  inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
110 
115  inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
116 
121  inline DeleteDatasetRequest& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
122 
127  inline DeleteDatasetRequest& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
128 
133  inline DeleteDatasetRequest& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
134 
135 
140  inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
141 
146  inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
147 
152  inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
153 
158  inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
159 
164  inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
165 
170  inline DeleteDatasetRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
171 
176  inline DeleteDatasetRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
177 
182  inline DeleteDatasetRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
183 
184  private:
185 
186  Aws::String m_identityPoolId;
187  bool m_identityPoolIdHasBeenSet;
188 
189  Aws::String m_identityId;
190  bool m_identityIdHasBeenSet;
191 
192  Aws::String m_datasetName;
193  bool m_datasetNameHasBeenSet;
194  };
195 
196 } // namespace Model
197 } // namespace CognitoSync
198 } // namespace Aws
Aws::CognitoSync::Model::DeleteDatasetRequest::WithIdentityId
DeleteDatasetRequest & WithIdentityId(Aws::String &&value)
Definition: DeleteDatasetRequest.h:127
Aws::CognitoSync::Model::DeleteDatasetRequest::IdentityIdHasBeenSet
bool IdentityIdHasBeenSet() const
Definition: DeleteDatasetRequest.h:97
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::DeleteDatasetRequest::WithIdentityPoolId
DeleteDatasetRequest & WithIdentityPoolId(Aws::String &&value)
Definition: DeleteDatasetRequest.h:78
Aws::CognitoSync::Model::DeleteDatasetRequest::SetDatasetName
void SetDatasetName(const char *value)
Definition: DeleteDatasetRequest.h:164
Aws::CognitoSync::Model::DeleteDatasetRequest::SetIdentityId
void SetIdentityId(Aws::String &&value)
Definition: DeleteDatasetRequest.h:109
Aws::CognitoSync::Model::DeleteDatasetRequest::DatasetNameHasBeenSet
bool DatasetNameHasBeenSet() const
Definition: DeleteDatasetRequest.h:146
Aws::CognitoSync::Model::DeleteDatasetRequest::GetIdentityPoolId
const Aws::String & GetIdentityPoolId() const
Definition: DeleteDatasetRequest.h:42
Aws::CognitoSync::Model::DeleteDatasetRequest::WithDatasetName
DeleteDatasetRequest & WithDatasetName(const char *value)
Definition: DeleteDatasetRequest.h:182
Aws::CognitoSync::Model::DeleteDatasetRequest::SetIdentityId
void SetIdentityId(const char *value)
Definition: DeleteDatasetRequest.h:115
Aws::CognitoSync::Model::DeleteDatasetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDatasetRequest.h:33
Aws::CognitoSync::Model::DeleteDatasetRequest::WithDatasetName
DeleteDatasetRequest & WithDatasetName(const Aws::String &value)
Definition: DeleteDatasetRequest.h:170
Aws::CognitoSync::CognitoSyncRequest
Definition: CognitoSyncRequest.h:17
Aws::CognitoSync::Model::DeleteDatasetRequest
Definition: DeleteDatasetRequest.h:25
AWSString.h
Aws::CognitoSync::Model::DeleteDatasetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CognitoSync::Model::DeleteDatasetRequest::IdentityPoolIdHasBeenSet
bool IdentityPoolIdHasBeenSet() const
Definition: DeleteDatasetRequest.h:48
Aws::CognitoSync::Model::DeleteDatasetRequest::GetIdentityId
const Aws::String & GetIdentityId() const
Definition: DeleteDatasetRequest.h:91
Aws::CognitoSync::Model::DeleteDatasetRequest::SetIdentityId
void SetIdentityId(const Aws::String &value)
Definition: DeleteDatasetRequest.h:103
Aws::CognitoSync::Model::DeleteDatasetRequest::DeleteDatasetRequest
DeleteDatasetRequest()
Aws::CognitoSync::Model::DeleteDatasetRequest::GetDatasetName
const Aws::String & GetDatasetName() const
Definition: DeleteDatasetRequest.h:140
Aws::CognitoSync::Model::DeleteDatasetRequest::WithIdentityPoolId
DeleteDatasetRequest & WithIdentityPoolId(const Aws::String &value)
Definition: DeleteDatasetRequest.h:72
Aws::CognitoSync::Model::DeleteDatasetRequest::SetIdentityPoolId
void SetIdentityPoolId(const Aws::String &value)
Definition: DeleteDatasetRequest.h:54
Aws::CognitoSync::Model::DeleteDatasetRequest::SetIdentityPoolId
void SetIdentityPoolId(Aws::String &&value)
Definition: DeleteDatasetRequest.h:60
Aws::CognitoSync::Model::DeleteDatasetRequest::SetIdentityPoolId
void SetIdentityPoolId(const char *value)
Definition: DeleteDatasetRequest.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::CognitoSync::Model::DeleteDatasetRequest::WithIdentityId
DeleteDatasetRequest & WithIdentityId(const Aws::String &value)
Definition: DeleteDatasetRequest.h:121
Aws::CognitoSync::Model::DeleteDatasetRequest::WithIdentityPoolId
DeleteDatasetRequest & WithIdentityPoolId(const char *value)
Definition: DeleteDatasetRequest.h:84
AWS_COGNITOSYNC_API
#define AWS_COGNITOSYNC_API
Definition: CognitoSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CognitoSync::Model::DeleteDatasetRequest::SetDatasetName
void SetDatasetName(Aws::String &&value)
Definition: DeleteDatasetRequest.h:158
CognitoSyncRequest.h
Aws::CognitoSync::Model::DeleteDatasetRequest::WithIdentityId
DeleteDatasetRequest & WithIdentityId(const char *value)
Definition: DeleteDatasetRequest.h:133
Aws::CognitoSync::Model::DeleteDatasetRequest::SetDatasetName
void SetDatasetName(const Aws::String &value)
Definition: DeleteDatasetRequest.h:152
Aws::CognitoSync::Model::DeleteDatasetRequest::WithDatasetName
DeleteDatasetRequest & WithDatasetName(Aws::String &&value)
Definition: DeleteDatasetRequest.h:176