AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnlockDelay.h
1
6#pragma once
7#include <aws/rbin/RecycleBin_EXPORTS.h>
8#include <aws/rbin/model/UnlockDelayUnit.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 RecycleBin
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_RECYCLEBIN_API UnlockDelay();
38 AWS_RECYCLEBIN_API UnlockDelay(Aws::Utils::Json::JsonView jsonValue);
39 AWS_RECYCLEBIN_API UnlockDelay& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_RECYCLEBIN_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline int GetUnlockDelayValue() const{ return m_unlockDelayValue; }
49 inline bool UnlockDelayValueHasBeenSet() const { return m_unlockDelayValueHasBeenSet; }
50 inline void SetUnlockDelayValue(int value) { m_unlockDelayValueHasBeenSet = true; m_unlockDelayValue = value; }
51 inline UnlockDelay& WithUnlockDelayValue(int value) { SetUnlockDelayValue(value); return *this;}
53
55
59 inline const UnlockDelayUnit& GetUnlockDelayUnit() const{ return m_unlockDelayUnit; }
60 inline bool UnlockDelayUnitHasBeenSet() const { return m_unlockDelayUnitHasBeenSet; }
61 inline void SetUnlockDelayUnit(const UnlockDelayUnit& value) { m_unlockDelayUnitHasBeenSet = true; m_unlockDelayUnit = value; }
62 inline void SetUnlockDelayUnit(UnlockDelayUnit&& value) { m_unlockDelayUnitHasBeenSet = true; m_unlockDelayUnit = std::move(value); }
63 inline UnlockDelay& WithUnlockDelayUnit(const UnlockDelayUnit& value) { SetUnlockDelayUnit(value); return *this;}
64 inline UnlockDelay& WithUnlockDelayUnit(UnlockDelayUnit&& value) { SetUnlockDelayUnit(std::move(value)); return *this;}
66 private:
67
68 int m_unlockDelayValue;
69 bool m_unlockDelayValueHasBeenSet = false;
70
71 UnlockDelayUnit m_unlockDelayUnit;
72 bool m_unlockDelayUnitHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace RecycleBin
77} // namespace Aws
UnlockDelay & WithUnlockDelayUnit(UnlockDelayUnit &&value)
Definition UnlockDelay.h:64
UnlockDelay & WithUnlockDelayUnit(const UnlockDelayUnit &value)
Definition UnlockDelay.h:63
AWS_RECYCLEBIN_API UnlockDelay(Aws::Utils::Json::JsonView jsonValue)
UnlockDelay & WithUnlockDelayValue(int value)
Definition UnlockDelay.h:51
const UnlockDelayUnit & GetUnlockDelayUnit() const
Definition UnlockDelay.h:59
AWS_RECYCLEBIN_API UnlockDelay()
void SetUnlockDelayUnit(const UnlockDelayUnit &value)
Definition UnlockDelay.h:61
void SetUnlockDelayUnit(UnlockDelayUnit &&value)
Definition UnlockDelay.h:62
AWS_RECYCLEBIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RECYCLEBIN_API UnlockDelay & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue