AWS SDK for C++  1.9.157
AWS SDK for C++
GetArchiveRuleResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace AccessAnalyzer
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
40 
41  inline const ArchiveRuleSummary& GetArchiveRule() const{ return m_archiveRule; }
42 
43 
44  inline void SetArchiveRule(const ArchiveRuleSummary& value) { m_archiveRule = value; }
45 
46 
47  inline void SetArchiveRule(ArchiveRuleSummary&& value) { m_archiveRule = std::move(value); }
48 
49 
50  inline GetArchiveRuleResult& WithArchiveRule(const ArchiveRuleSummary& value) { SetArchiveRule(value); return *this;}
51 
52 
53  inline GetArchiveRuleResult& WithArchiveRule(ArchiveRuleSummary&& value) { SetArchiveRule(std::move(value)); return *this;}
54 
55  private:
56 
57  ArchiveRuleSummary m_archiveRule;
58  };
59 
60 } // namespace Model
61 } // namespace AccessAnalyzer
62 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::GetArchiveRuleResult::SetArchiveRule
void SetArchiveRule(const ArchiveRuleSummary &value)
Definition: GetArchiveRuleResult.h:44
Aws::AccessAnalyzer::Model::GetArchiveRuleResult::GetArchiveRuleResult
GetArchiveRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::GetArchiveRuleResult::SetArchiveRule
void SetArchiveRule(ArchiveRuleSummary &&value)
Definition: GetArchiveRuleResult.h:47
Aws::AccessAnalyzer::Model::GetArchiveRuleResult
Definition: GetArchiveRuleResult.h:33
Aws::AccessAnalyzer::Model::ArchiveRuleSummary
Definition: ArchiveRuleSummary.h:35
Aws::AccessAnalyzer::Model::GetArchiveRuleResult::operator=
GetArchiveRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::AccessAnalyzer::Model::GetArchiveRuleResult::WithArchiveRule
GetArchiveRuleResult & WithArchiveRule(ArchiveRuleSummary &&value)
Definition: GetArchiveRuleResult.h:53
Aws
Definition: AccessManagementClient.h:15
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::GetArchiveRuleResult::GetArchiveRule
const ArchiveRuleSummary & GetArchiveRule() const
Definition: GetArchiveRuleResult.h:41
ArchiveRuleSummary.h
Aws::AccessAnalyzer::Model::GetArchiveRuleResult::GetArchiveRuleResult
GetArchiveRuleResult()
Aws::AccessAnalyzer::Model::GetArchiveRuleResult::WithArchiveRule
GetArchiveRuleResult & WithArchiveRule(const ArchiveRuleSummary &value)
Definition: GetArchiveRuleResult.h:50