AWS SDK for C++  1.9.16
AWS SDK for C++
UpdateProjectRequest.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 "UpdateProject"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetProjectId() const{ return m_projectId; }
40 
44  inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
45 
49  inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
50 
54  inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
55 
59  inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
60 
64  inline UpdateProjectRequest& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
65 
69  inline UpdateProjectRequest& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
70 
74  inline UpdateProjectRequest& WithProjectId(const char* value) { SetProjectId(value); return *this;}
75 
76 
80  inline const Aws::String& GetProjectName() const{ return m_projectName; }
81 
85  inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
86 
90  inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
91 
95  inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
96 
100  inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
101 
105  inline UpdateProjectRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
106 
110  inline UpdateProjectRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
111 
115  inline UpdateProjectRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
116 
117 
121  inline const Aws::String& GetProjectDescription() const{ return m_projectDescription; }
122 
126  inline bool ProjectDescriptionHasBeenSet() const { return m_projectDescriptionHasBeenSet; }
127 
131  inline void SetProjectDescription(const Aws::String& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = value; }
132 
136  inline void SetProjectDescription(Aws::String&& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = std::move(value); }
137 
141  inline void SetProjectDescription(const char* value) { m_projectDescriptionHasBeenSet = true; m_projectDescription.assign(value); }
142 
146  inline UpdateProjectRequest& WithProjectDescription(const Aws::String& value) { SetProjectDescription(value); return *this;}
147 
151  inline UpdateProjectRequest& WithProjectDescription(Aws::String&& value) { SetProjectDescription(std::move(value)); return *this;}
152 
156  inline UpdateProjectRequest& WithProjectDescription(const char* value) { SetProjectDescription(value); return *this;}
157 
158 
164  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
165 
171  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
172 
178  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
179 
185  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
186 
192  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
193 
199  inline UpdateProjectRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
200 
206  inline UpdateProjectRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
207 
213  inline UpdateProjectRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
214 
215  private:
216 
217  Aws::String m_projectId;
218  bool m_projectIdHasBeenSet;
219 
220  Aws::String m_projectName;
221  bool m_projectNameHasBeenSet;
222 
223  Aws::String m_projectDescription;
224  bool m_projectDescriptionHasBeenSet;
225 
226  Aws::String m_clientToken;
227  bool m_clientTokenHasBeenSet;
228  };
229 
230 } // namespace Model
231 } // namespace IoTSiteWise
232 } // namespace Aws
Aws::IoTSiteWise::Model::UpdateProjectRequest::ProjectIdHasBeenSet
bool ProjectIdHasBeenSet() const
Definition: UpdateProjectRequest.h:44
Aws::IoTSiteWise::Model::UpdateProjectRequest::WithClientToken
UpdateProjectRequest & WithClientToken(Aws::String &&value)
Definition: UpdateProjectRequest.h:206
Aws::IoTSiteWise::Model::UpdateProjectRequest::WithProjectId
UpdateProjectRequest & WithProjectId(const char *value)
Definition: UpdateProjectRequest.h:74
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::UpdateProjectRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: UpdateProjectRequest.h:185
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::UpdateProjectRequest::SetProjectDescription
void SetProjectDescription(const Aws::String &value)
Definition: UpdateProjectRequest.h:131
Aws::IoTSiteWise::Model::UpdateProjectRequest::GetProjectDescription
const Aws::String & GetProjectDescription() const
Definition: UpdateProjectRequest.h:121
Aws::IoTSiteWise::Model::UpdateProjectRequest::SetProjectName
void SetProjectName(Aws::String &&value)
Definition: UpdateProjectRequest.h:95
Aws::IoTSiteWise::Model::UpdateProjectRequest::SetProjectDescription
void SetProjectDescription(const char *value)
Definition: UpdateProjectRequest.h:141
Aws::IoTSiteWise::Model::UpdateProjectRequest::SetProjectName
void SetProjectName(const Aws::String &value)
Definition: UpdateProjectRequest.h:90
Aws::IoTSiteWise::Model::UpdateProjectRequest::ProjectNameHasBeenSet
bool ProjectNameHasBeenSet() const
Definition: UpdateProjectRequest.h:85
Aws::IoTSiteWise::Model::UpdateProjectRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: UpdateProjectRequest.h:171
Aws::IoTSiteWise::Model::UpdateProjectRequest::WithClientToken
UpdateProjectRequest & WithClientToken(const char *value)
Definition: UpdateProjectRequest.h:213
Aws::IoTSiteWise::Model::UpdateProjectRequest::SetProjectId
void SetProjectId(const Aws::String &value)
Definition: UpdateProjectRequest.h:49
Aws::IoTSiteWise::Model::UpdateProjectRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: UpdateProjectRequest.h:178
Aws::IoTSiteWise::Model::UpdateProjectRequest::GetProjectName
const Aws::String & GetProjectName() const
Definition: UpdateProjectRequest.h:80
Aws::IoTSiteWise::Model::UpdateProjectRequest::UpdateProjectRequest
UpdateProjectRequest()
Aws::IoTSiteWise::Model::UpdateProjectRequest
Definition: UpdateProjectRequest.h:23
Aws::IoTSiteWise::Model::UpdateProjectRequest::SetProjectId
void SetProjectId(Aws::String &&value)
Definition: UpdateProjectRequest.h:54
AWSString.h
Aws::IoTSiteWise::Model::UpdateProjectRequest::WithProjectId
UpdateProjectRequest & WithProjectId(Aws::String &&value)
Definition: UpdateProjectRequest.h:69
Aws::IoTSiteWise::Model::UpdateProjectRequest::SetClientToken
void SetClientToken(const char *value)
Definition: UpdateProjectRequest.h:192
Aws::IoTSiteWise::Model::UpdateProjectRequest::WithProjectName
UpdateProjectRequest & WithProjectName(const char *value)
Definition: UpdateProjectRequest.h:115
Aws::IoTSiteWise::Model::UpdateProjectRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateProjectRequest.h:31
Aws::IoTSiteWise::Model::UpdateProjectRequest::WithClientToken
UpdateProjectRequest & WithClientToken(const Aws::String &value)
Definition: UpdateProjectRequest.h:199
Aws::IoTSiteWise::Model::UpdateProjectRequest::GetProjectId
const Aws::String & GetProjectId() const
Definition: UpdateProjectRequest.h:39
Aws::IoTSiteWise::Model::UpdateProjectRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: UpdateProjectRequest.h:164
Aws::IoTSiteWise::Model::UpdateProjectRequest::SetProjectName
void SetProjectName(const char *value)
Definition: UpdateProjectRequest.h:100
Aws::IoTSiteWise::Model::UpdateProjectRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTSiteWise::Model::UpdateProjectRequest::WithProjectDescription
UpdateProjectRequest & WithProjectDescription(const char *value)
Definition: UpdateProjectRequest.h:156
Aws
Definition: AccessManagementClient.h:15
IoTSiteWiseRequest.h
Aws::IoTSiteWise::Model::UpdateProjectRequest::WithProjectDescription
UpdateProjectRequest & WithProjectDescription(const Aws::String &value)
Definition: UpdateProjectRequest.h:146
Aws::IoTSiteWise::Model::UpdateProjectRequest::WithProjectId
UpdateProjectRequest & WithProjectId(const Aws::String &value)
Definition: UpdateProjectRequest.h:64
Aws::IoTSiteWise::Model::UpdateProjectRequest::SetProjectDescription
void SetProjectDescription(Aws::String &&value)
Definition: UpdateProjectRequest.h:136
Aws::IoTSiteWise::Model::UpdateProjectRequest::WithProjectDescription
UpdateProjectRequest & WithProjectDescription(Aws::String &&value)
Definition: UpdateProjectRequest.h:151
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::UpdateProjectRequest::ProjectDescriptionHasBeenSet
bool ProjectDescriptionHasBeenSet() const
Definition: UpdateProjectRequest.h:126
Aws::IoTSiteWise::Model::UpdateProjectRequest::WithProjectName
UpdateProjectRequest & WithProjectName(const Aws::String &value)
Definition: UpdateProjectRequest.h:105
Aws::IoTSiteWise::IoTSiteWiseRequest
Definition: IoTSiteWiseRequest.h:17
Aws::IoTSiteWise::Model::UpdateProjectRequest::WithProjectName
UpdateProjectRequest & WithProjectName(Aws::String &&value)
Definition: UpdateProjectRequest.h:110
UUID.h
Aws::IoTSiteWise::Model::UpdateProjectRequest::SetProjectId
void SetProjectId(const char *value)
Definition: UpdateProjectRequest.h:59