AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteDatasetContentRequest.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/IoTAnalyticsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace IoTAnalytics
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_IOTANALYTICS_API DeleteDatasetContentRequest();
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 "DeleteDatasetContent"; }
35
36 AWS_IOTANALYTICS_API Aws::String SerializePayload() const override;
37
38 AWS_IOTANALYTICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
46 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
47 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
48 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
49 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
50 inline DeleteDatasetContentRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
51 inline DeleteDatasetContentRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
52 inline DeleteDatasetContentRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
54
56
62 inline const Aws::String& GetVersionId() const{ return m_versionId; }
63 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
64 inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
65 inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
66 inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
67 inline DeleteDatasetContentRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
68 inline DeleteDatasetContentRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
69 inline DeleteDatasetContentRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;}
71 private:
72
73 Aws::String m_datasetName;
74 bool m_datasetNameHasBeenSet = false;
75
76 Aws::String m_versionId;
77 bool m_versionIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace IoTAnalytics
82} // namespace Aws
DeleteDatasetContentRequest & WithVersionId(Aws::String &&value)
AWS_IOTANALYTICS_API Aws::String SerializePayload() const override
DeleteDatasetContentRequest & WithDatasetName(const char *value)
DeleteDatasetContentRequest & WithVersionId(const Aws::String &value)
DeleteDatasetContentRequest & WithVersionId(const char *value)
DeleteDatasetContentRequest & WithDatasetName(Aws::String &&value)
DeleteDatasetContentRequest & WithDatasetName(const Aws::String &value)
AWS_IOTANALYTICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String