AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
NotificationSummary.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/model/NotificationType.h>
9#include <aws/wellarchitected/model/LensUpgradeSummary.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 WellArchitected
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WELLARCHITECTED_API NotificationSummary() = default;
36 AWS_WELLARCHITECTED_API NotificationSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WELLARCHITECTED_API NotificationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline NotificationType GetType() const { return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 inline void SetType(NotificationType value) { m_typeHasBeenSet = true; m_type = value; }
48 inline NotificationSummary& WithType(NotificationType value) { SetType(value); return *this;}
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) { m_lensUpgradeSummaryHasBeenSet = true; m_lensUpgradeSummary = std::forward<LensUpgradeSummaryT>(value); }
59 template<typename LensUpgradeSummaryT = LensUpgradeSummary>
60 NotificationSummary& WithLensUpgradeSummary(LensUpgradeSummaryT&& value) { SetLensUpgradeSummary(std::forward<LensUpgradeSummaryT>(value)); return *this;}
62 private:
63
65 bool m_typeHasBeenSet = false;
66
67 LensUpgradeSummary m_lensUpgradeSummary;
68 bool m_lensUpgradeSummaryHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace WellArchitected
73} // 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