AWS SDK for C++  1.9.103
AWS SDK for C++
DeleteArchiveRuleRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 #include <aws/core/utils/UUID.h>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace AccessAnalyzer
20 {
21 namespace Model
22 {
23 
30  {
31  public:
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::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline const Aws::String& GetAnalyzerName() const{ return m_analyzerName; }
49 
53  inline bool AnalyzerNameHasBeenSet() const { return m_analyzerNameHasBeenSet; }
54 
58  inline void SetAnalyzerName(const Aws::String& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = value; }
59 
63  inline void SetAnalyzerName(Aws::String&& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = std::move(value); }
64 
68  inline void SetAnalyzerName(const char* value) { m_analyzerNameHasBeenSet = true; m_analyzerName.assign(value); }
69 
73  inline DeleteArchiveRuleRequest& WithAnalyzerName(const Aws::String& value) { SetAnalyzerName(value); return *this;}
74 
78  inline DeleteArchiveRuleRequest& WithAnalyzerName(Aws::String&& value) { SetAnalyzerName(std::move(value)); return *this;}
79 
83  inline DeleteArchiveRuleRequest& WithAnalyzerName(const char* value) { SetAnalyzerName(value); return *this;}
84 
85 
89  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
90 
94  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
95 
99  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
100 
104  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
105 
109  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
110 
114  inline DeleteArchiveRuleRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
115 
119  inline DeleteArchiveRuleRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
120 
124  inline DeleteArchiveRuleRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
125 
126 
130  inline const Aws::String& GetRuleName() const{ return m_ruleName; }
131 
135  inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
136 
140  inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; }
141 
145  inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); }
146 
150  inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); }
151 
155  inline DeleteArchiveRuleRequest& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;}
156 
160  inline DeleteArchiveRuleRequest& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;}
161 
165  inline DeleteArchiveRuleRequest& WithRuleName(const char* value) { SetRuleName(value); return *this;}
166 
167  private:
168 
169  Aws::String m_analyzerName;
170  bool m_analyzerNameHasBeenSet;
171 
172  Aws::String m_clientToken;
173  bool m_clientTokenHasBeenSet;
174 
175  Aws::String m_ruleName;
176  bool m_ruleNameHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace AccessAnalyzer
181 } // namespace Aws
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::SetAnalyzerName
void SetAnalyzerName(const Aws::String &value)
Definition: DeleteArchiveRuleRequest.h:58
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Http::URI
Definition: URI.h:32
Aws::AccessAnalyzer::AccessAnalyzerRequest
Definition: AccessAnalyzerRequest.h:17
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::GetRuleName
const Aws::String & GetRuleName() const
Definition: DeleteArchiveRuleRequest.h:130
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: DeleteArchiveRuleRequest.h:94
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: DeleteArchiveRuleRequest.h:104
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteArchiveRuleRequest.h:38
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::WithAnalyzerName
DeleteArchiveRuleRequest & WithAnalyzerName(Aws::String &&value)
Definition: DeleteArchiveRuleRequest.h:78
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::AnalyzerNameHasBeenSet
bool AnalyzerNameHasBeenSet() const
Definition: DeleteArchiveRuleRequest.h:53
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::WithRuleName
DeleteArchiveRuleRequest & WithRuleName(const char *value)
Definition: DeleteArchiveRuleRequest.h:165
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::WithAnalyzerName
DeleteArchiveRuleRequest & WithAnalyzerName(const Aws::String &value)
Definition: DeleteArchiveRuleRequest.h:73
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest
Definition: DeleteArchiveRuleRequest.h:30
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::DeleteArchiveRuleRequest
DeleteArchiveRuleRequest()
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::WithClientToken
DeleteArchiveRuleRequest & WithClientToken(Aws::String &&value)
Definition: DeleteArchiveRuleRequest.h:119
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::SetClientToken
void SetClientToken(const char *value)
Definition: DeleteArchiveRuleRequest.h:109
AccessAnalyzerRequest.h
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::GetAnalyzerName
const Aws::String & GetAnalyzerName() const
Definition: DeleteArchiveRuleRequest.h:48
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::SetAnalyzerName
void SetAnalyzerName(Aws::String &&value)
Definition: DeleteArchiveRuleRequest.h:63
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: DeleteArchiveRuleRequest.h:99
AWSString.h
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::RuleNameHasBeenSet
bool RuleNameHasBeenSet() const
Definition: DeleteArchiveRuleRequest.h:135
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::SetRuleName
void SetRuleName(const Aws::String &value)
Definition: DeleteArchiveRuleRequest.h:140
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::SetAnalyzerName
void SetAnalyzerName(const char *value)
Definition: DeleteArchiveRuleRequest.h:68
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::WithClientToken
DeleteArchiveRuleRequest & WithClientToken(const char *value)
Definition: DeleteArchiveRuleRequest.h:124
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::WithClientToken
DeleteArchiveRuleRequest & WithClientToken(const Aws::String &value)
Definition: DeleteArchiveRuleRequest.h:114
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::WithRuleName
DeleteArchiveRuleRequest & WithRuleName(const Aws::String &value)
Definition: DeleteArchiveRuleRequest.h:155
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::WithAnalyzerName
DeleteArchiveRuleRequest & WithAnalyzerName(const char *value)
Definition: DeleteArchiveRuleRequest.h:83
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: DeleteArchiveRuleRequest.h:89
UUID.h
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::SetRuleName
void SetRuleName(Aws::String &&value)
Definition: DeleteArchiveRuleRequest.h:145
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::WithRuleName
DeleteArchiveRuleRequest & WithRuleName(Aws::String &&value)
Definition: DeleteArchiveRuleRequest.h:160
Aws::AccessAnalyzer::Model::DeleteArchiveRuleRequest::SetRuleName
void SetRuleName(const char *value)
Definition: DeleteArchiveRuleRequest.h:150