AWS SDK for C++

AWS SDK for C++ Version 1.11.832

Loading...
Searching...
No Matches
AutonomousDatabaseWalletDetails.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/odb/Odb_EXPORTS.h>
9#include <aws/odb/model/AutonomousDatabaseWalletStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace odb {
21namespace Model {
22
29 public:
30 AWS_ODB_API AutonomousDatabaseWalletDetails() = default;
34
36
39 inline AutonomousDatabaseWalletStatus GetStatus() const { return m_status; }
40 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
42 m_statusHasBeenSet = true;
43 m_status = value;
44 }
46 SetStatus(value);
47 return *this;
48 }
50
52
55 inline const Aws::Utils::DateTime& GetTimeRotated() const { return m_timeRotated; }
56 inline bool TimeRotatedHasBeenSet() const { return m_timeRotatedHasBeenSet; }
57 template <typename TimeRotatedT = Aws::Utils::DateTime>
58 void SetTimeRotated(TimeRotatedT&& value) {
59 m_timeRotatedHasBeenSet = true;
60 m_timeRotated = std::forward<TimeRotatedT>(value);
61 }
62 template <typename TimeRotatedT = Aws::Utils::DateTime>
64 SetTimeRotated(std::forward<TimeRotatedT>(value));
65 return *this;
66 }
68 private:
70
71 Aws::Utils::DateTime m_timeRotated{};
72 bool m_statusHasBeenSet = false;
73 bool m_timeRotatedHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace odb
78} // namespace Aws
AutonomousDatabaseWalletDetails & WithStatus(AutonomousDatabaseWalletStatus value)
AWS_ODB_API AutonomousDatabaseWalletDetails(Aws::Utils::Json::JsonView jsonValue)
AutonomousDatabaseWalletDetails & WithTimeRotated(TimeRotatedT &&value)
AWS_ODB_API AutonomousDatabaseWalletDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue