AWS SDK for C++  1.9.159
AWS SDK for C++
RebootRequest.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
45 
49  inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
50 
54  inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
55 
59  inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
60 
64  inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
65 
69  inline RebootRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
70 
74  inline RebootRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
75 
79  inline RebootRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
80 
81  private:
82 
83  Aws::String m_workspaceId;
84  bool m_workspaceIdHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace WorkSpaces
89 } // namespace Aws
Aws::WorkSpaces::Model::RebootRequest::WithWorkspaceId
RebootRequest & WithWorkspaceId(const char *value)
Definition: RebootRequest.h:79
WorkSpaces_EXPORTS.h
AWS_WORKSPACES_API
#define AWS_WORKSPACES_API
Definition: WorkSpaces_EXPORTS.h:28
Aws::WorkSpaces::Model::RebootRequest::SetWorkspaceId
void SetWorkspaceId(const char *value)
Definition: RebootRequest.h:64
Aws::WorkSpaces::Model::RebootRequest
Definition: RebootRequest.h:33
Aws::WorkSpaces::Model::RebootRequest::WithWorkspaceId
RebootRequest & WithWorkspaceId(const Aws::String &value)
Definition: RebootRequest.h:69
Aws::WorkSpaces::Model::RebootRequest::WithWorkspaceId
RebootRequest & WithWorkspaceId(Aws::String &&value)
Definition: RebootRequest.h:74
Aws::WorkSpaces::Model::RebootRequest::WorkspaceIdHasBeenSet
bool WorkspaceIdHasBeenSet() const
Definition: RebootRequest.h:49
Aws::WorkSpaces::Model::RebootRequest::RebootRequest
RebootRequest(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkSpaces::Model::RebootRequest::SetWorkspaceId
void SetWorkspaceId(Aws::String &&value)
Definition: RebootRequest.h:59
Aws::WorkSpaces::Model::RebootRequest::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WorkSpaces::Model::RebootRequest::RebootRequest
RebootRequest()
Aws::WorkSpaces::Model::RebootRequest::SetWorkspaceId
void SetWorkspaceId(const Aws::String &value)
Definition: RebootRequest.h:54
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkSpaces::Model::RebootRequest::operator=
RebootRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::WorkSpaces::Model::RebootRequest::GetWorkspaceId
const Aws::String & GetWorkspaceId() const
Definition: RebootRequest.h:44