AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
AggregateComplianceByConfigRule.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/Compliance.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ConfigService {
21namespace Model {
22
32 public:
33 AWS_CONFIGSERVICE_API AggregateComplianceByConfigRule() = default;
36 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetConfigRuleName() const { return m_configRuleName; }
43 inline bool ConfigRuleNameHasBeenSet() const { return m_configRuleNameHasBeenSet; }
44 template <typename ConfigRuleNameT = Aws::String>
45 void SetConfigRuleName(ConfigRuleNameT&& value) {
46 m_configRuleNameHasBeenSet = true;
47 m_configRuleName = std::forward<ConfigRuleNameT>(value);
48 }
49 template <typename ConfigRuleNameT = Aws::String>
51 SetConfigRuleName(std::forward<ConfigRuleNameT>(value));
52 return *this;
53 }
55
57
61 inline const Compliance& GetCompliance() const { return m_compliance; }
62 inline bool ComplianceHasBeenSet() const { return m_complianceHasBeenSet; }
63 template <typename ComplianceT = Compliance>
64 void SetCompliance(ComplianceT&& value) {
65 m_complianceHasBeenSet = true;
66 m_compliance = std::forward<ComplianceT>(value);
67 }
68 template <typename ComplianceT = Compliance>
70 SetCompliance(std::forward<ComplianceT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetAccountId() const { return m_accountId; }
80 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
81 template <typename AccountIdT = Aws::String>
82 void SetAccountId(AccountIdT&& value) {
83 m_accountIdHasBeenSet = true;
84 m_accountId = std::forward<AccountIdT>(value);
85 }
86 template <typename AccountIdT = Aws::String>
88 SetAccountId(std::forward<AccountIdT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetAwsRegion() const { return m_awsRegion; }
98 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
99 template <typename AwsRegionT = Aws::String>
100 void SetAwsRegion(AwsRegionT&& value) {
101 m_awsRegionHasBeenSet = true;
102 m_awsRegion = std::forward<AwsRegionT>(value);
103 }
104 template <typename AwsRegionT = Aws::String>
106 SetAwsRegion(std::forward<AwsRegionT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_configRuleName;
112
113 Compliance m_compliance;
114
115 Aws::String m_accountId;
116
117 Aws::String m_awsRegion;
118 bool m_configRuleNameHasBeenSet = false;
119 bool m_complianceHasBeenSet = false;
120 bool m_accountIdHasBeenSet = false;
121 bool m_awsRegionHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace ConfigService
126} // namespace Aws
AggregateComplianceByConfigRule & WithAccountId(AccountIdT &&value)
AggregateComplianceByConfigRule & WithConfigRuleName(ConfigRuleNameT &&value)
AWS_CONFIGSERVICE_API AggregateComplianceByConfigRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API AggregateComplianceByConfigRule(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API AggregateComplianceByConfigRule()=default
AggregateComplianceByConfigRule & WithAwsRegion(AwsRegionT &&value)
AggregateComplianceByConfigRule & WithCompliance(ComplianceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue