AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DeleteCollectionRequest.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
12#include <utility>
13
14namespace Aws {
15namespace OpenSearchServerless {
16namespace Model {
17
21 public:
22 AWS_OPENSEARCHSERVERLESS_API DeleteCollectionRequest() = 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 "DeleteCollection"; }
29
30 AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override;
31
32 AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetClientToken() const { return m_clientToken; }
61 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
62 template <typename ClientTokenT = Aws::String>
63 void SetClientToken(ClientTokenT&& value) {
64 m_clientTokenHasBeenSet = true;
65 m_clientToken = std::forward<ClientTokenT>(value);
66 }
67 template <typename ClientTokenT = Aws::String>
69 SetClientToken(std::forward<ClientTokenT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_id;
75
77 bool m_idHasBeenSet = false;
78 bool m_clientTokenHasBeenSet = true;
79};
80
81} // namespace Model
82} // namespace OpenSearchServerless
83} // namespace Aws
AWS_OPENSEARCHSERVERLESS_API DeleteCollectionRequest()=default
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
DeleteCollectionRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String