AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
TrendsValues.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/SeverityTrendsCount.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
29 public:
30 AWS_SECURITYHUB_API TrendsValues() = default;
31 AWS_SECURITYHUB_API TrendsValues(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYHUB_API TrendsValues& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const SeverityTrendsCount& GetSeverityTrends() const { return m_severityTrends; }
41 inline bool SeverityTrendsHasBeenSet() const { return m_severityTrendsHasBeenSet; }
42 template <typename SeverityTrendsT = SeverityTrendsCount>
43 void SetSeverityTrends(SeverityTrendsT&& value) {
44 m_severityTrendsHasBeenSet = true;
45 m_severityTrends = std::forward<SeverityTrendsT>(value);
46 }
47 template <typename SeverityTrendsT = SeverityTrendsCount>
48 TrendsValues& WithSeverityTrends(SeverityTrendsT&& value) {
49 SetSeverityTrends(std::forward<SeverityTrendsT>(value));
50 return *this;
51 }
53 private:
54 SeverityTrendsCount m_severityTrends;
55 bool m_severityTrendsHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace SecurityHub
60} // namespace Aws
Aws::Utils::Json::JsonValue JsonValue