AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace TimestreamQuery {
20namespace Model {
21
29 public:
30 AWS_TIMESTREAMQUERY_API QueryTemporalRange() = default;
33 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
44 inline const QueryTemporalRangeMax& GetMax() const { return m_max; }
45 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
46 template <typename MaxT = QueryTemporalRangeMax>
47 void SetMax(MaxT&& value) {
48 m_maxHasBeenSet = true;
49 m_max = std::forward<MaxT>(value);
50 }
51 template <typename MaxT = QueryTemporalRangeMax>
53 SetMax(std::forward<MaxT>(value));
54 return *this;
55 }
57 private:
59 bool m_maxHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace TimestreamQuery
64} // 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