AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DeleteDashboardRequest.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 DeleteDashboardRequest() = 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 "DeleteDashboard"; }
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& GetDashboardId() const { return m_dashboardId; }
47 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
48 template<typename DashboardIdT = Aws::String>
49 void SetDashboardId(DashboardIdT&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::forward<DashboardIdT>(value); }
50 template<typename DashboardIdT = Aws::String>
51 DeleteDashboardRequest& WithDashboardId(DashboardIdT&& value) { SetDashboardId(std::forward<DashboardIdT>(value)); return *this;}
53
55
60 inline const Aws::String& GetClientToken() const { return m_clientToken; }
61 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
62 template<typename ClientTokenT = Aws::String>
63 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
64 template<typename ClientTokenT = Aws::String>
65 DeleteDashboardRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
67 private:
68
69 Aws::String m_dashboardId;
70 bool m_dashboardIdHasBeenSet = false;
71
73 bool m_clientTokenHasBeenSet = true;
74 };
75
76} // namespace Model
77} // namespace IoTSiteWise
78} // namespace Aws
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
DeleteDashboardRequest & WithClientToken(ClientTokenT &&value)
AWS_IOTSITEWISE_API DeleteDashboardRequest()=default
DeleteDashboardRequest & WithDashboardId(DashboardIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String