AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; }
49 inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
50 inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); }
51 inline DeleteTimeSeriesRequest& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
52 inline DeleteTimeSeriesRequest& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
53 inline DeleteTimeSeriesRequest& WithAlias(const char* value) { SetAlias(value); return *this;}
55
57
64 inline const Aws::String& GetAssetId() const{ return m_assetId; }
65 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
66 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
67 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
68 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
69 inline DeleteTimeSeriesRequest& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
70 inline DeleteTimeSeriesRequest& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
71 inline DeleteTimeSeriesRequest& WithAssetId(const char* value) { SetAssetId(value); return *this;}
73
75
82 inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
83 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
84 inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
85 inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
86 inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
87 inline DeleteTimeSeriesRequest& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;}
88 inline DeleteTimeSeriesRequest& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
89 inline DeleteTimeSeriesRequest& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
91
93
98 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
99 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
100 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
101 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
102 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
103 inline DeleteTimeSeriesRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
104 inline DeleteTimeSeriesRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
105 inline DeleteTimeSeriesRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
107 private:
108
109 Aws::String m_alias;
110 bool m_aliasHasBeenSet = false;
111
112 Aws::String m_assetId;
113 bool m_assetIdHasBeenSet = false;
114
115 Aws::String m_propertyId;
116 bool m_propertyIdHasBeenSet = false;
117
118 Aws::String m_clientToken;
119 bool m_clientTokenHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace IoTSiteWise
124} // namespace Aws
DeleteTimeSeriesRequest & WithAlias(const char *value)
DeleteTimeSeriesRequest & WithPropertyId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DeleteTimeSeriesRequest & WithClientToken(const char *value)
DeleteTimeSeriesRequest & WithAlias(const Aws::String &value)
DeleteTimeSeriesRequest & WithPropertyId(const char *value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteTimeSeriesRequest & WithAssetId(const Aws::String &value)
DeleteTimeSeriesRequest & WithClientToken(const Aws::String &value)
DeleteTimeSeriesRequest & WithAlias(Aws::String &&value)
DeleteTimeSeriesRequest & WithClientToken(Aws::String &&value)
DeleteTimeSeriesRequest & WithAssetId(const char *value)
DeleteTimeSeriesRequest & WithAssetId(Aws::String &&value)
DeleteTimeSeriesRequest & WithPropertyId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String