AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateWorkspaceRequest.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IoTTwinMaker
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IOTTWINMAKER_API UpdateWorkspaceRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateWorkspace"; }
31
32 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
40 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
41 template<typename WorkspaceIdT = Aws::String>
42 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
43 template<typename WorkspaceIdT = Aws::String>
44 UpdateWorkspaceRequest& WithWorkspaceId(WorkspaceIdT&& value) { SetWorkspaceId(std::forward<WorkspaceIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetDescription() const { return m_description; }
52 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
53 template<typename DescriptionT = Aws::String>
54 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
55 template<typename DescriptionT = Aws::String>
56 UpdateWorkspaceRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
58
60
63 inline const Aws::String& GetRole() const { return m_role; }
64 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
65 template<typename RoleT = Aws::String>
66 void SetRole(RoleT&& value) { m_roleHasBeenSet = true; m_role = std::forward<RoleT>(value); }
67 template<typename RoleT = Aws::String>
68 UpdateWorkspaceRequest& WithRole(RoleT&& value) { SetRole(std::forward<RoleT>(value)); return *this;}
70
72
76 inline const Aws::String& GetS3Location() const { return m_s3Location; }
77 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
78 template<typename S3LocationT = Aws::String>
79 void SetS3Location(S3LocationT&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::forward<S3LocationT>(value); }
80 template<typename S3LocationT = Aws::String>
81 UpdateWorkspaceRequest& WithS3Location(S3LocationT&& value) { SetS3Location(std::forward<S3LocationT>(value)); return *this;}
83 private:
84
85 Aws::String m_workspaceId;
86 bool m_workspaceIdHasBeenSet = false;
87
88 Aws::String m_description;
89 bool m_descriptionHasBeenSet = false;
90
91 Aws::String m_role;
92 bool m_roleHasBeenSet = false;
93
94 Aws::String m_s3Location;
95 bool m_s3LocationHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace IoTTwinMaker
100} // 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