AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAccountSettingsRequest.h
1
6#pragma once
7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
9#include <aws/opensearchserverless/model/CapacityLimits.h>
10#include <utility>
11
12namespace Aws
13{
14namespace OpenSearchServerless
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_OPENSEARCHSERVERLESS_API UpdateAccountSettingsRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateAccountSettings"; }
31
32 AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override;
33
34 AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
39 inline const CapacityLimits& GetCapacityLimits() const{ return m_capacityLimits; }
40 inline bool CapacityLimitsHasBeenSet() const { return m_capacityLimitsHasBeenSet; }
41 inline void SetCapacityLimits(const CapacityLimits& value) { m_capacityLimitsHasBeenSet = true; m_capacityLimits = value; }
42 inline void SetCapacityLimits(CapacityLimits&& value) { m_capacityLimitsHasBeenSet = true; m_capacityLimits = std::move(value); }
44 inline UpdateAccountSettingsRequest& WithCapacityLimits(CapacityLimits&& value) { SetCapacityLimits(std::move(value)); return *this;}
46 private:
47
48 CapacityLimits m_capacityLimits;
49 bool m_capacityLimitsHasBeenSet = false;
50 };
51
52} // namespace Model
53} // namespace OpenSearchServerless
54} // namespace Aws
UpdateAccountSettingsRequest & WithCapacityLimits(CapacityLimits &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateAccountSettingsRequest & WithCapacityLimits(const CapacityLimits &value)
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String