AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Statistics.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/neptunedata/model/StatisticsSummary.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 neptunedata
24{
25namespace Model
26{
27
40 {
41 public:
42 AWS_NEPTUNEDATA_API Statistics();
43 AWS_NEPTUNEDATA_API Statistics(Aws::Utils::Json::JsonView jsonValue);
44 AWS_NEPTUNEDATA_API Statistics& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline bool GetAutoCompute() const{ return m_autoCompute; }
53 inline bool AutoComputeHasBeenSet() const { return m_autoComputeHasBeenSet; }
54 inline void SetAutoCompute(bool value) { m_autoComputeHasBeenSet = true; m_autoCompute = value; }
55 inline Statistics& WithAutoCompute(bool value) { SetAutoCompute(value); return *this;}
57
59
62 inline bool GetActive() const{ return m_active; }
63 inline bool ActiveHasBeenSet() const { return m_activeHasBeenSet; }
64 inline void SetActive(bool value) { m_activeHasBeenSet = true; m_active = value; }
65 inline Statistics& WithActive(bool value) { SetActive(value); return *this;}
67
69
73 inline const Aws::String& GetStatisticsId() const{ return m_statisticsId; }
74 inline bool StatisticsIdHasBeenSet() const { return m_statisticsIdHasBeenSet; }
75 inline void SetStatisticsId(const Aws::String& value) { m_statisticsIdHasBeenSet = true; m_statisticsId = value; }
76 inline void SetStatisticsId(Aws::String&& value) { m_statisticsIdHasBeenSet = true; m_statisticsId = std::move(value); }
77 inline void SetStatisticsId(const char* value) { m_statisticsIdHasBeenSet = true; m_statisticsId.assign(value); }
78 inline Statistics& WithStatisticsId(const Aws::String& value) { SetStatisticsId(value); return *this;}
79 inline Statistics& WithStatisticsId(Aws::String&& value) { SetStatisticsId(std::move(value)); return *this;}
80 inline Statistics& WithStatisticsId(const char* value) { SetStatisticsId(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetDate() const{ return m_date; }
88 inline bool DateHasBeenSet() const { return m_dateHasBeenSet; }
89 inline void SetDate(const Aws::Utils::DateTime& value) { m_dateHasBeenSet = true; m_date = value; }
90 inline void SetDate(Aws::Utils::DateTime&& value) { m_dateHasBeenSet = true; m_date = std::move(value); }
91 inline Statistics& WithDate(const Aws::Utils::DateTime& value) { SetDate(value); return *this;}
92 inline Statistics& WithDate(Aws::Utils::DateTime&& value) { SetDate(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetNote() const{ return m_note; }
100 inline bool NoteHasBeenSet() const { return m_noteHasBeenSet; }
101 inline void SetNote(const Aws::String& value) { m_noteHasBeenSet = true; m_note = value; }
102 inline void SetNote(Aws::String&& value) { m_noteHasBeenSet = true; m_note = std::move(value); }
103 inline void SetNote(const char* value) { m_noteHasBeenSet = true; m_note.assign(value); }
104 inline Statistics& WithNote(const Aws::String& value) { SetNote(value); return *this;}
105 inline Statistics& WithNote(Aws::String&& value) { SetNote(std::move(value)); return *this;}
106 inline Statistics& WithNote(const char* value) { SetNote(value); return *this;}
108
110
118 inline const StatisticsSummary& GetSignatureInfo() const{ return m_signatureInfo; }
119 inline bool SignatureInfoHasBeenSet() const { return m_signatureInfoHasBeenSet; }
120 inline void SetSignatureInfo(const StatisticsSummary& value) { m_signatureInfoHasBeenSet = true; m_signatureInfo = value; }
121 inline void SetSignatureInfo(StatisticsSummary&& value) { m_signatureInfoHasBeenSet = true; m_signatureInfo = std::move(value); }
122 inline Statistics& WithSignatureInfo(const StatisticsSummary& value) { SetSignatureInfo(value); return *this;}
123 inline Statistics& WithSignatureInfo(StatisticsSummary&& value) { SetSignatureInfo(std::move(value)); return *this;}
125 private:
126
127 bool m_autoCompute;
128 bool m_autoComputeHasBeenSet = false;
129
130 bool m_active;
131 bool m_activeHasBeenSet = false;
132
133 Aws::String m_statisticsId;
134 bool m_statisticsIdHasBeenSet = false;
135
137 bool m_dateHasBeenSet = false;
138
139 Aws::String m_note;
140 bool m_noteHasBeenSet = false;
141
142 StatisticsSummary m_signatureInfo;
143 bool m_signatureInfoHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace neptunedata
148} // namespace Aws
const Aws::String & GetNote() const
Definition Statistics.h:99
void SetStatisticsId(const char *value)
Definition Statistics.h:77
AWS_NEPTUNEDATA_API Statistics()
Statistics & WithStatisticsId(Aws::String &&value)
Definition Statistics.h:79
void SetNote(const char *value)
Definition Statistics.h:103
void SetNote(Aws::String &&value)
Definition Statistics.h:102
Statistics & WithDate(const Aws::Utils::DateTime &value)
Definition Statistics.h:91
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDate(const Aws::Utils::DateTime &value)
Definition Statistics.h:89
Statistics & WithStatisticsId(const char *value)
Definition Statistics.h:80
Statistics & WithNote(const char *value)
Definition Statistics.h:106
const Aws::Utils::DateTime & GetDate() const
Definition Statistics.h:87
void SetStatisticsId(const Aws::String &value)
Definition Statistics.h:75
Statistics & WithSignatureInfo(const StatisticsSummary &value)
Definition Statistics.h:122
void SetSignatureInfo(const StatisticsSummary &value)
Definition Statistics.h:120
Statistics & WithActive(bool value)
Definition Statistics.h:65
Statistics & WithNote(const Aws::String &value)
Definition Statistics.h:104
void SetSignatureInfo(StatisticsSummary &&value)
Definition Statistics.h:121
AWS_NEPTUNEDATA_API Statistics & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNote(const Aws::String &value)
Definition Statistics.h:101
Statistics & WithSignatureInfo(StatisticsSummary &&value)
Definition Statistics.h:123
void SetDate(Aws::Utils::DateTime &&value)
Definition Statistics.h:90
Statistics & WithStatisticsId(const Aws::String &value)
Definition Statistics.h:78
const Aws::String & GetStatisticsId() const
Definition Statistics.h:73
AWS_NEPTUNEDATA_API Statistics(Aws::Utils::Json::JsonView jsonValue)
Statistics & WithNote(Aws::String &&value)
Definition Statistics.h:105
const StatisticsSummary & GetSignatureInfo() const
Definition Statistics.h:118
Statistics & WithAutoCompute(bool value)
Definition Statistics.h:55
Statistics & WithDate(Aws::Utils::DateTime &&value)
Definition Statistics.h:92
void SetStatisticsId(Aws::String &&value)
Definition Statistics.h:76
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue