AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; }
43 inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); }
44 inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); }
45 inline UpdateDashboardRequest& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
46 inline UpdateDashboardRequest& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
47 inline UpdateDashboardRequest& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
49
51
54 inline const Aws::String& GetDashboardName() const{ return m_dashboardName; }
55 inline bool DashboardNameHasBeenSet() const { return m_dashboardNameHasBeenSet; }
56 inline void SetDashboardName(const Aws::String& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = value; }
57 inline void SetDashboardName(Aws::String&& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = std::move(value); }
58 inline void SetDashboardName(const char* value) { m_dashboardNameHasBeenSet = true; m_dashboardName.assign(value); }
59 inline UpdateDashboardRequest& WithDashboardName(const Aws::String& value) { SetDashboardName(value); return *this;}
60 inline UpdateDashboardRequest& WithDashboardName(Aws::String&& value) { SetDashboardName(std::move(value)); return *this;}
61 inline UpdateDashboardRequest& WithDashboardName(const char* value) { SetDashboardName(value); return *this;}
63
65
68 inline const Aws::String& GetDashboardDescription() const{ return m_dashboardDescription; }
69 inline bool DashboardDescriptionHasBeenSet() const { return m_dashboardDescriptionHasBeenSet; }
70 inline void SetDashboardDescription(const Aws::String& value) { m_dashboardDescriptionHasBeenSet = true; m_dashboardDescription = value; }
71 inline void SetDashboardDescription(Aws::String&& value) { m_dashboardDescriptionHasBeenSet = true; m_dashboardDescription = std::move(value); }
72 inline void SetDashboardDescription(const char* value) { m_dashboardDescriptionHasBeenSet = true; m_dashboardDescription.assign(value); }
74 inline UpdateDashboardRequest& WithDashboardDescription(Aws::String&& value) { SetDashboardDescription(std::move(value)); return *this;}
75 inline UpdateDashboardRequest& WithDashboardDescription(const char* value) { SetDashboardDescription(value); return *this;}
77
79
85 inline const Aws::String& GetDashboardDefinition() const{ return m_dashboardDefinition; }
86 inline bool DashboardDefinitionHasBeenSet() const { return m_dashboardDefinitionHasBeenSet; }
87 inline void SetDashboardDefinition(const Aws::String& value) { m_dashboardDefinitionHasBeenSet = true; m_dashboardDefinition = value; }
88 inline void SetDashboardDefinition(Aws::String&& value) { m_dashboardDefinitionHasBeenSet = true; m_dashboardDefinition = std::move(value); }
89 inline void SetDashboardDefinition(const char* value) { m_dashboardDefinitionHasBeenSet = true; m_dashboardDefinition.assign(value); }
91 inline UpdateDashboardRequest& WithDashboardDefinition(Aws::String&& value) { SetDashboardDefinition(std::move(value)); return *this;}
92 inline UpdateDashboardRequest& WithDashboardDefinition(const char* value) { SetDashboardDefinition(value); return *this;}
94
96
101 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
102 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
103 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
104 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
105 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
106 inline UpdateDashboardRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
107 inline UpdateDashboardRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
108 inline UpdateDashboardRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
110 private:
111
112 Aws::String m_dashboardId;
113 bool m_dashboardIdHasBeenSet = false;
114
115 Aws::String m_dashboardName;
116 bool m_dashboardNameHasBeenSet = false;
117
118 Aws::String m_dashboardDescription;
119 bool m_dashboardDescriptionHasBeenSet = false;
120
121 Aws::String m_dashboardDefinition;
122 bool m_dashboardDefinitionHasBeenSet = false;
123
124 Aws::String m_clientToken;
125 bool m_clientTokenHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace IoTSiteWise
130} // namespace Aws
UpdateDashboardRequest & WithDashboardId(const char *value)
UpdateDashboardRequest & WithClientToken(const char *value)
UpdateDashboardRequest & WithDashboardName(const Aws::String &value)
UpdateDashboardRequest & WithDashboardId(const Aws::String &value)
UpdateDashboardRequest & WithClientToken(const Aws::String &value)
UpdateDashboardRequest & WithDashboardName(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateDashboardRequest & WithDashboardDescription(Aws::String &&value)
UpdateDashboardRequest & WithDashboardDefinition(const Aws::String &value)
UpdateDashboardRequest & WithDashboardDefinition(const char *value)
UpdateDashboardRequest & WithDashboardDescription(const char *value)
UpdateDashboardRequest & WithDashboardId(Aws::String &&value)
UpdateDashboardRequest & WithClientToken(Aws::String &&value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
UpdateDashboardRequest & WithDashboardDefinition(Aws::String &&value)
UpdateDashboardRequest & WithDashboardName(Aws::String &&value)
UpdateDashboardRequest & WithDashboardDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String