AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
NotificationSummary.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/model/LensUpgradeSummary.h>
9#include <aws/wellarchitected/model/NotificationType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace WellArchitected {
21namespace Model {
22
29 public:
30 AWS_WELLARCHITECTED_API NotificationSummary() = default;
31 AWS_WELLARCHITECTED_API NotificationSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_WELLARCHITECTED_API NotificationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline NotificationType GetType() const { return m_type; }
40 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
41 inline void SetType(NotificationType value) {
42 m_typeHasBeenSet = true;
43 m_type = value;
44 }
46 SetType(value);
47 return *this;
48 }
50
52
55 inline const LensUpgradeSummary& GetLensUpgradeSummary() const { return m_lensUpgradeSummary; }
56 inline bool LensUpgradeSummaryHasBeenSet() const { return m_lensUpgradeSummaryHasBeenSet; }
57 template <typename LensUpgradeSummaryT = LensUpgradeSummary>
58 void SetLensUpgradeSummary(LensUpgradeSummaryT&& value) {
59 m_lensUpgradeSummaryHasBeenSet = true;
60 m_lensUpgradeSummary = std::forward<LensUpgradeSummaryT>(value);
61 }
62 template <typename LensUpgradeSummaryT = LensUpgradeSummary>
63 NotificationSummary& WithLensUpgradeSummary(LensUpgradeSummaryT&& value) {
64 SetLensUpgradeSummary(std::forward<LensUpgradeSummaryT>(value));
65 return *this;
66 }
68 private:
70
71 LensUpgradeSummary m_lensUpgradeSummary;
72 bool m_typeHasBeenSet = false;
73 bool m_lensUpgradeSummaryHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace WellArchitected
78} // namespace Aws
NotificationSummary & WithLensUpgradeSummary(LensUpgradeSummaryT &&value)
const LensUpgradeSummary & GetLensUpgradeSummary() const
AWS_WELLARCHITECTED_API NotificationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLensUpgradeSummary(LensUpgradeSummaryT &&value)
AWS_WELLARCHITECTED_API NotificationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WELLARCHITECTED_API NotificationSummary()=default
NotificationSummary & WithType(NotificationType value)
Aws::Utils::Json::JsonValue JsonValue