AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
UpdateAccountSettingsRequest.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQueryRequest.h>
8#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
9#include <aws/timestream-query/model/QueryComputeRequest.h>
10#include <aws/timestream-query/model/QueryPricingModel.h>
11
12#include <utility>
13
14namespace Aws {
15namespace TimestreamQuery {
16namespace Model {
17
21 public:
22 AWS_TIMESTREAMQUERY_API UpdateAccountSettingsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateAccountSettings"; }
29
30 AWS_TIMESTREAMQUERY_API Aws::String SerializePayload() const override;
31
32 AWS_TIMESTREAMQUERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
50 inline int GetMaxQueryTCU() const { return m_maxQueryTCU; }
51 inline bool MaxQueryTCUHasBeenSet() const { return m_maxQueryTCUHasBeenSet; }
52 inline void SetMaxQueryTCU(int value) {
53 m_maxQueryTCUHasBeenSet = true;
54 m_maxQueryTCU = value;
55 }
57 SetMaxQueryTCU(value);
58 return *this;
59 }
61
63
69 inline QueryPricingModel GetQueryPricingModel() const { return m_queryPricingModel; }
70 inline bool QueryPricingModelHasBeenSet() const { return m_queryPricingModelHasBeenSet; }
72 m_queryPricingModelHasBeenSet = true;
73 m_queryPricingModel = value;
74 }
77 return *this;
78 }
80
82
89 inline const QueryComputeRequest& GetQueryCompute() const { return m_queryCompute; }
90 inline bool QueryComputeHasBeenSet() const { return m_queryComputeHasBeenSet; }
91 template <typename QueryComputeT = QueryComputeRequest>
93 m_queryComputeHasBeenSet = true;
94 m_queryCompute = std::forward<QueryComputeT>(value);
95 }
96 template <typename QueryComputeT = QueryComputeRequest>
98 SetQueryCompute(std::forward<QueryComputeT>(value));
99 return *this;
100 }
102 private:
103 int m_maxQueryTCU{0};
104
106
107 QueryComputeRequest m_queryCompute;
108 bool m_maxQueryTCUHasBeenSet = false;
109 bool m_queryPricingModelHasBeenSet = false;
110 bool m_queryComputeHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace TimestreamQuery
115} // namespace Aws
AWS_TIMESTREAMQUERY_API UpdateAccountSettingsRequest()=default
AWS_TIMESTREAMQUERY_API Aws::String SerializePayload() const override
AWS_TIMESTREAMQUERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateAccountSettingsRequest & WithQueryCompute(QueryComputeT &&value)
UpdateAccountSettingsRequest & WithQueryPricingModel(QueryPricingModel value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String