AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
QueryTemporalRange.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/timestream-query/model/QueryTemporalRangeMax.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TimestreamQuery
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_TIMESTREAMQUERY_API QueryTemporalRange() = default;
38 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
50 inline const QueryTemporalRangeMax& GetMax() const { return m_max; }
51 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
52 template<typename MaxT = QueryTemporalRangeMax>
53 void SetMax(MaxT&& value) { m_maxHasBeenSet = true; m_max = std::forward<MaxT>(value); }
54 template<typename MaxT = QueryTemporalRangeMax>
55 QueryTemporalRange& WithMax(MaxT&& value) { SetMax(std::forward<MaxT>(value)); return *this;}
57 private:
58
60 bool m_maxHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace TimestreamQuery
65} // namespace Aws
AWS_TIMESTREAMQUERY_API QueryTemporalRange(Aws::Utils::Json::JsonView jsonValue)
QueryTemporalRange & WithMax(MaxT &&value)
const QueryTemporalRangeMax & GetMax() const
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMQUERY_API QueryTemporalRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API QueryTemporalRange()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue