AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteDatasetRequest.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
25 {
26 public:
27 AWS_COGNITOSYNC_API DeleteDatasetRequest();
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_COGNITOSYNC_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetIdentityPoolId() const{ return m_identityPoolId; }
44 inline bool IdentityPoolIdHasBeenSet() const { return m_identityPoolIdHasBeenSet; }
45 inline void SetIdentityPoolId(const Aws::String& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = value; }
46 inline void SetIdentityPoolId(Aws::String&& value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId = std::move(value); }
47 inline void SetIdentityPoolId(const char* value) { m_identityPoolIdHasBeenSet = true; m_identityPoolId.assign(value); }
48 inline DeleteDatasetRequest& WithIdentityPoolId(const Aws::String& value) { SetIdentityPoolId(value); return *this;}
49 inline DeleteDatasetRequest& WithIdentityPoolId(Aws::String&& value) { SetIdentityPoolId(std::move(value)); return *this;}
50 inline DeleteDatasetRequest& WithIdentityPoolId(const char* value) { SetIdentityPoolId(value); return *this;}
52
54
58 inline const Aws::String& GetIdentityId() const{ return m_identityId; }
59 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
60 inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
61 inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
62 inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
63 inline DeleteDatasetRequest& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
64 inline DeleteDatasetRequest& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
65 inline DeleteDatasetRequest& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
67
69
73 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
74 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
75 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
76 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
77 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
78 inline DeleteDatasetRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
79 inline DeleteDatasetRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
80 inline DeleteDatasetRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
82 private:
83
84 Aws::String m_identityPoolId;
85 bool m_identityPoolIdHasBeenSet = false;
86
87 Aws::String m_identityId;
88 bool m_identityIdHasBeenSet = false;
89
90 Aws::String m_datasetName;
91 bool m_datasetNameHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace CognitoSync
96} // namespace Aws
DeleteDatasetRequest & WithIdentityId(const char *value)
DeleteDatasetRequest & WithIdentityPoolId(const Aws::String &value)
AWS_COGNITOSYNC_API Aws::String SerializePayload() const override
DeleteDatasetRequest & WithIdentityPoolId(const char *value)
DeleteDatasetRequest & WithIdentityPoolId(Aws::String &&value)
DeleteDatasetRequest & WithDatasetName(Aws::String &&value)
DeleteDatasetRequest & WithDatasetName(const Aws::String &value)
DeleteDatasetRequest & WithIdentityId(Aws::String &&value)
DeleteDatasetRequest & WithIdentityId(const Aws::String &value)
DeleteDatasetRequest & WithDatasetName(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String