AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
PriorityCount.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/model/Priority.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 PriorityCount() = default;
31 AWS_WELLARCHITECTED_API PriorityCount(Aws::Utils::Json::JsonView jsonValue);
32 AWS_WELLARCHITECTED_API PriorityCount& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline Priority GetPriority() const { return m_priority; }
40 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
41 inline void SetPriority(Priority value) {
42 m_priorityHasBeenSet = true;
43 m_priority = value;
44 }
46 SetPriority(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 PriorityCount& WithCount(long long value) {
63 SetCount(value);
64 return *this;
65 }
67 private:
68 Priority m_priority{Priority::NOT_SET};
69
70 long long m_count{0};
71 bool m_priorityHasBeenSet = false;
72 bool m_countHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace WellArchitected
77} // namespace Aws
PriorityCount & WithPriority(Priority value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
PriorityCount & WithCount(long long value)
AWS_WELLARCHITECTED_API PriorityCount()=default
AWS_WELLARCHITECTED_API PriorityCount & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API PriorityCount(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue