AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConformancePackName(const Aws::String& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = value; }
57 inline void SetConformancePackName(Aws::String&& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = std::move(value); }
58 inline void SetConformancePackName(const char* value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName.assign(value); }
63
65
68 inline const AggregateConformancePackCompliance& GetCompliance() const{ return m_compliance; }
69 inline bool ComplianceHasBeenSet() const { return m_complianceHasBeenSet; }
70 inline void SetCompliance(const AggregateConformancePackCompliance& value) { m_complianceHasBeenSet = true; m_compliance = value; }
71 inline void SetCompliance(AggregateConformancePackCompliance&& value) { m_complianceHasBeenSet = true; m_compliance = std::move(value); }
75
77
80 inline const Aws::String& GetAccountId() const{ return m_accountId; }
81 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
82 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
83 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
84 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
85 inline AggregateComplianceByConformancePack& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
86 inline AggregateComplianceByConformancePack& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
87 inline AggregateComplianceByConformancePack& WithAccountId(const char* value) { SetAccountId(value); return *this;}
89
91
94 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
95 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
96 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
97 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
98 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
99 inline AggregateComplianceByConformancePack& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
100 inline AggregateComplianceByConformancePack& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
101 inline AggregateComplianceByConformancePack& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
103 private:
104
105 Aws::String m_conformancePackName;
106 bool m_conformancePackNameHasBeenSet = false;
107
109 bool m_complianceHasBeenSet = false;
110
111 Aws::String m_accountId;
112 bool m_accountIdHasBeenSet = false;
113
114 Aws::String m_awsRegion;
115 bool m_awsRegionHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace ConfigService
120} // namespace Aws
AggregateComplianceByConformancePack & WithAwsRegion(Aws::String &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API AggregateComplianceByConformancePack & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregateComplianceByConformancePack & WithAccountId(const char *value)
AggregateComplianceByConformancePack & WithConformancePackName(const char *value)
AggregateComplianceByConformancePack & WithAwsRegion(const char *value)
AggregateComplianceByConformancePack & WithCompliance(AggregateConformancePackCompliance &&value)
AggregateComplianceByConformancePack & WithAccountId(Aws::String &&value)
AggregateComplianceByConformancePack & WithConformancePackName(const Aws::String &value)
AggregateComplianceByConformancePack & WithAccountId(const Aws::String &value)
AWS_CONFIGSERVICE_API AggregateComplianceByConformancePack(Aws::Utils::Json::JsonView jsonValue)
AggregateComplianceByConformancePack & WithCompliance(const AggregateConformancePackCompliance &value)
AggregateComplianceByConformancePack & WithConformancePackName(Aws::String &&value)
AggregateComplianceByConformancePack & WithAwsRegion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue