AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename ProjectIdT = Aws::String>
43 void SetProjectId(ProjectIdT&& value) { m_projectIdHasBeenSet = true; m_projectId = std::forward<ProjectIdT>(value); }
44 template<typename ProjectIdT = Aws::String>
45 UpdateProjectRequest& WithProjectId(ProjectIdT&& value) { SetProjectId(std::forward<ProjectIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetProjectName() const { return m_projectName; }
53 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
54 template<typename ProjectNameT = Aws::String>
55 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
56 template<typename ProjectNameT = Aws::String>
57 UpdateProjectRequest& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetProjectDescription() const { return m_projectDescription; }
65 inline bool ProjectDescriptionHasBeenSet() const { return m_projectDescriptionHasBeenSet; }
66 template<typename ProjectDescriptionT = Aws::String>
67 void SetProjectDescription(ProjectDescriptionT&& value) { m_projectDescriptionHasBeenSet = true; m_projectDescription = std::forward<ProjectDescriptionT>(value); }
68 template<typename ProjectDescriptionT = Aws::String>
69 UpdateProjectRequest& WithProjectDescription(ProjectDescriptionT&& value) { SetProjectDescription(std::forward<ProjectDescriptionT>(value)); return *this;}
71
73
78 inline const Aws::String& GetClientToken() const { return m_clientToken; }
79 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
80 template<typename ClientTokenT = Aws::String>
81 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
82 template<typename ClientTokenT = Aws::String>
83 UpdateProjectRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
85 private:
86
87 Aws::String m_projectId;
88 bool m_projectIdHasBeenSet = false;
89
90 Aws::String m_projectName;
91 bool m_projectNameHasBeenSet = false;
92
93 Aws::String m_projectDescription;
94 bool m_projectDescriptionHasBeenSet = false;
95
97 bool m_clientTokenHasBeenSet = true;
98 };
99
100} // namespace Model
101} // namespace IoTSiteWise
102} // namespace Aws
UpdateProjectRequest & WithProjectName(ProjectNameT &&value)
UpdateProjectRequest & WithProjectId(ProjectIdT &&value)
virtual const char * GetServiceRequestName() const override
UpdateProjectRequest & WithClientToken(ClientTokenT &&value)
void SetProjectDescription(ProjectDescriptionT &&value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
UpdateProjectRequest & WithProjectDescription(ProjectDescriptionT &&value)
AWS_IOTSITEWISE_API UpdateProjectRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String