AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BlockchainInstant.h
1
6#pragma once
7#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
8#include <aws/core/utils/DateTime.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 ManagedBlockchainQuery
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MANAGEDBLOCKCHAINQUERY_API BlockchainInstant();
35 AWS_MANAGEDBLOCKCHAINQUERY_API BlockchainInstant(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MANAGEDBLOCKCHAINQUERY_API BlockchainInstant& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline const Aws::Utils::DateTime& GetTime() const{ return m_time; }
47 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
48 inline void SetTime(const Aws::Utils::DateTime& value) { m_timeHasBeenSet = true; m_time = value; }
49 inline void SetTime(Aws::Utils::DateTime&& value) { m_timeHasBeenSet = true; m_time = std::move(value); }
50 inline BlockchainInstant& WithTime(const Aws::Utils::DateTime& value) { SetTime(value); return *this;}
51 inline BlockchainInstant& WithTime(Aws::Utils::DateTime&& value) { SetTime(std::move(value)); return *this;}
53 private:
54
56 bool m_timeHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace ManagedBlockchainQuery
61} // namespace Aws
AWS_MANAGEDBLOCKCHAINQUERY_API BlockchainInstant(Aws::Utils::Json::JsonView jsonValue)
void SetTime(const Aws::Utils::DateTime &value)
AWS_MANAGEDBLOCKCHAINQUERY_API BlockchainInstant()
BlockchainInstant & WithTime(const Aws::Utils::DateTime &value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MANAGEDBLOCKCHAINQUERY_API BlockchainInstant & operator=(Aws::Utils::Json::JsonView jsonValue)
BlockchainInstant & WithTime(Aws::Utils::DateTime &&value)
Aws::Utils::Json::JsonValue JsonValue