AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimestampForCollection.h
1
6#pragma once
7#include <aws/detective/Detective_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 Detective
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DETECTIVE_API TimestampForCollection();
38 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
48 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
49 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
50 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
51 inline TimestampForCollection& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
52 inline TimestampForCollection& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
54 private:
55
56 Aws::Utils::DateTime m_timestamp;
57 bool m_timestampHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Detective
62} // namespace Aws
AWS_DETECTIVE_API TimestampForCollection & operator=(Aws::Utils::Json::JsonView jsonValue)
TimestampForCollection & WithTimestamp(Aws::Utils::DateTime &&value)
AWS_DETECTIVE_API TimestampForCollection(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetTimestamp() const
TimestampForCollection & WithTimestamp(const Aws::Utils::DateTime &value)
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimestamp(Aws::Utils::DateTime &&value)
void SetTimestamp(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue