AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
42 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
43 inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
44 inline UpdateWorkspaceRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
45 inline UpdateWorkspaceRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
46 inline UpdateWorkspaceRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
48
50
53 inline const Aws::String& GetDescription() const{ return m_description; }
54 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
55 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
56 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
57 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
58 inline UpdateWorkspaceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
59 inline UpdateWorkspaceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
60 inline UpdateWorkspaceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
62
64
67 inline const Aws::String& GetRole() const{ return m_role; }
68 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
69 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
70 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
71 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
72 inline UpdateWorkspaceRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
73 inline UpdateWorkspaceRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
74 inline UpdateWorkspaceRequest& WithRole(const char* value) { SetRole(value); return *this;}
76
78
82 inline const Aws::String& GetS3Location() const{ return m_s3Location; }
83 inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; }
84 inline void SetS3Location(const Aws::String& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; }
85 inline void SetS3Location(Aws::String&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); }
86 inline void SetS3Location(const char* value) { m_s3LocationHasBeenSet = true; m_s3Location.assign(value); }
87 inline UpdateWorkspaceRequest& WithS3Location(const Aws::String& value) { SetS3Location(value); return *this;}
88 inline UpdateWorkspaceRequest& WithS3Location(Aws::String&& value) { SetS3Location(std::move(value)); return *this;}
89 inline UpdateWorkspaceRequest& WithS3Location(const char* value) { SetS3Location(value); return *this;}
91 private:
92
93 Aws::String m_workspaceId;
94 bool m_workspaceIdHasBeenSet = false;
95
96 Aws::String m_description;
97 bool m_descriptionHasBeenSet = false;
98
99 Aws::String m_role;
100 bool m_roleHasBeenSet = false;
101
102 Aws::String m_s3Location;
103 bool m_s3LocationHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace IoTTwinMaker
108} // namespace Aws
UpdateWorkspaceRequest & WithS3Location(Aws::String &&value)
UpdateWorkspaceRequest & WithRole(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateWorkspaceRequest & WithRole(const Aws::String &value)
UpdateWorkspaceRequest & WithDescription(Aws::String &&value)
UpdateWorkspaceRequest & WithWorkspaceId(Aws::String &&value)
UpdateWorkspaceRequest & WithWorkspaceId(const Aws::String &value)
UpdateWorkspaceRequest & WithDescription(const Aws::String &value)
UpdateWorkspaceRequest & WithS3Location(const char *value)
UpdateWorkspaceRequest & WithWorkspaceId(const char *value)
UpdateWorkspaceRequest & WithS3Location(const Aws::String &value)
UpdateWorkspaceRequest & WithRole(const char *value)
UpdateWorkspaceRequest & WithDescription(const char *value)
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String