AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
UpdateDashboardRequest.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 IoTSiteWise
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTSITEWISE_API UpdateDashboardRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateDashboard"; }
32
33 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDashboardId() const { return m_dashboardId; }
41 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
42 template<typename DashboardIdT = Aws::String>
43 void SetDashboardId(DashboardIdT&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::forward<DashboardIdT>(value); }
44 template<typename DashboardIdT = Aws::String>
45 UpdateDashboardRequest& WithDashboardId(DashboardIdT&& value) { SetDashboardId(std::forward<DashboardIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDashboardName() const { return m_dashboardName; }
53 inline bool DashboardNameHasBeenSet() const { return m_dashboardNameHasBeenSet; }
54 template<typename DashboardNameT = Aws::String>
55 void SetDashboardName(DashboardNameT&& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = std::forward<DashboardNameT>(value); }
56 template<typename DashboardNameT = Aws::String>
57 UpdateDashboardRequest& WithDashboardName(DashboardNameT&& value) { SetDashboardName(std::forward<DashboardNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDashboardDescription() const { return m_dashboardDescription; }
65 inline bool DashboardDescriptionHasBeenSet() const { return m_dashboardDescriptionHasBeenSet; }
66 template<typename DashboardDescriptionT = Aws::String>
67 void SetDashboardDescription(DashboardDescriptionT&& value) { m_dashboardDescriptionHasBeenSet = true; m_dashboardDescription = std::forward<DashboardDescriptionT>(value); }
68 template<typename DashboardDescriptionT = Aws::String>
69 UpdateDashboardRequest& WithDashboardDescription(DashboardDescriptionT&& value) { SetDashboardDescription(std::forward<DashboardDescriptionT>(value)); return *this;}
71
73
82 inline const Aws::String& GetDashboardDefinition() const { return m_dashboardDefinition; }
83 inline bool DashboardDefinitionHasBeenSet() const { return m_dashboardDefinitionHasBeenSet; }
84 template<typename DashboardDefinitionT = Aws::String>
85 void SetDashboardDefinition(DashboardDefinitionT&& value) { m_dashboardDefinitionHasBeenSet = true; m_dashboardDefinition = std::forward<DashboardDefinitionT>(value); }
86 template<typename DashboardDefinitionT = Aws::String>
87 UpdateDashboardRequest& WithDashboardDefinition(DashboardDefinitionT&& value) { SetDashboardDefinition(std::forward<DashboardDefinitionT>(value)); return *this;}
89
91
96 inline const Aws::String& GetClientToken() const { return m_clientToken; }
97 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
98 template<typename ClientTokenT = Aws::String>
99 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
100 template<typename ClientTokenT = Aws::String>
101 UpdateDashboardRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
103 private:
104
105 Aws::String m_dashboardId;
106 bool m_dashboardIdHasBeenSet = false;
107
108 Aws::String m_dashboardName;
109 bool m_dashboardNameHasBeenSet = false;
110
111 Aws::String m_dashboardDescription;
112 bool m_dashboardDescriptionHasBeenSet = false;
113
114 Aws::String m_dashboardDefinition;
115 bool m_dashboardDefinitionHasBeenSet = false;
116
118 bool m_clientTokenHasBeenSet = true;
119 };
120
121} // namespace Model
122} // namespace IoTSiteWise
123} // namespace Aws
UpdateDashboardRequest & WithDashboardDefinition(DashboardDefinitionT &&value)
void SetDashboardDescription(DashboardDescriptionT &&value)
UpdateDashboardRequest & WithClientToken(ClientTokenT &&value)
AWS_IOTSITEWISE_API UpdateDashboardRequest()=default
UpdateDashboardRequest & WithDashboardName(DashboardNameT &&value)
virtual const char * GetServiceRequestName() const override
UpdateDashboardRequest & WithDashboardId(DashboardIdT &&value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
void SetDashboardDefinition(DashboardDefinitionT &&value)
UpdateDashboardRequest & WithDashboardDescription(DashboardDescriptionT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String