AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Command.h
1
6#pragma once
7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/snow-device-management/model/Reboot.h>
9#include <aws/snow-device-management/model/Unlock.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 SnowDeviceManagement
23{
24namespace Model
25{
26
32 class Command
33 {
34 public:
35 AWS_SNOWDEVICEMANAGEMENT_API Command();
36 AWS_SNOWDEVICEMANAGEMENT_API Command(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SNOWDEVICEMANAGEMENT_API Command& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Reboot& GetReboot() const{ return m_reboot; }
46 inline bool RebootHasBeenSet() const { return m_rebootHasBeenSet; }
47 inline void SetReboot(const Reboot& value) { m_rebootHasBeenSet = true; m_reboot = value; }
48 inline void SetReboot(Reboot&& value) { m_rebootHasBeenSet = true; m_reboot = std::move(value); }
49 inline Command& WithReboot(const Reboot& value) { SetReboot(value); return *this;}
50 inline Command& WithReboot(Reboot&& value) { SetReboot(std::move(value)); return *this;}
52
54
57 inline const Unlock& GetUnlock() const{ return m_unlock; }
58 inline bool UnlockHasBeenSet() const { return m_unlockHasBeenSet; }
59 inline void SetUnlock(const Unlock& value) { m_unlockHasBeenSet = true; m_unlock = value; }
60 inline void SetUnlock(Unlock&& value) { m_unlockHasBeenSet = true; m_unlock = std::move(value); }
61 inline Command& WithUnlock(const Unlock& value) { SetUnlock(value); return *this;}
62 inline Command& WithUnlock(Unlock&& value) { SetUnlock(std::move(value)); return *this;}
64 private:
65
66 Reboot m_reboot;
67 bool m_rebootHasBeenSet = false;
68
69 Unlock m_unlock;
70 bool m_unlockHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SnowDeviceManagement
75} // namespace Aws
AWS_SNOWDEVICEMANAGEMENT_API Command()
Command & WithReboot(const Reboot &value)
Definition Command.h:49
AWS_SNOWDEVICEMANAGEMENT_API Command(Aws::Utils::Json::JsonView jsonValue)
void SetReboot(const Reboot &value)
Definition Command.h:47
const Reboot & GetReboot() const
Definition Command.h:45
void SetUnlock(const Unlock &value)
Definition Command.h:59
const Unlock & GetUnlock() const
Definition Command.h:57
Command & WithUnlock(const Unlock &value)
Definition Command.h:61
AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SNOWDEVICEMANAGEMENT_API Command & operator=(Aws::Utils::Json::JsonView jsonValue)
Command & WithReboot(Reboot &&value)
Definition Command.h:50
Command & WithUnlock(Unlock &&value)
Definition Command.h:62
Aws::Utils::Json::JsonValue JsonValue