AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StatisticAnnotation.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/glue/model/TimestampedInclusionAnnotation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GLUE_API StatisticAnnotation() = default;
40
41
43
46 inline const Aws::String& GetProfileId() const { return m_profileId; }
47 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
48 template<typename ProfileIdT = Aws::String>
49 void SetProfileId(ProfileIdT&& value) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
50 template<typename ProfileIdT = Aws::String>
51 StatisticAnnotation& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
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) { m_statisticIdHasBeenSet = true; m_statisticId = std::forward<StatisticIdT>(value); }
62 template<typename StatisticIdT = Aws::String>
63 StatisticAnnotation& WithStatisticId(StatisticIdT&& value) { SetStatisticId(std::forward<StatisticIdT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetStatisticRecordedOn() const { return m_statisticRecordedOn; }
71 inline bool StatisticRecordedOnHasBeenSet() const { return m_statisticRecordedOnHasBeenSet; }
72 template<typename StatisticRecordedOnT = Aws::Utils::DateTime>
73 void SetStatisticRecordedOn(StatisticRecordedOnT&& value) { m_statisticRecordedOnHasBeenSet = true; m_statisticRecordedOn = std::forward<StatisticRecordedOnT>(value); }
74 template<typename StatisticRecordedOnT = Aws::Utils::DateTime>
75 StatisticAnnotation& WithStatisticRecordedOn(StatisticRecordedOnT&& value) { SetStatisticRecordedOn(std::forward<StatisticRecordedOnT>(value)); return *this;}
77
79
82 inline const TimestampedInclusionAnnotation& GetInclusionAnnotation() const { return m_inclusionAnnotation; }
83 inline bool InclusionAnnotationHasBeenSet() const { return m_inclusionAnnotationHasBeenSet; }
84 template<typename InclusionAnnotationT = TimestampedInclusionAnnotation>
85 void SetInclusionAnnotation(InclusionAnnotationT&& value) { m_inclusionAnnotationHasBeenSet = true; m_inclusionAnnotation = std::forward<InclusionAnnotationT>(value); }
86 template<typename InclusionAnnotationT = TimestampedInclusionAnnotation>
87 StatisticAnnotation& WithInclusionAnnotation(InclusionAnnotationT&& value) { SetInclusionAnnotation(std::forward<InclusionAnnotationT>(value)); return *this;}
89 private:
90
91 Aws::String m_profileId;
92 bool m_profileIdHasBeenSet = false;
93
94 Aws::String m_statisticId;
95 bool m_statisticIdHasBeenSet = false;
96
97 Aws::Utils::DateTime m_statisticRecordedOn{};
98 bool m_statisticRecordedOnHasBeenSet = false;
99
100 TimestampedInclusionAnnotation m_inclusionAnnotation;
101 bool m_inclusionAnnotationHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Glue
106} // 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