AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplyArchiveRuleRequest.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 AccessAnalyzer
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_ACCESSANALYZER_API ApplyArchiveRuleRequest();
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 "ApplyArchiveRule"; }
35
36 AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetAnalyzerArn() const{ return m_analyzerArn; }
44 inline bool AnalyzerArnHasBeenSet() const { return m_analyzerArnHasBeenSet; }
45 inline void SetAnalyzerArn(const Aws::String& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = value; }
46 inline void SetAnalyzerArn(Aws::String&& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = std::move(value); }
47 inline void SetAnalyzerArn(const char* value) { m_analyzerArnHasBeenSet = true; m_analyzerArn.assign(value); }
48 inline ApplyArchiveRuleRequest& WithAnalyzerArn(const Aws::String& value) { SetAnalyzerArn(value); return *this;}
49 inline ApplyArchiveRuleRequest& WithAnalyzerArn(Aws::String&& value) { SetAnalyzerArn(std::move(value)); return *this;}
50 inline ApplyArchiveRuleRequest& WithAnalyzerArn(const char* value) { SetAnalyzerArn(value); return *this;}
52
54
57 inline const Aws::String& GetRuleName() const{ return m_ruleName; }
58 inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
59 inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; }
60 inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); }
61 inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); }
62 inline ApplyArchiveRuleRequest& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;}
63 inline ApplyArchiveRuleRequest& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;}
64 inline ApplyArchiveRuleRequest& WithRuleName(const char* value) { SetRuleName(value); return *this;}
66
68
71 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
72 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
73 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
74 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
75 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
76 inline ApplyArchiveRuleRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
77 inline ApplyArchiveRuleRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
78 inline ApplyArchiveRuleRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
80 private:
81
82 Aws::String m_analyzerArn;
83 bool m_analyzerArnHasBeenSet = false;
84
85 Aws::String m_ruleName;
86 bool m_ruleNameHasBeenSet = false;
87
88 Aws::String m_clientToken;
89 bool m_clientTokenHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace AccessAnalyzer
94} // namespace Aws
ApplyArchiveRuleRequest & WithRuleName(const char *value)
ApplyArchiveRuleRequest & WithClientToken(const Aws::String &value)
ApplyArchiveRuleRequest & WithRuleName(const Aws::String &value)
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
ApplyArchiveRuleRequest & WithClientToken(const char *value)
ApplyArchiveRuleRequest & WithAnalyzerArn(const char *value)
ApplyArchiveRuleRequest & WithAnalyzerArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ApplyArchiveRuleRequest & WithRuleName(Aws::String &&value)
ApplyArchiveRuleRequest & WithAnalyzerArn(Aws::String &&value)
ApplyArchiveRuleRequest & WithClientToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String