AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ModificationState.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/model/ModificationResourceEnum.h>
9#include <aws/workspaces/model/ModificationStateEnum.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WorkSpaces
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WORKSPACES_API ModificationState() = default;
36 AWS_WORKSPACES_API ModificationState(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline ModificationResourceEnum GetResource() const { return m_resource; }
46 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
47 inline void SetResource(ModificationResourceEnum value) { m_resourceHasBeenSet = true; m_resource = value; }
50
52
55 inline ModificationStateEnum GetState() const { return m_state; }
56 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
57 inline void SetState(ModificationStateEnum value) { m_stateHasBeenSet = true; m_state = value; }
58 inline ModificationState& WithState(ModificationStateEnum value) { SetState(value); return *this;}
60 private:
61
63 bool m_resourceHasBeenSet = false;
64
66 bool m_stateHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace WorkSpaces
71} // namespace Aws
ModificationStateEnum GetState() const
ModificationState & WithResource(ModificationResourceEnum value)
void SetState(ModificationStateEnum value)
AWS_WORKSPACES_API ModificationState(Aws::Utils::Json::JsonView jsonValue)
ModificationState & WithState(ModificationStateEnum value)
void SetResource(ModificationResourceEnum value)
AWS_WORKSPACES_API ModificationState & operator=(Aws::Utils::Json::JsonView jsonValue)
ModificationResourceEnum GetResource() const
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WORKSPACES_API ModificationState()=default
Aws::Utils::Json::JsonValue JsonValue