AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeleteArchiveRuleRequest.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzerRequest.h>
8#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
9#include <aws/core/utils/UUID.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace AccessAnalyzer {
19namespace Model {
20
27 public:
28 AWS_ACCESSANALYZER_API DeleteArchiveRuleRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteArchiveRule"; }
35
36 AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override;
37
38 AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
44 inline const Aws::String& GetAnalyzerName() const { return m_analyzerName; }
45 inline bool AnalyzerNameHasBeenSet() const { return m_analyzerNameHasBeenSet; }
46 template <typename AnalyzerNameT = Aws::String>
47 void SetAnalyzerName(AnalyzerNameT&& value) {
48 m_analyzerNameHasBeenSet = true;
49 m_analyzerName = std::forward<AnalyzerNameT>(value);
50 }
51 template <typename AnalyzerNameT = Aws::String>
53 SetAnalyzerName(std::forward<AnalyzerNameT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetRuleName() const { return m_ruleName; }
63 inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
64 template <typename RuleNameT = Aws::String>
65 void SetRuleName(RuleNameT&& value) {
66 m_ruleNameHasBeenSet = true;
67 m_ruleName = std::forward<RuleNameT>(value);
68 }
69 template <typename RuleNameT = Aws::String>
71 SetRuleName(std::forward<RuleNameT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetClientToken() const { return m_clientToken; }
81 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
82 template <typename ClientTokenT = Aws::String>
83 void SetClientToken(ClientTokenT&& value) {
84 m_clientTokenHasBeenSet = true;
85 m_clientToken = std::forward<ClientTokenT>(value);
86 }
87 template <typename ClientTokenT = Aws::String>
89 SetClientToken(std::forward<ClientTokenT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_analyzerName;
95
96 Aws::String m_ruleName;
97
99 bool m_analyzerNameHasBeenSet = false;
100 bool m_ruleNameHasBeenSet = false;
101 bool m_clientTokenHasBeenSet = true;
102};
103
104} // namespace Model
105} // namespace AccessAnalyzer
106} // namespace Aws
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteArchiveRuleRequest & WithAnalyzerName(AnalyzerNameT &&value)
AWS_ACCESSANALYZER_API DeleteArchiveRuleRequest()=default
DeleteArchiveRuleRequest & WithRuleName(RuleNameT &&value)
DeleteArchiveRuleRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String