AWS SDK for C++  1.9.15
AWS SDK for C++
CreateDashboardRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 #include <aws/core/utils/UUID.h>
13 
14 namespace Aws
15 {
16 namespace IoTSiteWise
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "CreateDashboard"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const Aws::String& GetProjectId() const{ return m_projectId; }
41 
45  inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
46 
50  inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
51 
55  inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
56 
60  inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
61 
65  inline CreateDashboardRequest& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
66 
70  inline CreateDashboardRequest& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
71 
75  inline CreateDashboardRequest& WithProjectId(const char* value) { SetProjectId(value); return *this;}
76 
77 
81  inline const Aws::String& GetDashboardName() const{ return m_dashboardName; }
82 
86  inline bool DashboardNameHasBeenSet() const { return m_dashboardNameHasBeenSet; }
87 
91  inline void SetDashboardName(const Aws::String& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = value; }
92 
96  inline void SetDashboardName(Aws::String&& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = std::move(value); }
97 
101  inline void SetDashboardName(const char* value) { m_dashboardNameHasBeenSet = true; m_dashboardName.assign(value); }
102 
106  inline CreateDashboardRequest& WithDashboardName(const Aws::String& value) { SetDashboardName(value); return *this;}
107 
111  inline CreateDashboardRequest& WithDashboardName(Aws::String&& value) { SetDashboardName(std::move(value)); return *this;}
112 
116  inline CreateDashboardRequest& WithDashboardName(const char* value) { SetDashboardName(value); return *this;}
117 
118 
122  inline const Aws::String& GetDashboardDescription() const{ return m_dashboardDescription; }
123 
127  inline bool DashboardDescriptionHasBeenSet() const { return m_dashboardDescriptionHasBeenSet; }
128 
132  inline void SetDashboardDescription(const Aws::String& value) { m_dashboardDescriptionHasBeenSet = true; m_dashboardDescription = value; }
133 
137  inline void SetDashboardDescription(Aws::String&& value) { m_dashboardDescriptionHasBeenSet = true; m_dashboardDescription = std::move(value); }
138 
142  inline void SetDashboardDescription(const char* value) { m_dashboardDescriptionHasBeenSet = true; m_dashboardDescription.assign(value); }
143 
147  inline CreateDashboardRequest& WithDashboardDescription(const Aws::String& value) { SetDashboardDescription(value); return *this;}
148 
152  inline CreateDashboardRequest& WithDashboardDescription(Aws::String&& value) { SetDashboardDescription(std::move(value)); return *this;}
153 
157  inline CreateDashboardRequest& WithDashboardDescription(const char* value) { SetDashboardDescription(value); return *this;}
158 
159 
166  inline const Aws::String& GetDashboardDefinition() const{ return m_dashboardDefinition; }
167 
174  inline bool DashboardDefinitionHasBeenSet() const { return m_dashboardDefinitionHasBeenSet; }
175 
182  inline void SetDashboardDefinition(const Aws::String& value) { m_dashboardDefinitionHasBeenSet = true; m_dashboardDefinition = value; }
183 
190  inline void SetDashboardDefinition(Aws::String&& value) { m_dashboardDefinitionHasBeenSet = true; m_dashboardDefinition = std::move(value); }
191 
198  inline void SetDashboardDefinition(const char* value) { m_dashboardDefinitionHasBeenSet = true; m_dashboardDefinition.assign(value); }
199 
206  inline CreateDashboardRequest& WithDashboardDefinition(const Aws::String& value) { SetDashboardDefinition(value); return *this;}
207 
214  inline CreateDashboardRequest& WithDashboardDefinition(Aws::String&& value) { SetDashboardDefinition(std::move(value)); return *this;}
215 
222  inline CreateDashboardRequest& WithDashboardDefinition(const char* value) { SetDashboardDefinition(value); return *this;}
223 
224 
230  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
231 
237  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
238 
244  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
245 
251  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
252 
258  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
259 
265  inline CreateDashboardRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
266 
272  inline CreateDashboardRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
273 
279  inline CreateDashboardRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
280 
281 
289  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
290 
298  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
299 
307  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
308 
316  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
317 
325  inline CreateDashboardRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
326 
334  inline CreateDashboardRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
335 
343  inline CreateDashboardRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
344 
352  inline CreateDashboardRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
353 
361  inline CreateDashboardRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
362 
370  inline CreateDashboardRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
371 
379  inline CreateDashboardRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
380 
388  inline CreateDashboardRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
389 
397  inline CreateDashboardRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
398 
399  private:
400 
401  Aws::String m_projectId;
402  bool m_projectIdHasBeenSet;
403 
404  Aws::String m_dashboardName;
405  bool m_dashboardNameHasBeenSet;
406 
407  Aws::String m_dashboardDescription;
408  bool m_dashboardDescriptionHasBeenSet;
409 
410  Aws::String m_dashboardDefinition;
411  bool m_dashboardDefinitionHasBeenSet;
412 
413  Aws::String m_clientToken;
414  bool m_clientTokenHasBeenSet;
415 
417  bool m_tagsHasBeenSet;
418  };
419 
420 } // namespace Model
421 } // namespace IoTSiteWise
422 } // namespace Aws
Aws::IoTSiteWise::Model::CreateDashboardRequest::AddTags
CreateDashboardRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateDashboardRequest.h:379
Aws::IoTSiteWise::Model::CreateDashboardRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: CreateDashboardRequest.h:230
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetDashboardDescription
void SetDashboardDescription(const char *value)
Definition: CreateDashboardRequest.h:142
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetProjectId
void SetProjectId(const char *value)
Definition: CreateDashboardRequest.h:60
Aws::IoTSiteWise::Model::CreateDashboardRequest::AddTags
CreateDashboardRequest & AddTags(const char *key, const char *value)
Definition: CreateDashboardRequest.h:397
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetDashboardName
void SetDashboardName(Aws::String &&value)
Definition: CreateDashboardRequest.h:96
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetDashboardDefinition
void SetDashboardDefinition(const char *value)
Definition: CreateDashboardRequest.h:198
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateDashboardRequest.h:307
Aws::IoTSiteWise::Model::CreateDashboardRequest::CreateDashboardRequest
CreateDashboardRequest()
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetDashboardDescription
void SetDashboardDescription(const Aws::String &value)
Definition: CreateDashboardRequest.h:132
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithDashboardName
CreateDashboardRequest & WithDashboardName(Aws::String &&value)
Definition: CreateDashboardRequest.h:111
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithDashboardDefinition
CreateDashboardRequest & WithDashboardDefinition(Aws::String &&value)
Definition: CreateDashboardRequest.h:214
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetProjectId
void SetProjectId(const Aws::String &value)
Definition: CreateDashboardRequest.h:50
Aws::IoTSiteWise::Model::CreateDashboardRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDashboardRequest.h:298
Aws::IoTSiteWise::Model::CreateDashboardRequest::AddTags
CreateDashboardRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateDashboardRequest.h:370
Aws::IoTSiteWise::Model::CreateDashboardRequest::AddTags
CreateDashboardRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateDashboardRequest.h:343
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithDashboardDescription
CreateDashboardRequest & WithDashboardDescription(const Aws::String &value)
Definition: CreateDashboardRequest.h:147
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateDashboardRequest.h:316
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetProjectId
void SetProjectId(Aws::String &&value)
Definition: CreateDashboardRequest.h:55
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithClientToken
CreateDashboardRequest & WithClientToken(const Aws::String &value)
Definition: CreateDashboardRequest.h:265
Aws::IoTSiteWise::Model::CreateDashboardRequest::GetDashboardDescription
const Aws::String & GetDashboardDescription() const
Definition: CreateDashboardRequest.h:122
Aws::IoTSiteWise::Model::CreateDashboardRequest::AddTags
CreateDashboardRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateDashboardRequest.h:352
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithProjectId
CreateDashboardRequest & WithProjectId(const char *value)
Definition: CreateDashboardRequest.h:75
Aws::IoTSiteWise::Model::CreateDashboardRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateDashboardRequest.h:289
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetDashboardName
void SetDashboardName(const Aws::String &value)
Definition: CreateDashboardRequest.h:91
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetClientToken
void SetClientToken(const char *value)
Definition: CreateDashboardRequest.h:258
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithClientToken
CreateDashboardRequest & WithClientToken(Aws::String &&value)
Definition: CreateDashboardRequest.h:272
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: CreateDashboardRequest.h:251
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithDashboardDefinition
CreateDashboardRequest & WithDashboardDefinition(const char *value)
Definition: CreateDashboardRequest.h:222
Aws::IoTSiteWise::Model::CreateDashboardRequest::GetDashboardDefinition
const Aws::String & GetDashboardDefinition() const
Definition: CreateDashboardRequest.h:166
Aws::IoTSiteWise::Model::CreateDashboardRequest::GetProjectId
const Aws::String & GetProjectId() const
Definition: CreateDashboardRequest.h:40
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithProjectId
CreateDashboardRequest & WithProjectId(Aws::String &&value)
Definition: CreateDashboardRequest.h:70
Aws::IoTSiteWise::Model::CreateDashboardRequest::ProjectIdHasBeenSet
bool ProjectIdHasBeenSet() const
Definition: CreateDashboardRequest.h:45
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithDashboardDescription
CreateDashboardRequest & WithDashboardDescription(const char *value)
Definition: CreateDashboardRequest.h:157
Aws::IoTSiteWise::Model::CreateDashboardRequest::AddTags
CreateDashboardRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateDashboardRequest.h:388
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithDashboardName
CreateDashboardRequest & WithDashboardName(const Aws::String &value)
Definition: CreateDashboardRequest.h:106
AWSString.h
Aws::IoTSiteWise::Model::CreateDashboardRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDashboardRequest.h:32
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithDashboardDefinition
CreateDashboardRequest & WithDashboardDefinition(const Aws::String &value)
Definition: CreateDashboardRequest.h:206
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: CreateDashboardRequest.h:244
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithDashboardDescription
CreateDashboardRequest & WithDashboardDescription(Aws::String &&value)
Definition: CreateDashboardRequest.h:152
Aws::IoTSiteWise::Model::CreateDashboardRequest
Definition: CreateDashboardRequest.h:24
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithTags
CreateDashboardRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateDashboardRequest.h:325
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetDashboardDescription
void SetDashboardDescription(Aws::String &&value)
Definition: CreateDashboardRequest.h:137
Aws
Definition: AccessManagementClient.h:15
IoTSiteWiseRequest.h
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetDashboardDefinition
void SetDashboardDefinition(const Aws::String &value)
Definition: CreateDashboardRequest.h:182
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithTags
CreateDashboardRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateDashboardRequest.h:334
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithDashboardName
CreateDashboardRequest & WithDashboardName(const char *value)
Definition: CreateDashboardRequest.h:116
Aws::IoTSiteWise::Model::CreateDashboardRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: CreateDashboardRequest.h:237
Aws::IoTSiteWise::Model::CreateDashboardRequest::DashboardDescriptionHasBeenSet
bool DashboardDescriptionHasBeenSet() const
Definition: CreateDashboardRequest.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithClientToken
CreateDashboardRequest & WithClientToken(const char *value)
Definition: CreateDashboardRequest.h:279
Aws::IoTSiteWise::Model::CreateDashboardRequest::GetDashboardName
const Aws::String & GetDashboardName() const
Definition: CreateDashboardRequest.h:81
Aws::IoTSiteWise::Model::CreateDashboardRequest::DashboardNameHasBeenSet
bool DashboardNameHasBeenSet() const
Definition: CreateDashboardRequest.h:86
Aws::IoTSiteWise::Model::CreateDashboardRequest::DashboardDefinitionHasBeenSet
bool DashboardDefinitionHasBeenSet() const
Definition: CreateDashboardRequest.h:174
Aws::IoTSiteWise::IoTSiteWiseRequest
Definition: IoTSiteWiseRequest.h:17
Aws::IoTSiteWise::Model::CreateDashboardRequest::AddTags
CreateDashboardRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateDashboardRequest.h:361
UUID.h
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetDashboardName
void SetDashboardName(const char *value)
Definition: CreateDashboardRequest.h:101
AWSMap.h
Aws::IoTSiteWise::Model::CreateDashboardRequest::SetDashboardDefinition
void SetDashboardDefinition(Aws::String &&value)
Definition: CreateDashboardRequest.h:190
Aws::IoTSiteWise::Model::CreateDashboardRequest::WithProjectId
CreateDashboardRequest & WithProjectId(const Aws::String &value)
Definition: CreateDashboardRequest.h:65
Aws::IoTSiteWise::Model::CreateDashboardRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19