AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDashboardRequest.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 <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace IoTSiteWise
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTSITEWISE_API CreateDashboardRequest();
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_IOTSITEWISE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetProjectId() const{ return m_projectId; }
42 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
43 inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
44 inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
45 inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
46 inline CreateDashboardRequest& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
47 inline CreateDashboardRequest& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
48 inline CreateDashboardRequest& WithProjectId(const char* value) { SetProjectId(value); return *this;}
50
52
55 inline const Aws::String& GetDashboardName() const{ return m_dashboardName; }
56 inline bool DashboardNameHasBeenSet() const { return m_dashboardNameHasBeenSet; }
57 inline void SetDashboardName(const Aws::String& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = value; }
58 inline void SetDashboardName(Aws::String&& value) { m_dashboardNameHasBeenSet = true; m_dashboardName = std::move(value); }
59 inline void SetDashboardName(const char* value) { m_dashboardNameHasBeenSet = true; m_dashboardName.assign(value); }
60 inline CreateDashboardRequest& WithDashboardName(const Aws::String& value) { SetDashboardName(value); return *this;}
61 inline CreateDashboardRequest& WithDashboardName(Aws::String&& value) { SetDashboardName(std::move(value)); return *this;}
62 inline CreateDashboardRequest& WithDashboardName(const char* value) { SetDashboardName(value); return *this;}
64
66
69 inline const Aws::String& GetDashboardDescription() const{ return m_dashboardDescription; }
70 inline bool DashboardDescriptionHasBeenSet() const { return m_dashboardDescriptionHasBeenSet; }
71 inline void SetDashboardDescription(const Aws::String& value) { m_dashboardDescriptionHasBeenSet = true; m_dashboardDescription = value; }
72 inline void SetDashboardDescription(Aws::String&& value) { m_dashboardDescriptionHasBeenSet = true; m_dashboardDescription = std::move(value); }
73 inline void SetDashboardDescription(const char* value) { m_dashboardDescriptionHasBeenSet = true; m_dashboardDescription.assign(value); }
75 inline CreateDashboardRequest& WithDashboardDescription(Aws::String&& value) { SetDashboardDescription(std::move(value)); return *this;}
76 inline CreateDashboardRequest& WithDashboardDescription(const char* value) { SetDashboardDescription(value); return *this;}
78
80
86 inline const Aws::String& GetDashboardDefinition() const{ return m_dashboardDefinition; }
87 inline bool DashboardDefinitionHasBeenSet() const { return m_dashboardDefinitionHasBeenSet; }
88 inline void SetDashboardDefinition(const Aws::String& value) { m_dashboardDefinitionHasBeenSet = true; m_dashboardDefinition = value; }
89 inline void SetDashboardDefinition(Aws::String&& value) { m_dashboardDefinitionHasBeenSet = true; m_dashboardDefinition = std::move(value); }
90 inline void SetDashboardDefinition(const char* value) { m_dashboardDefinitionHasBeenSet = true; m_dashboardDefinition.assign(value); }
92 inline CreateDashboardRequest& WithDashboardDefinition(Aws::String&& value) { SetDashboardDefinition(std::move(value)); return *this;}
93 inline CreateDashboardRequest& WithDashboardDefinition(const char* value) { SetDashboardDefinition(value); return *this;}
95
97
102 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
103 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
104 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
105 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
106 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
107 inline CreateDashboardRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
108 inline CreateDashboardRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
109 inline CreateDashboardRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
111
113
119 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
120 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
121 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
122 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
123 inline CreateDashboardRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
124 inline CreateDashboardRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
125 inline CreateDashboardRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
126 inline CreateDashboardRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
127 inline CreateDashboardRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
128 inline CreateDashboardRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
129 inline CreateDashboardRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
130 inline CreateDashboardRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
131 inline CreateDashboardRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
133 private:
134
135 Aws::String m_projectId;
136 bool m_projectIdHasBeenSet = false;
137
138 Aws::String m_dashboardName;
139 bool m_dashboardNameHasBeenSet = false;
140
141 Aws::String m_dashboardDescription;
142 bool m_dashboardDescriptionHasBeenSet = false;
143
144 Aws::String m_dashboardDefinition;
145 bool m_dashboardDefinitionHasBeenSet = false;
146
147 Aws::String m_clientToken;
148 bool m_clientTokenHasBeenSet = false;
149
151 bool m_tagsHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace IoTSiteWise
156} // namespace Aws
CreateDashboardRequest & WithDashboardDefinition(Aws::String &&value)
CreateDashboardRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDashboardRequest & WithDashboardName(const char *value)
CreateDashboardRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDashboardRequest & AddTags(const char *key, Aws::String &&value)
CreateDashboardRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateDashboardRequest & WithClientToken(const char *value)
CreateDashboardRequest & WithDashboardDescription(const char *value)
CreateDashboardRequest & WithDashboardName(Aws::String &&value)
CreateDashboardRequest & WithDashboardDefinition(const char *value)
CreateDashboardRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateDashboardRequest & WithProjectId(Aws::String &&value)
CreateDashboardRequest & WithClientToken(const Aws::String &value)
CreateDashboardRequest & WithClientToken(Aws::String &&value)
CreateDashboardRequest & WithDashboardName(const Aws::String &value)
CreateDashboardRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDashboardRequest & WithDashboardDefinition(const Aws::String &value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
CreateDashboardRequest & WithProjectId(const char *value)
CreateDashboardRequest & WithProjectId(const Aws::String &value)
CreateDashboardRequest & WithDashboardDescription(const Aws::String &value)
CreateDashboardRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
CreateDashboardRequest & WithDashboardDescription(Aws::String &&value)
CreateDashboardRequest & AddTags(const char *key, const char *value)
CreateDashboardRequest & AddTags(Aws::String &&key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String