AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateAccountSettingsRequest.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/timestream-query/TimestreamQueryRequest.h>
9#include <aws/timestream-query/model/QueryPricingModel.h>
10#include <aws/timestream-query/model/QueryComputeRequest.h>
11#include <utility>
12
13namespace Aws
14{
15namespace TimestreamQuery
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TIMESTREAMQUERY_API UpdateAccountSettingsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateAccountSettings"; }
32
33 AWS_TIMESTREAMQUERY_API Aws::String SerializePayload() const override;
34
35 AWS_TIMESTREAMQUERY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
54 inline int GetMaxQueryTCU() const { return m_maxQueryTCU; }
55 inline bool MaxQueryTCUHasBeenSet() const { return m_maxQueryTCUHasBeenSet; }
56 inline void SetMaxQueryTCU(int value) { m_maxQueryTCUHasBeenSet = true; m_maxQueryTCU = value; }
57 inline UpdateAccountSettingsRequest& WithMaxQueryTCU(int value) { SetMaxQueryTCU(value); return *this;}
59
61
67 inline QueryPricingModel GetQueryPricingModel() const { return m_queryPricingModel; }
68 inline bool QueryPricingModelHasBeenSet() const { return m_queryPricingModelHasBeenSet; }
69 inline void SetQueryPricingModel(QueryPricingModel value) { m_queryPricingModelHasBeenSet = true; m_queryPricingModel = value; }
72
74
81 inline const QueryComputeRequest& GetQueryCompute() const { return m_queryCompute; }
82 inline bool QueryComputeHasBeenSet() const { return m_queryComputeHasBeenSet; }
83 template<typename QueryComputeT = QueryComputeRequest>
84 void SetQueryCompute(QueryComputeT&& value) { m_queryComputeHasBeenSet = true; m_queryCompute = std::forward<QueryComputeT>(value); }
85 template<typename QueryComputeT = QueryComputeRequest>
86 UpdateAccountSettingsRequest& WithQueryCompute(QueryComputeT&& value) { SetQueryCompute(std::forward<QueryComputeT>(value)); return *this;}
88 private:
89
90 int m_maxQueryTCU{0};
91 bool m_maxQueryTCUHasBeenSet = false;
92
94 bool m_queryPricingModelHasBeenSet = false;
95
96 QueryComputeRequest m_queryCompute;
97 bool m_queryComputeHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace TimestreamQuery
102} // 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