AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StopRequest.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WorkSpaces
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_WORKSPACES_API StopRequest();
36 AWS_WORKSPACES_API StopRequest(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WORKSPACES_API StopRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
46 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
47 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
48 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
49 inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
50 inline StopRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
51 inline StopRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
52 inline StopRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
54 private:
55
56 Aws::String m_workspaceId;
57 bool m_workspaceIdHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace WorkSpaces
62} // namespace Aws
void SetWorkspaceId(const Aws::String &value)
Definition StopRequest.h:47
void SetWorkspaceId(const char *value)
Definition StopRequest.h:49
AWS_WORKSPACES_API StopRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
StopRequest & WithWorkspaceId(const char *value)
Definition StopRequest.h:52
StopRequest & WithWorkspaceId(Aws::String &&value)
Definition StopRequest.h:51
AWS_WORKSPACES_API StopRequest()
AWS_WORKSPACES_API StopRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
StopRequest & WithWorkspaceId(const Aws::String &value)
Definition StopRequest.h:50
const Aws::String & GetWorkspaceId() const
Definition StopRequest.h:45
void SetWorkspaceId(Aws::String &&value)
Definition StopRequest.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue