AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProjectRequest.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 <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace IoTSiteWise
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTSITEWISE_API UpdateProjectRequest();
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_IOTSITEWISE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetProjectId() const{ return m_projectId; }
41 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
42 inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
43 inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
44 inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
45 inline UpdateProjectRequest& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
46 inline UpdateProjectRequest& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
47 inline UpdateProjectRequest& WithProjectId(const char* value) { SetProjectId(value); return *this;}
49
51
54 inline const Aws::String& GetProjectName() const{ return m_projectName; }
55 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
56 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
57 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
58 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
59 inline UpdateProjectRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
60 inline UpdateProjectRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
61 inline UpdateProjectRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
63
65
68 inline const Aws::String& GetProjectDescription() const{ return m_projectDescription; }
69 inline bool ProjectDescriptionHasBeenSet() const { return m_projectDescriptionHasBeenSet; }
70 inline void SetProjectDescription(const Aws::String& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = value; }
71 inline void SetProjectDescription(Aws::String&& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = std::move(value); }
72 inline void SetProjectDescription(const char* value) { m_projectDescriptionHasBeenSet = true; m_projectDescription.assign(value); }
74 inline UpdateProjectRequest& WithProjectDescription(Aws::String&& value) { SetProjectDescription(std::move(value)); return *this;}
75 inline UpdateProjectRequest& WithProjectDescription(const char* value) { SetProjectDescription(value); return *this;}
77
79
84 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
85 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
86 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
87 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
88 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
89 inline UpdateProjectRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
90 inline UpdateProjectRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
91 inline UpdateProjectRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
93 private:
94
95 Aws::String m_projectId;
96 bool m_projectIdHasBeenSet = false;
97
98 Aws::String m_projectName;
99 bool m_projectNameHasBeenSet = false;
100
101 Aws::String m_projectDescription;
102 bool m_projectDescriptionHasBeenSet = false;
103
104 Aws::String m_clientToken;
105 bool m_clientTokenHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace IoTSiteWise
110} // namespace Aws
UpdateProjectRequest & WithProjectDescription(const Aws::String &value)
UpdateProjectRequest & WithClientToken(Aws::String &&value)
UpdateProjectRequest & WithClientToken(const Aws::String &value)
UpdateProjectRequest & WithProjectDescription(Aws::String &&value)
UpdateProjectRequest & WithProjectId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateProjectRequest & WithProjectId(const char *value)
UpdateProjectRequest & WithProjectDescription(const char *value)
UpdateProjectRequest & WithProjectId(Aws::String &&value)
UpdateProjectRequest & WithProjectName(const Aws::String &value)
void SetProjectDescription(const Aws::String &value)
UpdateProjectRequest & WithProjectName(Aws::String &&value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
UpdateProjectRequest & WithClientToken(const char *value)
UpdateProjectRequest & WithProjectName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String