AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimeToLive.h
1
6#pragma once
7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
8#include <aws/keyspaces/model/TimeToLiveStatus.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 Keyspaces
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_KEYSPACES_API TimeToLive();
40 AWS_KEYSPACES_API TimeToLive(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KEYSPACES_API TimeToLive& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const TimeToLiveStatus& GetStatus() const{ return m_status; }
51 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
52 inline void SetStatus(const TimeToLiveStatus& value) { m_statusHasBeenSet = true; m_status = value; }
53 inline void SetStatus(TimeToLiveStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
54 inline TimeToLive& WithStatus(const TimeToLiveStatus& value) { SetStatus(value); return *this;}
55 inline TimeToLive& WithStatus(TimeToLiveStatus&& value) { SetStatus(std::move(value)); return *this;}
57 private:
58
59 TimeToLiveStatus m_status;
60 bool m_statusHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace Keyspaces
65} // namespace Aws
const TimeToLiveStatus & GetStatus() const
Definition TimeToLive.h:50
AWS_KEYSPACES_API TimeToLive()
void SetStatus(const TimeToLiveStatus &value)
Definition TimeToLive.h:52
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
TimeToLive & WithStatus(TimeToLiveStatus &&value)
Definition TimeToLive.h:55
AWS_KEYSPACES_API TimeToLive & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KEYSPACES_API TimeToLive(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(TimeToLiveStatus &&value)
Definition TimeToLive.h:53
TimeToLive & WithStatus(const TimeToLiveStatus &value)
Definition TimeToLive.h:54
Aws::Utils::Json::JsonValue JsonValue