AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
QueryComputeResponse.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/timestream-query/model/ComputeMode.h>
9#include <aws/timestream-query/model/ProvisionedCapacityResponse.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 QueryComputeResponse() = default;
39 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline ComputeMode GetComputeMode() const { return m_computeMode; }
49 inline bool ComputeModeHasBeenSet() const { return m_computeModeHasBeenSet; }
50 inline void SetComputeMode(ComputeMode value) { m_computeModeHasBeenSet = true; m_computeMode = value; }
51 inline QueryComputeResponse& WithComputeMode(ComputeMode value) { SetComputeMode(value); return *this;}
53
55
59 inline const ProvisionedCapacityResponse& GetProvisionedCapacity() const { return m_provisionedCapacity; }
60 inline bool ProvisionedCapacityHasBeenSet() const { return m_provisionedCapacityHasBeenSet; }
61 template<typename ProvisionedCapacityT = ProvisionedCapacityResponse>
62 void SetProvisionedCapacity(ProvisionedCapacityT&& value) { m_provisionedCapacityHasBeenSet = true; m_provisionedCapacity = std::forward<ProvisionedCapacityT>(value); }
63 template<typename ProvisionedCapacityT = ProvisionedCapacityResponse>
64 QueryComputeResponse& WithProvisionedCapacity(ProvisionedCapacityT&& value) { SetProvisionedCapacity(std::forward<ProvisionedCapacityT>(value)); return *this;}
66 private:
67
68 ComputeMode m_computeMode{ComputeMode::NOT_SET};
69 bool m_computeModeHasBeenSet = false;
70
71 ProvisionedCapacityResponse m_provisionedCapacity;
72 bool m_provisionedCapacityHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace TimestreamQuery
77} // namespace Aws
AWS_TIMESTREAMQUERY_API QueryComputeResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
QueryComputeResponse & WithComputeMode(ComputeMode value)
AWS_TIMESTREAMQUERY_API QueryComputeResponse()=default
const ProvisionedCapacityResponse & GetProvisionedCapacity() const
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMQUERY_API QueryComputeResponse(Aws::Utils::Json::JsonView jsonValue)
void SetProvisionedCapacity(ProvisionedCapacityT &&value)
QueryComputeResponse & WithProvisionedCapacity(ProvisionedCapacityT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue