AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
UpdateWorkspaceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
9#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace IoTTwinMaker {
15namespace Model {
16
20 public:
21 AWS_IOTTWINMAKER_API UpdateWorkspaceRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateWorkspace"; }
28
29 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
36 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
37 template <typename WorkspaceIdT = Aws::String>
38 void SetWorkspaceId(WorkspaceIdT&& value) {
39 m_workspaceIdHasBeenSet = true;
40 m_workspaceId = std::forward<WorkspaceIdT>(value);
41 }
42 template <typename WorkspaceIdT = Aws::String>
43 UpdateWorkspaceRequest& WithWorkspaceId(WorkspaceIdT&& value) {
44 SetWorkspaceId(std::forward<WorkspaceIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetDescription() const { return m_description; }
54 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
55 template <typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) {
57 m_descriptionHasBeenSet = true;
58 m_description = std::forward<DescriptionT>(value);
59 }
60 template <typename DescriptionT = Aws::String>
61 UpdateWorkspaceRequest& WithDescription(DescriptionT&& value) {
62 SetDescription(std::forward<DescriptionT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetRole() const { return m_role; }
72 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
73 template <typename RoleT = Aws::String>
74 void SetRole(RoleT&& value) {
75 m_roleHasBeenSet = true;
76 m_role = std::forward<RoleT>(value);
77 }
78 template <typename RoleT = Aws::String>
80 SetRole(std::forward<RoleT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::String& GetS3Location() const { return m_s3Location; }
91 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
92 template <typename S3LocationT = Aws::String>
93 void SetS3Location(S3LocationT&& value) {
94 m_s3LocationHasBeenSet = true;
95 m_s3Location = std::forward<S3LocationT>(value);
96 }
97 template <typename S3LocationT = Aws::String>
98 UpdateWorkspaceRequest& WithS3Location(S3LocationT&& value) {
99 SetS3Location(std::forward<S3LocationT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_workspaceId;
105
106 Aws::String m_description;
107
108 Aws::String m_role;
109
110 Aws::String m_s3Location;
111 bool m_workspaceIdHasBeenSet = false;
112 bool m_descriptionHasBeenSet = false;
113 bool m_roleHasBeenSet = false;
114 bool m_s3LocationHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace IoTTwinMaker
119} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateWorkspaceRequest & WithRole(RoleT &&value)
UpdateWorkspaceRequest & WithS3Location(S3LocationT &&value)
AWS_IOTTWINMAKER_API UpdateWorkspaceRequest()=default
UpdateWorkspaceRequest & WithDescription(DescriptionT &&value)
UpdateWorkspaceRequest & WithWorkspaceId(WorkspaceIdT &&value)
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String