AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteArchiveRuleRequest.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/AccessAnalyzerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace AccessAnalyzer
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_ACCESSANALYZER_API DeleteArchiveRuleRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "DeleteArchiveRule"; }
39
40 AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override;
41
42 AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
49 inline const Aws::String& GetAnalyzerName() const { return m_analyzerName; }
50 inline bool AnalyzerNameHasBeenSet() const { return m_analyzerNameHasBeenSet; }
51 template<typename AnalyzerNameT = Aws::String>
52 void SetAnalyzerName(AnalyzerNameT&& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = std::forward<AnalyzerNameT>(value); }
53 template<typename AnalyzerNameT = Aws::String>
54 DeleteArchiveRuleRequest& WithAnalyzerName(AnalyzerNameT&& value) { SetAnalyzerName(std::forward<AnalyzerNameT>(value)); return *this;}
56
58
61 inline const Aws::String& GetRuleName() const { return m_ruleName; }
62 inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
63 template<typename RuleNameT = Aws::String>
64 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::forward<RuleNameT>(value); }
65 template<typename RuleNameT = Aws::String>
66 DeleteArchiveRuleRequest& WithRuleName(RuleNameT&& value) { SetRuleName(std::forward<RuleNameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetClientToken() const { return m_clientToken; }
74 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
75 template<typename ClientTokenT = Aws::String>
76 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
77 template<typename ClientTokenT = Aws::String>
78 DeleteArchiveRuleRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
80 private:
81
82 Aws::String m_analyzerName;
83 bool m_analyzerNameHasBeenSet = false;
84
85 Aws::String m_ruleName;
86 bool m_ruleNameHasBeenSet = false;
87
89 bool m_clientTokenHasBeenSet = true;
90 };
91
92} // namespace Model
93} // namespace AccessAnalyzer
94} // 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