AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
QuerySpatialCoverageMax.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace TimestreamQuery
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_TIMESTREAMQUERY_API QuerySpatialCoverageMax() = default;
39 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline double GetValue() const { return m_value; }
47 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
48 inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
49 inline QuerySpatialCoverageMax& WithValue(double value) { SetValue(value); return *this;}
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) { m_tableArnHasBeenSet = true; m_tableArn = std::forward<TableArnT>(value); }
61 template<typename TableArnT = Aws::String>
62 QuerySpatialCoverageMax& WithTableArn(TableArnT&& value) { SetTableArn(std::forward<TableArnT>(value)); return *this;}
64
66
72 inline const Aws::Vector<Aws::String>& GetPartitionKey() const { return m_partitionKey; }
73 inline bool PartitionKeyHasBeenSet() const { return m_partitionKeyHasBeenSet; }
74 template<typename PartitionKeyT = Aws::Vector<Aws::String>>
75 void SetPartitionKey(PartitionKeyT&& value) { m_partitionKeyHasBeenSet = true; m_partitionKey = std::forward<PartitionKeyT>(value); }
76 template<typename PartitionKeyT = Aws::Vector<Aws::String>>
77 QuerySpatialCoverageMax& WithPartitionKey(PartitionKeyT&& value) { SetPartitionKey(std::forward<PartitionKeyT>(value)); return *this;}
78 template<typename PartitionKeyT = Aws::String>
79 QuerySpatialCoverageMax& AddPartitionKey(PartitionKeyT&& value) { m_partitionKeyHasBeenSet = true; m_partitionKey.emplace_back(std::forward<PartitionKeyT>(value)); return *this; }
81 private:
82
83 double m_value{0.0};
84 bool m_valueHasBeenSet = false;
85
86 Aws::String m_tableArn;
87 bool m_tableArnHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_partitionKey;
90 bool m_partitionKeyHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace TimestreamQuery
95} // 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