AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
CrossPillarBenefit.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
9#include <aws/wellarchitected/model/ImpactCategory.h>
10#include <aws/wellarchitected/model/Pillar.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WellArchitected {
22namespace Model {
23
31 public:
32 AWS_WELLARCHITECTED_API CrossPillarBenefit() = default;
33 AWS_WELLARCHITECTED_API CrossPillarBenefit(Aws::Utils::Json::JsonView jsonValue);
34 AWS_WELLARCHITECTED_API CrossPillarBenefit& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline Pillar GetPillar() const { return m_pillar; }
42 inline bool PillarHasBeenSet() const { return m_pillarHasBeenSet; }
43 inline void SetPillar(Pillar value) {
44 m_pillarHasBeenSet = true;
45 m_pillar = value;
46 }
48 SetPillar(value);
49 return *this;
50 }
52
54
57 inline const Aws::String& GetTitle() const { return m_title; }
58 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
59 template <typename TitleT = Aws::String>
60 void SetTitle(TitleT&& value) {
61 m_titleHasBeenSet = true;
62 m_title = std::forward<TitleT>(value);
63 }
64 template <typename TitleT = Aws::String>
65 CrossPillarBenefit& WithTitle(TitleT&& value) {
66 SetTitle(std::forward<TitleT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
83 CrossPillarBenefit& WithDescription(DescriptionT&& value) {
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
93 inline ImpactCategory GetImpact() const { return m_impact; }
94 inline bool ImpactHasBeenSet() const { return m_impactHasBeenSet; }
95 inline void SetImpact(ImpactCategory value) {
96 m_impactHasBeenSet = true;
97 m_impact = value;
98 }
100 SetImpact(value);
101 return *this;
102 }
104 private:
105 Pillar m_pillar{Pillar::NOT_SET};
106
107 Aws::String m_title;
108
109 Aws::String m_description;
110
112 bool m_pillarHasBeenSet = false;
113 bool m_titleHasBeenSet = false;
114 bool m_descriptionHasBeenSet = false;
115 bool m_impactHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace WellArchitected
120} // namespace Aws
AWS_WELLARCHITECTED_API CrossPillarBenefit(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API CrossPillarBenefit & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WELLARCHITECTED_API CrossPillarBenefit()=default
CrossPillarBenefit & WithTitle(TitleT &&value)
CrossPillarBenefit & WithPillar(Pillar value)
CrossPillarBenefit & WithDescription(DescriptionT &&value)
CrossPillarBenefit & WithImpact(ImpactCategory value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue