AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyWorkspacePropertiesRequest.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/WorkSpacesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workspaces/model/WorkspaceProperties.h>
11#include <aws/workspaces/model/DataReplication.h>
12#include <utility>
13
14namespace Aws
15{
16namespace WorkSpaces
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ModifyWorkspaceProperties"; }
33
34 AWS_WORKSPACES_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
44 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
45 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
46 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
47 inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
48 inline ModifyWorkspacePropertiesRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
49 inline ModifyWorkspacePropertiesRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
50 inline ModifyWorkspacePropertiesRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
52
54
57 inline const WorkspaceProperties& GetWorkspaceProperties() const{ return m_workspaceProperties; }
58 inline bool WorkspacePropertiesHasBeenSet() const { return m_workspacePropertiesHasBeenSet; }
59 inline void SetWorkspaceProperties(const WorkspaceProperties& value) { m_workspacePropertiesHasBeenSet = true; m_workspaceProperties = value; }
60 inline void SetWorkspaceProperties(WorkspaceProperties&& value) { m_workspacePropertiesHasBeenSet = true; m_workspaceProperties = std::move(value); }
64
66
69 inline const DataReplication& GetDataReplication() const{ return m_dataReplication; }
70 inline bool DataReplicationHasBeenSet() const { return m_dataReplicationHasBeenSet; }
71 inline void SetDataReplication(const DataReplication& value) { m_dataReplicationHasBeenSet = true; m_dataReplication = value; }
72 inline void SetDataReplication(DataReplication&& value) { m_dataReplicationHasBeenSet = true; m_dataReplication = std::move(value); }
76 private:
77
78 Aws::String m_workspaceId;
79 bool m_workspaceIdHasBeenSet = false;
80
81 WorkspaceProperties m_workspaceProperties;
82 bool m_workspacePropertiesHasBeenSet = false;
83
84 DataReplication m_dataReplication;
85 bool m_dataReplicationHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace WorkSpaces
90} // namespace Aws
ModifyWorkspacePropertiesRequest & WithDataReplication(DataReplication &&value)
ModifyWorkspacePropertiesRequest & WithDataReplication(const DataReplication &value)
AWS_WORKSPACES_API Aws::String SerializePayload() const override
ModifyWorkspacePropertiesRequest & WithWorkspaceProperties(const WorkspaceProperties &value)
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ModifyWorkspacePropertiesRequest & WithWorkspaceId(const char *value)
ModifyWorkspacePropertiesRequest & WithWorkspaceProperties(WorkspaceProperties &&value)
ModifyWorkspacePropertiesRequest & WithWorkspaceId(const Aws::String &value)
ModifyWorkspacePropertiesRequest & WithWorkspaceId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String