AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GroupCount.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Macie2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MACIE2_API GroupCount() = default;
36 AWS_MACIE2_API GroupCount(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline long long GetCount() const { return m_count; }
46 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
47 inline void SetCount(long long value) { m_countHasBeenSet = true; m_count = value; }
48 inline GroupCount& WithCount(long long value) { SetCount(value); return *this;}
50
52
56 inline const Aws::String& GetGroupKey() const { return m_groupKey; }
57 inline bool GroupKeyHasBeenSet() const { return m_groupKeyHasBeenSet; }
58 template<typename GroupKeyT = Aws::String>
59 void SetGroupKey(GroupKeyT&& value) { m_groupKeyHasBeenSet = true; m_groupKey = std::forward<GroupKeyT>(value); }
60 template<typename GroupKeyT = Aws::String>
61 GroupCount& WithGroupKey(GroupKeyT&& value) { SetGroupKey(std::forward<GroupKeyT>(value)); return *this;}
63 private:
64
65 long long m_count{0};
66 bool m_countHasBeenSet = false;
67
68 Aws::String m_groupKey;
69 bool m_groupKeyHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Macie2
74} // namespace Aws
void SetCount(long long value)
Definition GroupCount.h:47
AWS_MACIE2_API GroupCount()=default
const Aws::String & GetGroupKey() const
Definition GroupCount.h:56
AWS_MACIE2_API GroupCount & operator=(Aws::Utils::Json::JsonView jsonValue)
GroupCount & WithCount(long long value)
Definition GroupCount.h:48
GroupCount & WithGroupKey(GroupKeyT &&value)
Definition GroupCount.h:61
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroupKey(GroupKeyT &&value)
Definition GroupCount.h:59
AWS_MACIE2_API GroupCount(Aws::Utils::Json::JsonView jsonValue)
long long GetCount() const
Definition GroupCount.h:45
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue