AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AccountAggregation.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/SeverityCounts.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 imagebuilder
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_IMAGEBUILDER_API AccountAggregation() = default;
40 AWS_IMAGEBUILDER_API AccountAggregation(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetAccountId() const { return m_accountId; }
50 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
51 template<typename AccountIdT = Aws::String>
52 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
53 template<typename AccountIdT = Aws::String>
54 AccountAggregation& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
56
58
62 inline const SeverityCounts& GetSeverityCounts() const { return m_severityCounts; }
63 inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; }
64 template<typename SeverityCountsT = SeverityCounts>
65 void SetSeverityCounts(SeverityCountsT&& value) { m_severityCountsHasBeenSet = true; m_severityCounts = std::forward<SeverityCountsT>(value); }
66 template<typename SeverityCountsT = SeverityCounts>
67 AccountAggregation& WithSeverityCounts(SeverityCountsT&& value) { SetSeverityCounts(std::forward<SeverityCountsT>(value)); return *this;}
69 private:
70
71 Aws::String m_accountId;
72 bool m_accountIdHasBeenSet = false;
73
74 SeverityCounts m_severityCounts;
75 bool m_severityCountsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace imagebuilder
80} // namespace Aws
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AccountAggregation & WithAccountId(AccountIdT &&value)
void SetSeverityCounts(SeverityCountsT &&value)
AWS_IMAGEBUILDER_API AccountAggregation(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API AccountAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API AccountAggregation()=default
const SeverityCounts & GetSeverityCounts() const
AccountAggregation & WithSeverityCounts(SeverityCountsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue