AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateProjectRequest.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 CreateProjectRequest();
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 "CreateProject"; }
33
34 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetPortalId() const{ return m_portalId; }
42 inline bool PortalIdHasBeenSet() const { return m_portalIdHasBeenSet; }
43 inline void SetPortalId(const Aws::String& value) { m_portalIdHasBeenSet = true; m_portalId = value; }
44 inline void SetPortalId(Aws::String&& value) { m_portalIdHasBeenSet = true; m_portalId = std::move(value); }
45 inline void SetPortalId(const char* value) { m_portalIdHasBeenSet = true; m_portalId.assign(value); }
46 inline CreateProjectRequest& WithPortalId(const Aws::String& value) { SetPortalId(value); return *this;}
47 inline CreateProjectRequest& WithPortalId(Aws::String&& value) { SetPortalId(std::move(value)); return *this;}
48 inline CreateProjectRequest& WithPortalId(const char* value) { SetPortalId(value); return *this;}
50
52
55 inline const Aws::String& GetProjectName() const{ return m_projectName; }
56 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
57 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
58 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
59 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
60 inline CreateProjectRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
61 inline CreateProjectRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
62 inline CreateProjectRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
64
66
69 inline const Aws::String& GetProjectDescription() const{ return m_projectDescription; }
70 inline bool ProjectDescriptionHasBeenSet() const { return m_projectDescriptionHasBeenSet; }
71 inline void SetProjectDescription(const Aws::String& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = value; }
72 inline void SetProjectDescription(Aws::String&& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = std::move(value); }
73 inline void SetProjectDescription(const char* value) { m_projectDescriptionHasBeenSet = true; m_projectDescription.assign(value); }
75 inline CreateProjectRequest& WithProjectDescription(Aws::String&& value) { SetProjectDescription(std::move(value)); return *this;}
76 inline CreateProjectRequest& WithProjectDescription(const char* value) { SetProjectDescription(value); return *this;}
78
80
85 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
86 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
87 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
88 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
89 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
90 inline CreateProjectRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
91 inline CreateProjectRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
92 inline CreateProjectRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
94
96
102 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
103 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
104 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
105 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
106 inline CreateProjectRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
107 inline CreateProjectRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
108 inline CreateProjectRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
109 inline CreateProjectRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
110 inline CreateProjectRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
111 inline CreateProjectRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
112 inline CreateProjectRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
113 inline CreateProjectRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
114 inline CreateProjectRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
116 private:
117
118 Aws::String m_portalId;
119 bool m_portalIdHasBeenSet = false;
120
121 Aws::String m_projectName;
122 bool m_projectNameHasBeenSet = false;
123
124 Aws::String m_projectDescription;
125 bool m_projectDescriptionHasBeenSet = false;
126
127 Aws::String m_clientToken;
128 bool m_clientTokenHasBeenSet = false;
129
131 bool m_tagsHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace IoTSiteWise
136} // namespace Aws
CreateProjectRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetProjectDescription(const Aws::String &value)
CreateProjectRequest & WithProjectName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateProjectRequest & WithProjectDescription(const char *value)
CreateProjectRequest & AddTags(const char *key, Aws::String &&value)
CreateProjectRequest & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateProjectRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateProjectRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateProjectRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateProjectRequest & WithProjectDescription(const Aws::String &value)
CreateProjectRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateProjectRequest & AddTags(const char *key, const char *value)
CreateProjectRequest & WithProjectName(Aws::String &&value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreateProjectRequest & WithPortalId(const char *value)
CreateProjectRequest & WithClientToken(const Aws::String &value)
CreateProjectRequest & WithPortalId(const Aws::String &value)
CreateProjectRequest & WithProjectName(const char *value)
CreateProjectRequest & WithClientToken(Aws::String &&value)
CreateProjectRequest & WithPortalId(Aws::String &&value)
CreateProjectRequest & WithProjectDescription(Aws::String &&value)
CreateProjectRequest & WithClientToken(const char *value)
CreateProjectRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &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