AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
UpdateCollectionGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
10#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
11#include <aws/opensearchserverless/model/CollectionGroupCapacityLimits.h>
12
13#include <utility>
14
15namespace Aws {
16namespace OpenSearchServerless {
17namespace Model {
18
22 public:
23 AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateCollectionGroup"; }
30
31 AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override;
32
33 AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template <typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) {
61 m_descriptionHasBeenSet = true;
62 m_description = std::forward<DescriptionT>(value);
63 }
64 template <typename DescriptionT = Aws::String>
66 SetDescription(std::forward<DescriptionT>(value));
67 return *this;
68 }
70
72
76 inline const CollectionGroupCapacityLimits& GetCapacityLimits() const { return m_capacityLimits; }
77 inline bool CapacityLimitsHasBeenSet() const { return m_capacityLimitsHasBeenSet; }
78 template <typename CapacityLimitsT = CollectionGroupCapacityLimits>
79 void SetCapacityLimits(CapacityLimitsT&& value) {
80 m_capacityLimitsHasBeenSet = true;
81 m_capacityLimits = std::forward<CapacityLimitsT>(value);
82 }
83 template <typename CapacityLimitsT = CollectionGroupCapacityLimits>
85 SetCapacityLimits(std::forward<CapacityLimitsT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetClientToken() const { return m_clientToken; }
95 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
96 template <typename ClientTokenT = Aws::String>
97 void SetClientToken(ClientTokenT&& value) {
98 m_clientTokenHasBeenSet = true;
99 m_clientToken = std::forward<ClientTokenT>(value);
100 }
101 template <typename ClientTokenT = Aws::String>
103 SetClientToken(std::forward<ClientTokenT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_id;
109
110 Aws::String m_description;
111
112 CollectionGroupCapacityLimits m_capacityLimits;
113
115 bool m_idHasBeenSet = false;
116 bool m_descriptionHasBeenSet = false;
117 bool m_capacityLimitsHasBeenSet = false;
118 bool m_clientTokenHasBeenSet = true;
119};
120
121} // namespace Model
122} // namespace OpenSearchServerless
123} // namespace Aws
UpdateCollectionGroupRequest & WithDescription(DescriptionT &&value)
UpdateCollectionGroupRequest & WithCapacityLimits(CapacityLimitsT &&value)
UpdateCollectionGroupRequest & WithClientToken(ClientTokenT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupRequest()=default
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String