AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
TimestampedInclusionAnnotation.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/InclusionAnnotationValue.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
29 public:
30 AWS_GLUE_API TimestampedInclusionAnnotation() = default;
34
36
39 inline InclusionAnnotationValue GetValue() const { return m_value; }
40 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
42 m_valueHasBeenSet = true;
43 m_value = value;
44 }
46 SetValue(value);
47 return *this;
48 }
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) {
59 m_lastModifiedOnHasBeenSet = true;
60 m_lastModifiedOn = std::forward<LastModifiedOnT>(value);
61 }
62 template <typename LastModifiedOnT = Aws::Utils::DateTime>
64 SetLastModifiedOn(std::forward<LastModifiedOnT>(value));
65 return *this;
66 }
68 private:
70
71 Aws::Utils::DateTime m_lastModifiedOn{};
72 bool m_valueHasBeenSet = false;
73 bool m_lastModifiedOnHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Glue
78} // 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