AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
DeleteClusterRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dsql/DSQLRequest.h>
10#include <aws/dsql/DSQL_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace DSQL {
19namespace Model {
20
24 public:
25 AWS_DSQL_API DeleteClusterRequest() = 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 "DeleteCluster"; }
32
33 AWS_DSQL_API Aws::String SerializePayload() const override;
34
35 AWS_DSQL_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetIdentifier() const { return m_identifier; }
42 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
43 template <typename IdentifierT = Aws::String>
44 void SetIdentifier(IdentifierT&& value) {
45 m_identifierHasBeenSet = true;
46 m_identifier = std::forward<IdentifierT>(value);
47 }
48 template <typename IdentifierT = Aws::String>
49 DeleteClusterRequest& WithIdentifier(IdentifierT&& value) {
50 SetIdentifier(std::forward<IdentifierT>(value));
51 return *this;
52 }
54
56
65 inline const Aws::String& GetClientToken() const { return m_clientToken; }
66 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
67 template <typename ClientTokenT = Aws::String>
68 void SetClientToken(ClientTokenT&& value) {
69 m_clientTokenHasBeenSet = true;
70 m_clientToken = std::forward<ClientTokenT>(value);
71 }
72 template <typename ClientTokenT = Aws::String>
73 DeleteClusterRequest& WithClientToken(ClientTokenT&& value) {
74 SetClientToken(std::forward<ClientTokenT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_identifier;
80
82 bool m_identifierHasBeenSet = false;
83 bool m_clientTokenHasBeenSet = true;
84};
85
86} // namespace Model
87} // namespace DSQL
88} // namespace Aws
const Aws::String & GetClientToken() const
AWS_DSQL_API DeleteClusterRequest()=default
DeleteClusterRequest & WithClientToken(ClientTokenT &&value)
DeleteClusterRequest & WithIdentifier(IdentifierT &&value)
AWS_DSQL_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetIdentifier() const
AWS_DSQL_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String