AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TimestampedInclusionAnnotation.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/InclusionAnnotationValue.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API TimestampedInclusionAnnotation() = default;
39
40
42
45 inline InclusionAnnotationValue GetValue() const { return m_value; }
46 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
47 inline void SetValue(InclusionAnnotationValue value) { m_valueHasBeenSet = true; m_value = value; }
50
52
55 inline const Aws::Utils::DateTime& GetLastModifiedOn() const { return m_lastModifiedOn; }
56 inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; }
57 template<typename LastModifiedOnT = Aws::Utils::DateTime>
58 void SetLastModifiedOn(LastModifiedOnT&& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = std::forward<LastModifiedOnT>(value); }
59 template<typename LastModifiedOnT = Aws::Utils::DateTime>
60 TimestampedInclusionAnnotation& WithLastModifiedOn(LastModifiedOnT&& value) { SetLastModifiedOn(std::forward<LastModifiedOnT>(value)); return *this;}
62 private:
63
65 bool m_valueHasBeenSet = false;
66
67 Aws::Utils::DateTime m_lastModifiedOn{};
68 bool m_lastModifiedOnHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Glue
73} // namespace Aws
TimestampedInclusionAnnotation & WithValue(InclusionAnnotationValue value)
AWS_GLUE_API TimestampedInclusionAnnotation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API TimestampedInclusionAnnotation(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
TimestampedInclusionAnnotation & WithLastModifiedOn(LastModifiedOnT &&value)
Aws::Utils::Json::JsonValue JsonValue