AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
PillarCount.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/model/Pillar.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WellArchitected {
20namespace Model {
21
29 public:
30 AWS_WELLARCHITECTED_API PillarCount() = default;
31 AWS_WELLARCHITECTED_API PillarCount(Aws::Utils::Json::JsonView jsonValue);
32 AWS_WELLARCHITECTED_API PillarCount& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline Pillar GetPillar() const { return m_pillar; }
40 inline bool PillarHasBeenSet() const { return m_pillarHasBeenSet; }
41 inline void SetPillar(Pillar value) {
42 m_pillarHasBeenSet = true;
43 m_pillar = value;
44 }
45 inline PillarCount& WithPillar(Pillar value) {
46 SetPillar(value);
47 return *this;
48 }
50
52
56 inline long long GetCount() const { return m_count; }
57 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
58 inline void SetCount(long long value) {
59 m_countHasBeenSet = true;
60 m_count = value;
61 }
62 inline PillarCount& WithCount(long long value) {
63 SetCount(value);
64 return *this;
65 }
67 private:
68 Pillar m_pillar{Pillar::NOT_SET};
69
70 long long m_count{0};
71 bool m_pillarHasBeenSet = false;
72 bool m_countHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace WellArchitected
77} // namespace Aws
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WELLARCHITECTED_API PillarCount & operator=(Aws::Utils::Json::JsonView jsonValue)
PillarCount & WithPillar(Pillar value)
Definition PillarCount.h:45
PillarCount & WithCount(long long value)
Definition PillarCount.h:62
AWS_WELLARCHITECTED_API PillarCount()=default
AWS_WELLARCHITECTED_API PillarCount(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue