AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AggregateComplianceByConformancePack.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/config/model/AggregateConformancePackCompliance.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConfigService
23{
24namespace Model
25{
26
42 {
43 public:
44 AWS_CONFIGSERVICE_API AggregateComplianceByConformancePack() = default;
47 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetConformancePackName() const { return m_conformancePackName; }
55 inline bool ConformancePackNameHasBeenSet() const { return m_conformancePackNameHasBeenSet; }
56 template<typename ConformancePackNameT = Aws::String>
57 void SetConformancePackName(ConformancePackNameT&& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = std::forward<ConformancePackNameT>(value); }
58 template<typename ConformancePackNameT = Aws::String>
59 AggregateComplianceByConformancePack& WithConformancePackName(ConformancePackNameT&& value) { SetConformancePackName(std::forward<ConformancePackNameT>(value)); return *this;}
61
63
66 inline const AggregateConformancePackCompliance& GetCompliance() const { return m_compliance; }
67 inline bool ComplianceHasBeenSet() const { return m_complianceHasBeenSet; }
68 template<typename ComplianceT = AggregateConformancePackCompliance>
69 void SetCompliance(ComplianceT&& value) { m_complianceHasBeenSet = true; m_compliance = std::forward<ComplianceT>(value); }
70 template<typename ComplianceT = AggregateConformancePackCompliance>
71 AggregateComplianceByConformancePack& WithCompliance(ComplianceT&& value) { SetCompliance(std::forward<ComplianceT>(value)); return *this;}
73
75
78 inline const Aws::String& GetAccountId() const { return m_accountId; }
79 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
80 template<typename AccountIdT = Aws::String>
81 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
82 template<typename AccountIdT = Aws::String>
83 AggregateComplianceByConformancePack& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
85
87
90 inline const Aws::String& GetAwsRegion() const { return m_awsRegion; }
91 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
92 template<typename AwsRegionT = Aws::String>
93 void SetAwsRegion(AwsRegionT&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::forward<AwsRegionT>(value); }
94 template<typename AwsRegionT = Aws::String>
95 AggregateComplianceByConformancePack& WithAwsRegion(AwsRegionT&& value) { SetAwsRegion(std::forward<AwsRegionT>(value)); return *this;}
97 private:
98
99 Aws::String m_conformancePackName;
100 bool m_conformancePackNameHasBeenSet = false;
101
103 bool m_complianceHasBeenSet = false;
104
105 Aws::String m_accountId;
106 bool m_accountIdHasBeenSet = false;
107
108 Aws::String m_awsRegion;
109 bool m_awsRegionHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace ConfigService
114} // namespace Aws
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API AggregateComplianceByConformancePack & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API AggregateComplianceByConformancePack()=default
AggregateComplianceByConformancePack & WithAccountId(AccountIdT &&value)
AggregateComplianceByConformancePack & WithConformancePackName(ConformancePackNameT &&value)
AWS_CONFIGSERVICE_API AggregateComplianceByConformancePack(Aws::Utils::Json::JsonView jsonValue)
AggregateComplianceByConformancePack & WithAwsRegion(AwsRegionT &&value)
AggregateComplianceByConformancePack & WithCompliance(ComplianceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue