AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CisCheckAggregation.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/CisSecurityLevel.h>
10#include <aws/inspector2/model/StatusCounts.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Inspector2
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_INSPECTOR2_API CisCheckAggregation();
37 AWS_INSPECTOR2_API CisCheckAggregation(Aws::Utils::Json::JsonView jsonValue);
39 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAccountId() const{ return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
49 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
50 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
51 inline CisCheckAggregation& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
52 inline CisCheckAggregation& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
53 inline CisCheckAggregation& WithAccountId(const char* value) { SetAccountId(value); return *this;}
55
57
60 inline const Aws::String& GetCheckDescription() const{ return m_checkDescription; }
61 inline bool CheckDescriptionHasBeenSet() const { return m_checkDescriptionHasBeenSet; }
62 inline void SetCheckDescription(const Aws::String& value) { m_checkDescriptionHasBeenSet = true; m_checkDescription = value; }
63 inline void SetCheckDescription(Aws::String&& value) { m_checkDescriptionHasBeenSet = true; m_checkDescription = std::move(value); }
64 inline void SetCheckDescription(const char* value) { m_checkDescriptionHasBeenSet = true; m_checkDescription.assign(value); }
65 inline CisCheckAggregation& WithCheckDescription(const Aws::String& value) { SetCheckDescription(value); return *this;}
66 inline CisCheckAggregation& WithCheckDescription(Aws::String&& value) { SetCheckDescription(std::move(value)); return *this;}
67 inline CisCheckAggregation& WithCheckDescription(const char* value) { SetCheckDescription(value); return *this;}
69
71
74 inline const Aws::String& GetCheckId() const{ return m_checkId; }
75 inline bool CheckIdHasBeenSet() const { return m_checkIdHasBeenSet; }
76 inline void SetCheckId(const Aws::String& value) { m_checkIdHasBeenSet = true; m_checkId = value; }
77 inline void SetCheckId(Aws::String&& value) { m_checkIdHasBeenSet = true; m_checkId = std::move(value); }
78 inline void SetCheckId(const char* value) { m_checkIdHasBeenSet = true; m_checkId.assign(value); }
79 inline CisCheckAggregation& WithCheckId(const Aws::String& value) { SetCheckId(value); return *this;}
80 inline CisCheckAggregation& WithCheckId(Aws::String&& value) { SetCheckId(std::move(value)); return *this;}
81 inline CisCheckAggregation& WithCheckId(const char* value) { SetCheckId(value); return *this;}
83
85
88 inline const CisSecurityLevel& GetLevel() const{ return m_level; }
89 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
90 inline void SetLevel(const CisSecurityLevel& value) { m_levelHasBeenSet = true; m_level = value; }
91 inline void SetLevel(CisSecurityLevel&& value) { m_levelHasBeenSet = true; m_level = std::move(value); }
92 inline CisCheckAggregation& WithLevel(const CisSecurityLevel& value) { SetLevel(value); return *this;}
93 inline CisCheckAggregation& WithLevel(CisSecurityLevel&& value) { SetLevel(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetPlatform() const{ return m_platform; }
101 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
102 inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; }
103 inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
104 inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); }
105 inline CisCheckAggregation& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;}
106 inline CisCheckAggregation& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;}
107 inline CisCheckAggregation& WithPlatform(const char* value) { SetPlatform(value); return *this;}
109
111
114 inline const Aws::String& GetScanArn() const{ return m_scanArn; }
115 inline bool ScanArnHasBeenSet() const { return m_scanArnHasBeenSet; }
116 inline void SetScanArn(const Aws::String& value) { m_scanArnHasBeenSet = true; m_scanArn = value; }
117 inline void SetScanArn(Aws::String&& value) { m_scanArnHasBeenSet = true; m_scanArn = std::move(value); }
118 inline void SetScanArn(const char* value) { m_scanArnHasBeenSet = true; m_scanArn.assign(value); }
119 inline CisCheckAggregation& WithScanArn(const Aws::String& value) { SetScanArn(value); return *this;}
120 inline CisCheckAggregation& WithScanArn(Aws::String&& value) { SetScanArn(std::move(value)); return *this;}
121 inline CisCheckAggregation& WithScanArn(const char* value) { SetScanArn(value); return *this;}
123
125
128 inline const StatusCounts& GetStatusCounts() const{ return m_statusCounts; }
129 inline bool StatusCountsHasBeenSet() const { return m_statusCountsHasBeenSet; }
130 inline void SetStatusCounts(const StatusCounts& value) { m_statusCountsHasBeenSet = true; m_statusCounts = value; }
131 inline void SetStatusCounts(StatusCounts&& value) { m_statusCountsHasBeenSet = true; m_statusCounts = std::move(value); }
132 inline CisCheckAggregation& WithStatusCounts(const StatusCounts& value) { SetStatusCounts(value); return *this;}
133 inline CisCheckAggregation& WithStatusCounts(StatusCounts&& value) { SetStatusCounts(std::move(value)); return *this;}
135
137
140 inline const Aws::String& GetTitle() const{ return m_title; }
141 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
142 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
143 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
144 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
145 inline CisCheckAggregation& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
146 inline CisCheckAggregation& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
147 inline CisCheckAggregation& WithTitle(const char* value) { SetTitle(value); return *this;}
149 private:
150
151 Aws::String m_accountId;
152 bool m_accountIdHasBeenSet = false;
153
154 Aws::String m_checkDescription;
155 bool m_checkDescriptionHasBeenSet = false;
156
157 Aws::String m_checkId;
158 bool m_checkIdHasBeenSet = false;
159
160 CisSecurityLevel m_level;
161 bool m_levelHasBeenSet = false;
162
163 Aws::String m_platform;
164 bool m_platformHasBeenSet = false;
165
166 Aws::String m_scanArn;
167 bool m_scanArnHasBeenSet = false;
168
169 StatusCounts m_statusCounts;
170 bool m_statusCountsHasBeenSet = false;
171
172 Aws::String m_title;
173 bool m_titleHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace Inspector2
178} // namespace Aws
CisCheckAggregation & WithStatusCounts(const StatusCounts &value)
CisCheckAggregation & WithAccountId(const char *value)
CisCheckAggregation & WithLevel(CisSecurityLevel &&value)
CisCheckAggregation & WithCheckDescription(Aws::String &&value)
CisCheckAggregation & WithTitle(const Aws::String &value)
CisCheckAggregation & WithCheckId(Aws::String &&value)
CisCheckAggregation & WithAccountId(Aws::String &&value)
CisCheckAggregation & WithPlatform(Aws::String &&value)
AWS_INSPECTOR2_API CisCheckAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatusCounts(const StatusCounts &value)
void SetCheckDescription(const Aws::String &value)
CisCheckAggregation & WithStatusCounts(StatusCounts &&value)
CisCheckAggregation & WithCheckDescription(const Aws::String &value)
CisCheckAggregation & WithCheckDescription(const char *value)
CisCheckAggregation & WithLevel(const CisSecurityLevel &value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
CisCheckAggregation & WithTitle(const char *value)
CisCheckAggregation & WithScanArn(Aws::String &&value)
void SetAccountId(const Aws::String &value)
CisCheckAggregation & WithPlatform(const Aws::String &value)
AWS_INSPECTOR2_API CisCheckAggregation(Aws::Utils::Json::JsonView jsonValue)
void SetLevel(const CisSecurityLevel &value)
CisCheckAggregation & WithTitle(Aws::String &&value)
CisCheckAggregation & WithCheckId(const Aws::String &value)
CisCheckAggregation & WithScanArn(const char *value)
CisCheckAggregation & WithPlatform(const char *value)
CisCheckAggregation & WithScanArn(const Aws::String &value)
const CisSecurityLevel & GetLevel() const
CisCheckAggregation & WithCheckId(const char *value)
CisCheckAggregation & WithAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue