AWS SDK for C++  1.9.125
AWS SDK for C++
StartRequest.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace WorkSpaces
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
44 
48  inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
49 
53  inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
54 
58  inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
59 
63  inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
64 
68  inline StartRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
69 
73  inline StartRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
74 
78  inline StartRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
79 
80  private:
81 
82  Aws::String m_workspaceId;
83  bool m_workspaceIdHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace WorkSpaces
88 } // namespace Aws
WorkSpaces_EXPORTS.h
Aws::WorkSpaces::Model::StartRequest::WithWorkspaceId
StartRequest & WithWorkspaceId(const char *value)
Definition: StartRequest.h:78
AWS_WORKSPACES_API
#define AWS_WORKSPACES_API
Definition: WorkSpaces_EXPORTS.h:28
Aws::WorkSpaces::Model::StartRequest::WithWorkspaceId
StartRequest & WithWorkspaceId(const Aws::String &value)
Definition: StartRequest.h:68
Aws::WorkSpaces::Model::StartRequest::WorkspaceIdHasBeenSet
bool WorkspaceIdHasBeenSet() const
Definition: StartRequest.h:48
Aws::WorkSpaces::Model::StartRequest::SetWorkspaceId
void SetWorkspaceId(const char *value)
Definition: StartRequest.h:63
Aws::WorkSpaces::Model::StartRequest
Definition: StartRequest.h:32
Aws::WorkSpaces::Model::StartRequest::WithWorkspaceId
StartRequest & WithWorkspaceId(Aws::String &&value)
Definition: StartRequest.h:73
Aws::WorkSpaces::Model::StartRequest::StartRequest
StartRequest()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WorkSpaces::Model::StartRequest::SetWorkspaceId
void SetWorkspaceId(Aws::String &&value)
Definition: StartRequest.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::WorkSpaces::Model::StartRequest::operator=
StartRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkSpaces::Model::StartRequest::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkSpaces::Model::StartRequest::GetWorkspaceId
const Aws::String & GetWorkspaceId() const
Definition: StartRequest.h:43
Aws::WorkSpaces::Model::StartRequest::SetWorkspaceId
void SetWorkspaceId(const Aws::String &value)
Definition: StartRequest.h:53
Aws::WorkSpaces::Model::StartRequest::StartRequest
StartRequest(Aws::Utils::Json::JsonView jsonValue)