AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
ResourceCount.h
1
6#pragma once
7#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace ResourceExplorer2 {
17namespace Model {
18
29 public:
30 AWS_RESOURCEEXPLORER2_API ResourceCount() = default;
31 AWS_RESOURCEEXPLORER2_API ResourceCount(Aws::Utils::Json::JsonView jsonValue);
32 AWS_RESOURCEEXPLORER2_API ResourceCount& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline long long GetTotalResources() const { return m_totalResources; }
43 inline bool TotalResourcesHasBeenSet() const { return m_totalResourcesHasBeenSet; }
44 inline void SetTotalResources(long long value) {
45 m_totalResourcesHasBeenSet = true;
46 m_totalResources = value;
47 }
48 inline ResourceCount& WithTotalResources(long long value) {
49 SetTotalResources(value);
50 return *this;
51 }
53
55
62 inline bool GetComplete() const { return m_complete; }
63 inline bool CompleteHasBeenSet() const { return m_completeHasBeenSet; }
64 inline void SetComplete(bool value) {
65 m_completeHasBeenSet = true;
66 m_complete = value;
67 }
68 inline ResourceCount& WithComplete(bool value) {
69 SetComplete(value);
70 return *this;
71 }
73 private:
74 long long m_totalResources{0};
75
76 bool m_complete{false};
77 bool m_totalResourcesHasBeenSet = false;
78 bool m_completeHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace ResourceExplorer2
83} // namespace Aws
ResourceCount & WithTotalResources(long long value)
ResourceCount & WithComplete(bool value)
AWS_RESOURCEEXPLORER2_API ResourceCount & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESOURCEEXPLORER2_API ResourceCount(Aws::Utils::Json::JsonView jsonValue)
AWS_RESOURCEEXPLORER2_API ResourceCount()=default
Aws::Utils::Json::JsonValue JsonValue