AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
DeleteClusterPolicyRequest.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 DeleteClusterPolicyRequest() = 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 "DeleteClusterPolicy"; }
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
39 inline const Aws::String& GetIdentifier() const { return m_identifier; }
40 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
41 template <typename IdentifierT = Aws::String>
42 void SetIdentifier(IdentifierT&& value) {
43 m_identifierHasBeenSet = true;
44 m_identifier = std::forward<IdentifierT>(value);
45 }
46 template <typename IdentifierT = Aws::String>
48 SetIdentifier(std::forward<IdentifierT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetExpectedPolicyVersion() const { return m_expectedPolicyVersion; }
60 inline bool ExpectedPolicyVersionHasBeenSet() const { return m_expectedPolicyVersionHasBeenSet; }
61 template <typename ExpectedPolicyVersionT = Aws::String>
62 void SetExpectedPolicyVersion(ExpectedPolicyVersionT&& value) {
63 m_expectedPolicyVersionHasBeenSet = true;
64 m_expectedPolicyVersion = std::forward<ExpectedPolicyVersionT>(value);
65 }
66 template <typename ExpectedPolicyVersionT = Aws::String>
67 DeleteClusterPolicyRequest& WithExpectedPolicyVersion(ExpectedPolicyVersionT&& value) {
68 SetExpectedPolicyVersion(std::forward<ExpectedPolicyVersionT>(value));
69 return *this;
70 }
72
74
75 inline const Aws::String& GetClientToken() const { return m_clientToken; }
76 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
77 template <typename ClientTokenT = Aws::String>
78 void SetClientToken(ClientTokenT&& value) {
79 m_clientTokenHasBeenSet = true;
80 m_clientToken = std::forward<ClientTokenT>(value);
81 }
82 template <typename ClientTokenT = Aws::String>
84 SetClientToken(std::forward<ClientTokenT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_identifier;
90
91 Aws::String m_expectedPolicyVersion;
92
94 bool m_identifierHasBeenSet = false;
95 bool m_expectedPolicyVersionHasBeenSet = false;
96 bool m_clientTokenHasBeenSet = true;
97};
98
99} // namespace Model
100} // namespace DSQL
101} // namespace Aws
AWS_DSQL_API DeleteClusterPolicyRequest()=default
AWS_DSQL_API Aws::String SerializePayload() const override
DeleteClusterPolicyRequest & WithClientToken(ClientTokenT &&value)
DeleteClusterPolicyRequest & WithExpectedPolicyVersion(ExpectedPolicyVersionT &&value)
AWS_DSQL_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetExpectedPolicyVersion(ExpectedPolicyVersionT &&value)
virtual const char * GetServiceRequestName() const override
DeleteClusterPolicyRequest & WithIdentifier(IdentifierT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String