AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AggregateComplianceCount.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/ComplianceSummary.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
34 {
35 public:
36 AWS_CONFIGSERVICE_API AggregateComplianceCount();
37 AWS_CONFIGSERVICE_API AggregateComplianceCount(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetGroupName() const{ return m_groupName; }
47 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
48 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
49 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
50 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
51 inline AggregateComplianceCount& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
52 inline AggregateComplianceCount& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
53 inline AggregateComplianceCount& WithGroupName(const char* value) { SetGroupName(value); return *this;}
55
57
60 inline const ComplianceSummary& GetComplianceSummary() const{ return m_complianceSummary; }
61 inline bool ComplianceSummaryHasBeenSet() const { return m_complianceSummaryHasBeenSet; }
62 inline void SetComplianceSummary(const ComplianceSummary& value) { m_complianceSummaryHasBeenSet = true; m_complianceSummary = value; }
63 inline void SetComplianceSummary(ComplianceSummary&& value) { m_complianceSummaryHasBeenSet = true; m_complianceSummary = std::move(value); }
65 inline AggregateComplianceCount& WithComplianceSummary(ComplianceSummary&& value) { SetComplianceSummary(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_groupName;
70 bool m_groupNameHasBeenSet = false;
71
72 ComplianceSummary m_complianceSummary;
73 bool m_complianceSummaryHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ConfigService
78} // namespace Aws
AWS_CONFIGSERVICE_API AggregateComplianceCount & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregateComplianceCount & WithComplianceSummary(ComplianceSummary &&value)
AggregateComplianceCount & WithGroupName(Aws::String &&value)
AggregateComplianceCount & WithComplianceSummary(const ComplianceSummary &value)
AggregateComplianceCount & WithGroupName(const Aws::String &value)
AggregateComplianceCount & WithGroupName(const char *value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetComplianceSummary(const ComplianceSummary &value)
AWS_CONFIGSERVICE_API AggregateComplianceCount(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue