AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
StatisticAnnotation.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/TimestampedInclusionAnnotation.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue {
22namespace Model {
23
30 public:
31 AWS_GLUE_API StatisticAnnotation() = default;
35
37
40 inline const Aws::String& GetProfileId() const { return m_profileId; }
41 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
42 template <typename ProfileIdT = Aws::String>
43 void SetProfileId(ProfileIdT&& value) {
44 m_profileIdHasBeenSet = true;
45 m_profileId = std::forward<ProfileIdT>(value);
46 }
47 template <typename ProfileIdT = Aws::String>
48 StatisticAnnotation& WithProfileId(ProfileIdT&& value) {
49 SetProfileId(std::forward<ProfileIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetStatisticId() const { return m_statisticId; }
59 inline bool StatisticIdHasBeenSet() const { return m_statisticIdHasBeenSet; }
60 template <typename StatisticIdT = Aws::String>
61 void SetStatisticId(StatisticIdT&& value) {
62 m_statisticIdHasBeenSet = true;
63 m_statisticId = std::forward<StatisticIdT>(value);
64 }
65 template <typename StatisticIdT = Aws::String>
66 StatisticAnnotation& WithStatisticId(StatisticIdT&& value) {
67 SetStatisticId(std::forward<StatisticIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Utils::DateTime& GetStatisticRecordedOn() const { return m_statisticRecordedOn; }
77 inline bool StatisticRecordedOnHasBeenSet() const { return m_statisticRecordedOnHasBeenSet; }
78 template <typename StatisticRecordedOnT = Aws::Utils::DateTime>
79 void SetStatisticRecordedOn(StatisticRecordedOnT&& value) {
80 m_statisticRecordedOnHasBeenSet = true;
81 m_statisticRecordedOn = std::forward<StatisticRecordedOnT>(value);
82 }
83 template <typename StatisticRecordedOnT = Aws::Utils::DateTime>
84 StatisticAnnotation& WithStatisticRecordedOn(StatisticRecordedOnT&& value) {
85 SetStatisticRecordedOn(std::forward<StatisticRecordedOnT>(value));
86 return *this;
87 }
89
91
94 inline const TimestampedInclusionAnnotation& GetInclusionAnnotation() const { return m_inclusionAnnotation; }
95 inline bool InclusionAnnotationHasBeenSet() const { return m_inclusionAnnotationHasBeenSet; }
96 template <typename InclusionAnnotationT = TimestampedInclusionAnnotation>
97 void SetInclusionAnnotation(InclusionAnnotationT&& value) {
98 m_inclusionAnnotationHasBeenSet = true;
99 m_inclusionAnnotation = std::forward<InclusionAnnotationT>(value);
100 }
101 template <typename InclusionAnnotationT = TimestampedInclusionAnnotation>
102 StatisticAnnotation& WithInclusionAnnotation(InclusionAnnotationT&& value) {
103 SetInclusionAnnotation(std::forward<InclusionAnnotationT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_profileId;
109
110 Aws::String m_statisticId;
111
112 Aws::Utils::DateTime m_statisticRecordedOn{};
113
114 TimestampedInclusionAnnotation m_inclusionAnnotation;
115 bool m_profileIdHasBeenSet = false;
116 bool m_statisticIdHasBeenSet = false;
117 bool m_statisticRecordedOnHasBeenSet = false;
118 bool m_inclusionAnnotationHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Glue
123} // namespace Aws
AWS_GLUE_API StatisticAnnotation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API StatisticAnnotation(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
StatisticAnnotation & WithStatisticRecordedOn(StatisticRecordedOnT &&value)
const Aws::String & GetProfileId() const
AWS_GLUE_API StatisticAnnotation()=default
const TimestampedInclusionAnnotation & GetInclusionAnnotation() const
StatisticAnnotation & WithInclusionAnnotation(InclusionAnnotationT &&value)
StatisticAnnotation & WithProfileId(ProfileIdT &&value)
const Aws::String & GetStatisticId() const
void SetStatisticRecordedOn(StatisticRecordedOnT &&value)
void SetInclusionAnnotation(InclusionAnnotationT &&value)
void SetStatisticId(StatisticIdT &&value)
StatisticAnnotation & WithStatisticId(StatisticIdT &&value)
const Aws::Utils::DateTime & GetStatisticRecordedOn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue