AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAnalyzerName(const Aws::String& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = value; }
52 inline void SetAnalyzerName(Aws::String&& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = std::move(value); }
53 inline void SetAnalyzerName(const char* value) { m_analyzerNameHasBeenSet = true; m_analyzerName.assign(value); }
54 inline DeleteArchiveRuleRequest& WithAnalyzerName(const Aws::String& value) { SetAnalyzerName(value); return *this;}
55 inline DeleteArchiveRuleRequest& WithAnalyzerName(Aws::String&& value) { SetAnalyzerName(std::move(value)); return *this;}
56 inline DeleteArchiveRuleRequest& WithAnalyzerName(const char* value) { SetAnalyzerName(value); return *this;}
58
60
63 inline const Aws::String& GetRuleName() const{ return m_ruleName; }
64 inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
65 inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; }
66 inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); }
67 inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); }
68 inline DeleteArchiveRuleRequest& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;}
69 inline DeleteArchiveRuleRequest& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;}
70 inline DeleteArchiveRuleRequest& WithRuleName(const char* value) { SetRuleName(value); return *this;}
72
74
77 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
78 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
79 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
80 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
81 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
82 inline DeleteArchiveRuleRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
83 inline DeleteArchiveRuleRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
84 inline DeleteArchiveRuleRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
86 private:
87
88 Aws::String m_analyzerName;
89 bool m_analyzerNameHasBeenSet = false;
90
91 Aws::String m_ruleName;
92 bool m_ruleNameHasBeenSet = false;
93
94 Aws::String m_clientToken;
95 bool m_clientTokenHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace AccessAnalyzer
100} // namespace Aws
DeleteArchiveRuleRequest & WithAnalyzerName(Aws::String &&value)
DeleteArchiveRuleRequest & WithRuleName(const Aws::String &value)
DeleteArchiveRuleRequest & WithClientToken(Aws::String &&value)
DeleteArchiveRuleRequest & WithAnalyzerName(const Aws::String &value)
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DeleteArchiveRuleRequest & WithClientToken(const Aws::String &value)
AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteArchiveRuleRequest & WithRuleName(Aws::String &&value)
DeleteArchiveRuleRequest & WithClientToken(const char *value)
DeleteArchiveRuleRequest & WithAnalyzerName(const char *value)
DeleteArchiveRuleRequest & WithRuleName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String