AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DeleteTimeSeriesRequest.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 <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace IoTSiteWise
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOTSITEWISE_API DeleteTimeSeriesRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteTimeSeries"; }
36
37 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
38
39 AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetAlias() const { return m_alias; }
47 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
48 template<typename AliasT = Aws::String>
49 void SetAlias(AliasT&& value) { m_aliasHasBeenSet = true; m_alias = std::forward<AliasT>(value); }
50 template<typename AliasT = Aws::String>
51 DeleteTimeSeriesRequest& WithAlias(AliasT&& value) { SetAlias(std::forward<AliasT>(value)); return *this;}
53
55
62 inline const Aws::String& GetAssetId() const { return m_assetId; }
63 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
64 template<typename AssetIdT = Aws::String>
65 void SetAssetId(AssetIdT&& value) { m_assetIdHasBeenSet = true; m_assetId = std::forward<AssetIdT>(value); }
66 template<typename AssetIdT = Aws::String>
67 DeleteTimeSeriesRequest& WithAssetId(AssetIdT&& value) { SetAssetId(std::forward<AssetIdT>(value)); return *this;}
69
71
78 inline const Aws::String& GetPropertyId() const { return m_propertyId; }
79 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
80 template<typename PropertyIdT = Aws::String>
81 void SetPropertyId(PropertyIdT&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::forward<PropertyIdT>(value); }
82 template<typename PropertyIdT = Aws::String>
83 DeleteTimeSeriesRequest& WithPropertyId(PropertyIdT&& value) { SetPropertyId(std::forward<PropertyIdT>(value)); return *this;}
85
87
92 inline const Aws::String& GetClientToken() const { return m_clientToken; }
93 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
94 template<typename ClientTokenT = Aws::String>
95 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
96 template<typename ClientTokenT = Aws::String>
97 DeleteTimeSeriesRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
99 private:
100
101 Aws::String m_alias;
102 bool m_aliasHasBeenSet = false;
103
104 Aws::String m_assetId;
105 bool m_assetIdHasBeenSet = false;
106
107 Aws::String m_propertyId;
108 bool m_propertyIdHasBeenSet = false;
109
111 bool m_clientTokenHasBeenSet = true;
112 };
113
114} // namespace Model
115} // namespace IoTSiteWise
116} // namespace Aws
DeleteTimeSeriesRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
AWS_IOTSITEWISE_API DeleteTimeSeriesRequest()=default
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteTimeSeriesRequest & WithAssetId(AssetIdT &&value)
DeleteTimeSeriesRequest & WithAlias(AliasT &&value)
DeleteTimeSeriesRequest & WithPropertyId(PropertyIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String