AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
QuerySpatialCoverageMax.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TimestreamQuery {
21namespace Model {
22
30 public:
31 AWS_TIMESTREAMQUERY_API QuerySpatialCoverageMax() = default;
34 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline double GetValue() const { return m_value; }
41 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
42 inline void SetValue(double value) {
43 m_valueHasBeenSet = true;
44 m_value = value;
45 }
46 inline QuerySpatialCoverageMax& WithValue(double value) {
47 SetValue(value);
48 return *this;
49 }
51
53
57 inline const Aws::String& GetTableArn() const { return m_tableArn; }
58 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
59 template <typename TableArnT = Aws::String>
60 void SetTableArn(TableArnT&& value) {
61 m_tableArnHasBeenSet = true;
62 m_tableArn = std::forward<TableArnT>(value);
63 }
64 template <typename TableArnT = Aws::String>
66 SetTableArn(std::forward<TableArnT>(value));
67 return *this;
68 }
70
72
78 inline const Aws::Vector<Aws::String>& GetPartitionKey() const { return m_partitionKey; }
79 inline bool PartitionKeyHasBeenSet() const { return m_partitionKeyHasBeenSet; }
80 template <typename PartitionKeyT = Aws::Vector<Aws::String>>
82 m_partitionKeyHasBeenSet = true;
83 m_partitionKey = std::forward<PartitionKeyT>(value);
84 }
85 template <typename PartitionKeyT = Aws::Vector<Aws::String>>
87 SetPartitionKey(std::forward<PartitionKeyT>(value));
88 return *this;
89 }
90 template <typename PartitionKeyT = Aws::String>
92 m_partitionKeyHasBeenSet = true;
93 m_partitionKey.emplace_back(std::forward<PartitionKeyT>(value));
94 return *this;
95 }
97 private:
98 double m_value{0.0};
99
100 Aws::String m_tableArn;
101
102 Aws::Vector<Aws::String> m_partitionKey;
103 bool m_valueHasBeenSet = false;
104 bool m_tableArnHasBeenSet = false;
105 bool m_partitionKeyHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace TimestreamQuery
110} // namespace Aws
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetPartitionKey() const
AWS_TIMESTREAMQUERY_API QuerySpatialCoverageMax & operator=(Aws::Utils::Json::JsonView jsonValue)
QuerySpatialCoverageMax & WithTableArn(TableArnT &&value)
AWS_TIMESTREAMQUERY_API QuerySpatialCoverageMax()=default
QuerySpatialCoverageMax & WithPartitionKey(PartitionKeyT &&value)
QuerySpatialCoverageMax & AddPartitionKey(PartitionKeyT &&value)
AWS_TIMESTREAMQUERY_API QuerySpatialCoverageMax(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue