AWS SDK for C++  1.8.71
AWS SDK for C++
DeleteDatasetContentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace IoTAnalytics
19 {
20 namespace Model
21 {
22 
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 "DeleteDatasetContent"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
45 
49  inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
50 
54  inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
55 
59  inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
60 
64  inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
65 
69  inline DeleteDatasetContentRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
70 
74  inline DeleteDatasetContentRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
75 
79  inline DeleteDatasetContentRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
80 
81 
88  inline const Aws::String& GetVersionId() const{ return m_versionId; }
89 
96  inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
97 
104  inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
105 
112  inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
113 
120  inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
121 
128  inline DeleteDatasetContentRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
129 
136  inline DeleteDatasetContentRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
137 
144  inline DeleteDatasetContentRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;}
145 
146  private:
147 
148  Aws::String m_datasetName;
149  bool m_datasetNameHasBeenSet;
150 
151  Aws::String m_versionId;
152  bool m_versionIdHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace IoTAnalytics
157 } // namespace Aws
#define AWS_IOTANALYTICS_API
DeleteDatasetContentRequest & WithDatasetName(const char *value)
DeleteDatasetContentRequest & WithVersionId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DeleteDatasetContentRequest & WithDatasetName(Aws::String &&value)
DeleteDatasetContentRequest & WithVersionId(Aws::String &&value)
DeleteDatasetContentRequest & WithVersionId(const Aws::String &value)
DeleteDatasetContentRequest & WithDatasetName(const Aws::String &value)