AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
52 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
53 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
54 inline AccountAggregation& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
55 inline AccountAggregation& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
56 inline AccountAggregation& WithAccountId(const char* value) { SetAccountId(value); return *this;}
58
60
64 inline const SeverityCounts& GetSeverityCounts() const{ return m_severityCounts; }
65 inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; }
66 inline void SetSeverityCounts(const SeverityCounts& value) { m_severityCountsHasBeenSet = true; m_severityCounts = value; }
67 inline void SetSeverityCounts(SeverityCounts&& value) { m_severityCountsHasBeenSet = true; m_severityCounts = std::move(value); }
68 inline AccountAggregation& WithSeverityCounts(const SeverityCounts& value) { SetSeverityCounts(value); return *this;}
69 inline AccountAggregation& WithSeverityCounts(SeverityCounts&& value) { SetSeverityCounts(std::move(value)); return *this;}
71 private:
72
73 Aws::String m_accountId;
74 bool m_accountIdHasBeenSet = false;
75
76 SeverityCounts m_severityCounts;
77 bool m_severityCountsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace imagebuilder
82} // namespace Aws
void SetSeverityCounts(const SeverityCounts &value)
AccountAggregation & WithAccountId(const char *value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AccountAggregation & WithAccountId(const Aws::String &value)
AWS_IMAGEBUILDER_API AccountAggregation(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API AccountAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountAggregation & WithSeverityCounts(SeverityCounts &&value)
AccountAggregation & WithSeverityCounts(const SeverityCounts &value)
AccountAggregation & WithAccountId(Aws::String &&value)
const SeverityCounts & GetSeverityCounts() const
void SetAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue