AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
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 QueryComputeResponse() = default;
34 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline ComputeMode GetComputeMode() const { return m_computeMode; }
43 inline bool ComputeModeHasBeenSet() const { return m_computeModeHasBeenSet; }
44 inline void SetComputeMode(ComputeMode value) {
45 m_computeModeHasBeenSet = true;
46 m_computeMode = value;
47 }
49 SetComputeMode(value);
50 return *this;
51 }
53
55
59 inline const ProvisionedCapacityResponse& GetProvisionedCapacity() const { return m_provisionedCapacity; }
60 inline bool ProvisionedCapacityHasBeenSet() const { return m_provisionedCapacityHasBeenSet; }
61 template <typename ProvisionedCapacityT = ProvisionedCapacityResponse>
63 m_provisionedCapacityHasBeenSet = true;
64 m_provisionedCapacity = std::forward<ProvisionedCapacityT>(value);
65 }
66 template <typename ProvisionedCapacityT = ProvisionedCapacityResponse>
68 SetProvisionedCapacity(std::forward<ProvisionedCapacityT>(value));
69 return *this;
70 }
72 private:
73 ComputeMode m_computeMode{ComputeMode::NOT_SET};
74
75 ProvisionedCapacityResponse m_provisionedCapacity;
76 bool m_computeModeHasBeenSet = false;
77 bool m_provisionedCapacityHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace TimestreamQuery
82} // 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