AWS SDK for C++  1.9.19
AWS SDK for C++
UpdateDashboardRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 #include <aws/core/utils/UUID.h>
12 
13 namespace Aws
14 {
15 namespace IoTSiteWise
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
40 
44  inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
45 
49  inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; }
50 
54  inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); }
55 
59  inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); }
60 
64  inline UpdateDashboardRequest& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
65 
69  inline UpdateDashboardRequest& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
70 
74  inline UpdateDashboardRequest& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
75 
76 
80  inline const Aws::String& GetDashboardName() const{ return m_dashboardName; }
81 
85  inline bool DashboardNameHasBeenSet() const { return m_dashboardNameHasBeenSet; }
86 
90  inline void SetDashboardName(const Aws::String& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = value; }
91 
95  inline void SetDashboardName(Aws::String&& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = std::move(value); }
96 
100  inline void SetDashboardName(const char* value) { m_dashboardNameHasBeenSet = true; m_dashboardName.assign(value); }
101 
105  inline UpdateDashboardRequest& WithDashboardName(const Aws::String& value) { SetDashboardName(value); return *this;}
106 
110  inline UpdateDashboardRequest& WithDashboardName(Aws::String&& value) { SetDashboardName(std::move(value)); return *this;}
111 
115  inline UpdateDashboardRequest& WithDashboardName(const char* value) { SetDashboardName(value); return *this;}
116 
117 
121  inline const Aws::String& GetDashboardDescription() const{ return m_dashboardDescription; }
122 
126  inline bool DashboardDescriptionHasBeenSet() const { return m_dashboardDescriptionHasBeenSet; }
127 
131  inline void SetDashboardDescription(const Aws::String& value) { m_dashboardDescriptionHasBeenSet = true; m_dashboardDescription = value; }
132 
136  inline void SetDashboardDescription(Aws::String&& value) { m_dashboardDescriptionHasBeenSet = true; m_dashboardDescription = std::move(value); }
137 
141  inline void SetDashboardDescription(const char* value) { m_dashboardDescriptionHasBeenSet = true; m_dashboardDescription.assign(value); }
142 
146  inline UpdateDashboardRequest& WithDashboardDescription(const Aws::String& value) { SetDashboardDescription(value); return *this;}
147 
151  inline UpdateDashboardRequest& WithDashboardDescription(Aws::String&& value) { SetDashboardDescription(std::move(value)); return *this;}
152 
156  inline UpdateDashboardRequest& WithDashboardDescription(const char* value) { SetDashboardDescription(value); return *this;}
157 
158 
165  inline const Aws::String& GetDashboardDefinition() const{ return m_dashboardDefinition; }
166 
173  inline bool DashboardDefinitionHasBeenSet() const { return m_dashboardDefinitionHasBeenSet; }
174 
181  inline void SetDashboardDefinition(const Aws::String& value) { m_dashboardDefinitionHasBeenSet = true; m_dashboardDefinition = value; }
182 
189  inline void SetDashboardDefinition(Aws::String&& value) { m_dashboardDefinitionHasBeenSet = true; m_dashboardDefinition = std::move(value); }
190 
197  inline void SetDashboardDefinition(const char* value) { m_dashboardDefinitionHasBeenSet = true; m_dashboardDefinition.assign(value); }
198 
205  inline UpdateDashboardRequest& WithDashboardDefinition(const Aws::String& value) { SetDashboardDefinition(value); return *this;}
206 
213  inline UpdateDashboardRequest& WithDashboardDefinition(Aws::String&& value) { SetDashboardDefinition(std::move(value)); return *this;}
214 
221  inline UpdateDashboardRequest& WithDashboardDefinition(const char* value) { SetDashboardDefinition(value); return *this;}
222 
223 
229  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
230 
236  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
237 
243  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
244 
250  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
251 
257  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
258 
264  inline UpdateDashboardRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
265 
271  inline UpdateDashboardRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
272 
278  inline UpdateDashboardRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
279 
280  private:
281 
282  Aws::String m_dashboardId;
283  bool m_dashboardIdHasBeenSet;
284 
285  Aws::String m_dashboardName;
286  bool m_dashboardNameHasBeenSet;
287 
288  Aws::String m_dashboardDescription;
289  bool m_dashboardDescriptionHasBeenSet;
290 
291  Aws::String m_dashboardDefinition;
292  bool m_dashboardDefinitionHasBeenSet;
293 
294  Aws::String m_clientToken;
295  bool m_clientTokenHasBeenSet;
296  };
297 
298 } // namespace Model
299 } // namespace IoTSiteWise
300 } // namespace Aws
Aws::IoTSiteWise::Model::UpdateDashboardRequest::WithDashboardName
UpdateDashboardRequest & WithDashboardName(const Aws::String &value)
Definition: UpdateDashboardRequest.h:105
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SetDashboardDescription
void SetDashboardDescription(Aws::String &&value)
Definition: UpdateDashboardRequest.h:136
Aws::IoTSiteWise::Model::UpdateDashboardRequest::WithDashboardDescription
UpdateDashboardRequest & WithDashboardDescription(Aws::String &&value)
Definition: UpdateDashboardRequest.h:151
Aws::IoTSiteWise::Model::UpdateDashboardRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: UpdateDashboardRequest.h:236
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::UpdateDashboardRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: UpdateDashboardRequest.h:229
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::UpdateDashboardRequest::WithDashboardName
UpdateDashboardRequest & WithDashboardName(const char *value)
Definition: UpdateDashboardRequest.h:115
Aws::IoTSiteWise::Model::UpdateDashboardRequest::DashboardNameHasBeenSet
bool DashboardNameHasBeenSet() const
Definition: UpdateDashboardRequest.h:85
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: UpdateDashboardRequest.h:250
Aws::IoTSiteWise::Model::UpdateDashboardRequest::WithDashboardId
UpdateDashboardRequest & WithDashboardId(const Aws::String &value)
Definition: UpdateDashboardRequest.h:64
Aws::IoTSiteWise::Model::UpdateDashboardRequest
Definition: UpdateDashboardRequest.h:23
Aws::IoTSiteWise::Model::UpdateDashboardRequest::WithDashboardId
UpdateDashboardRequest & WithDashboardId(Aws::String &&value)
Definition: UpdateDashboardRequest.h:69
Aws::IoTSiteWise::Model::UpdateDashboardRequest::WithClientToken
UpdateDashboardRequest & WithClientToken(const char *value)
Definition: UpdateDashboardRequest.h:278
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SetDashboardDefinition
void SetDashboardDefinition(Aws::String &&value)
Definition: UpdateDashboardRequest.h:189
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SetDashboardName
void SetDashboardName(Aws::String &&value)
Definition: UpdateDashboardRequest.h:95
Aws::IoTSiteWise::Model::UpdateDashboardRequest::DashboardIdHasBeenSet
bool DashboardIdHasBeenSet() const
Definition: UpdateDashboardRequest.h:44
Aws::IoTSiteWise::Model::UpdateDashboardRequest::UpdateDashboardRequest
UpdateDashboardRequest()
Aws::IoTSiteWise::Model::UpdateDashboardRequest::GetDashboardId
const Aws::String & GetDashboardId() const
Definition: UpdateDashboardRequest.h:39
Aws::IoTSiteWise::Model::UpdateDashboardRequest::DashboardDescriptionHasBeenSet
bool DashboardDescriptionHasBeenSet() const
Definition: UpdateDashboardRequest.h:126
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SetDashboardId
void SetDashboardId(const Aws::String &value)
Definition: UpdateDashboardRequest.h:49
Aws::IoTSiteWise::Model::UpdateDashboardRequest::GetDashboardDefinition
const Aws::String & GetDashboardDefinition() const
Definition: UpdateDashboardRequest.h:165
Aws::IoTSiteWise::Model::UpdateDashboardRequest::WithDashboardDefinition
UpdateDashboardRequest & WithDashboardDefinition(const Aws::String &value)
Definition: UpdateDashboardRequest.h:205
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SetDashboardId
void SetDashboardId(const char *value)
Definition: UpdateDashboardRequest.h:59
AWSString.h
Aws::IoTSiteWise::Model::UpdateDashboardRequest::DashboardDefinitionHasBeenSet
bool DashboardDefinitionHasBeenSet() const
Definition: UpdateDashboardRequest.h:173
Aws::IoTSiteWise::Model::UpdateDashboardRequest::WithDashboardId
UpdateDashboardRequest & WithDashboardId(const char *value)
Definition: UpdateDashboardRequest.h:74
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SetDashboardName
void SetDashboardName(const Aws::String &value)
Definition: UpdateDashboardRequest.h:90
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SetDashboardDescription
void SetDashboardDescription(const char *value)
Definition: UpdateDashboardRequest.h:141
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SetDashboardDescription
void SetDashboardDescription(const Aws::String &value)
Definition: UpdateDashboardRequest.h:131
Aws::IoTSiteWise::Model::UpdateDashboardRequest::WithClientToken
UpdateDashboardRequest & WithClientToken(const Aws::String &value)
Definition: UpdateDashboardRequest.h:264
Aws::IoTSiteWise::Model::UpdateDashboardRequest::GetDashboardName
const Aws::String & GetDashboardName() const
Definition: UpdateDashboardRequest.h:80
Aws::IoTSiteWise::Model::UpdateDashboardRequest::GetDashboardDescription
const Aws::String & GetDashboardDescription() const
Definition: UpdateDashboardRequest.h:121
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SetClientToken
void SetClientToken(const char *value)
Definition: UpdateDashboardRequest.h:257
Aws::IoTSiteWise::Model::UpdateDashboardRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDashboardRequest.h:31
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: UpdateDashboardRequest.h:243
Aws::IoTSiteWise::Model::UpdateDashboardRequest::WithDashboardDescription
UpdateDashboardRequest & WithDashboardDescription(const Aws::String &value)
Definition: UpdateDashboardRequest.h:146
Aws
Definition: AccessManagementClient.h:15
IoTSiteWiseRequest.h
Aws::IoTSiteWise::Model::UpdateDashboardRequest::WithDashboardName
UpdateDashboardRequest & WithDashboardName(Aws::String &&value)
Definition: UpdateDashboardRequest.h:110
Aws::IoTSiteWise::Model::UpdateDashboardRequest::WithClientToken
UpdateDashboardRequest & WithClientToken(Aws::String &&value)
Definition: UpdateDashboardRequest.h:271
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SetDashboardDefinition
void SetDashboardDefinition(const Aws::String &value)
Definition: UpdateDashboardRequest.h:181
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SetDashboardName
void SetDashboardName(const char *value)
Definition: UpdateDashboardRequest.h:100
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SetDashboardId
void SetDashboardId(Aws::String &&value)
Definition: UpdateDashboardRequest.h:54
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SetDashboardDefinition
void SetDashboardDefinition(const char *value)
Definition: UpdateDashboardRequest.h:197
Aws::IoTSiteWise::IoTSiteWiseRequest
Definition: IoTSiteWiseRequest.h:17
UUID.h
Aws::IoTSiteWise::Model::UpdateDashboardRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTSiteWise::Model::UpdateDashboardRequest::WithDashboardDescription
UpdateDashboardRequest & WithDashboardDescription(const char *value)
Definition: UpdateDashboardRequest.h:156
Aws::IoTSiteWise::Model::UpdateDashboardRequest::WithDashboardDefinition
UpdateDashboardRequest & WithDashboardDefinition(const char *value)
Definition: UpdateDashboardRequest.h:221
Aws::IoTSiteWise::Model::UpdateDashboardRequest::WithDashboardDefinition
UpdateDashboardRequest & WithDashboardDefinition(Aws::String &&value)
Definition: UpdateDashboardRequest.h:213