AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
UpdateDatasetRequest.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/IoTSiteWiseRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotsitewise/model/DatasetSource.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace IoTSiteWise
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTSITEWISE_API UpdateDatasetRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateDataset"; }
33
34 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetDatasetId() const { return m_datasetId; }
42 inline bool DatasetIdHasBeenSet() const { return m_datasetIdHasBeenSet; }
43 template<typename DatasetIdT = Aws::String>
44 void SetDatasetId(DatasetIdT&& value) { m_datasetIdHasBeenSet = true; m_datasetId = std::forward<DatasetIdT>(value); }
45 template<typename DatasetIdT = Aws::String>
46 UpdateDatasetRequest& WithDatasetId(DatasetIdT&& value) { SetDatasetId(std::forward<DatasetIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
54 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
55 template<typename DatasetNameT = Aws::String>
56 void SetDatasetName(DatasetNameT&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::forward<DatasetNameT>(value); }
57 template<typename DatasetNameT = Aws::String>
58 UpdateDatasetRequest& WithDatasetName(DatasetNameT&& value) { SetDatasetName(std::forward<DatasetNameT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDatasetDescription() const { return m_datasetDescription; }
66 inline bool DatasetDescriptionHasBeenSet() const { return m_datasetDescriptionHasBeenSet; }
67 template<typename DatasetDescriptionT = Aws::String>
68 void SetDatasetDescription(DatasetDescriptionT&& value) { m_datasetDescriptionHasBeenSet = true; m_datasetDescription = std::forward<DatasetDescriptionT>(value); }
69 template<typename DatasetDescriptionT = Aws::String>
70 UpdateDatasetRequest& WithDatasetDescription(DatasetDescriptionT&& value) { SetDatasetDescription(std::forward<DatasetDescriptionT>(value)); return *this;}
72
74
77 inline const DatasetSource& GetDatasetSource() const { return m_datasetSource; }
78 inline bool DatasetSourceHasBeenSet() const { return m_datasetSourceHasBeenSet; }
79 template<typename DatasetSourceT = DatasetSource>
80 void SetDatasetSource(DatasetSourceT&& value) { m_datasetSourceHasBeenSet = true; m_datasetSource = std::forward<DatasetSourceT>(value); }
81 template<typename DatasetSourceT = DatasetSource>
82 UpdateDatasetRequest& WithDatasetSource(DatasetSourceT&& value) { SetDatasetSource(std::forward<DatasetSourceT>(value)); return *this;}
84
86
91 inline const Aws::String& GetClientToken() const { return m_clientToken; }
92 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
93 template<typename ClientTokenT = Aws::String>
94 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
95 template<typename ClientTokenT = Aws::String>
96 UpdateDatasetRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
98 private:
99
100 Aws::String m_datasetId;
101 bool m_datasetIdHasBeenSet = false;
102
103 Aws::String m_datasetName;
104 bool m_datasetNameHasBeenSet = false;
105
106 Aws::String m_datasetDescription;
107 bool m_datasetDescriptionHasBeenSet = false;
108
109 DatasetSource m_datasetSource;
110 bool m_datasetSourceHasBeenSet = false;
111
113 bool m_clientTokenHasBeenSet = true;
114 };
115
116} // namespace Model
117} // namespace IoTSiteWise
118} // namespace Aws
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateDatasetRequest & WithDatasetName(DatasetNameT &&value)
UpdateDatasetRequest & WithDatasetDescription(DatasetDescriptionT &&value)
AWS_IOTSITEWISE_API UpdateDatasetRequest()=default
UpdateDatasetRequest & WithClientToken(ClientTokenT &&value)
UpdateDatasetRequest & WithDatasetSource(DatasetSourceT &&value)
UpdateDatasetRequest & WithDatasetId(DatasetIdT &&value)
void SetDatasetDescription(DatasetDescriptionT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String