AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGroupKey(const Aws::String& value) { m_groupKeyHasBeenSet = true; m_groupKey = value; }
59 inline void SetGroupKey(Aws::String&& value) { m_groupKeyHasBeenSet = true; m_groupKey = std::move(value); }
60 inline void SetGroupKey(const char* value) { m_groupKeyHasBeenSet = true; m_groupKey.assign(value); }
61 inline GroupCount& WithGroupKey(const Aws::String& value) { SetGroupKey(value); return *this;}
62 inline GroupCount& WithGroupKey(Aws::String&& value) { SetGroupKey(std::move(value)); return *this;}
63 inline GroupCount& WithGroupKey(const char* value) { SetGroupKey(value); return *this;}
65 private:
66
67 long long m_count;
68 bool m_countHasBeenSet = false;
69
70 Aws::String m_groupKey;
71 bool m_groupKeyHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Macie2
76} // namespace Aws
void SetGroupKey(const Aws::String &value)
Definition GroupCount.h:58
void SetCount(long long value)
Definition GroupCount.h:47
const Aws::String & GetGroupKey() const
Definition GroupCount.h:56
GroupCount & WithGroupKey(const Aws::String &value)
Definition GroupCount.h:61
AWS_MACIE2_API GroupCount & operator=(Aws::Utils::Json::JsonView jsonValue)
GroupCount & WithCount(long long value)
Definition GroupCount.h:48
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroupKey(const char *value)
Definition GroupCount.h:60
GroupCount & WithGroupKey(const char *value)
Definition GroupCount.h:63
AWS_MACIE2_API GroupCount(Aws::Utils::Json::JsonView jsonValue)
void SetGroupKey(Aws::String &&value)
Definition GroupCount.h:59
long long GetCount() const
Definition GroupCount.h:45
GroupCount & WithGroupKey(Aws::String &&value)
Definition GroupCount.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue