AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DefaultDetection.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/Occurrences.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Macie2
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_MACIE2_API DefaultDetection();
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline long long GetCount() const{ return m_count; }
49 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
50 inline void SetCount(long long value) { m_countHasBeenSet = true; m_count = value; }
51 inline DefaultDetection& WithCount(long long value) { SetCount(value); return *this;}
53
55
60 inline const Occurrences& GetOccurrences() const{ return m_occurrences; }
61 inline bool OccurrencesHasBeenSet() const { return m_occurrencesHasBeenSet; }
62 inline void SetOccurrences(const Occurrences& value) { m_occurrencesHasBeenSet = true; m_occurrences = value; }
63 inline void SetOccurrences(Occurrences&& value) { m_occurrencesHasBeenSet = true; m_occurrences = std::move(value); }
64 inline DefaultDetection& WithOccurrences(const Occurrences& value) { SetOccurrences(value); return *this;}
65 inline DefaultDetection& WithOccurrences(Occurrences&& value) { SetOccurrences(std::move(value)); return *this;}
67
69
73 inline const Aws::String& GetType() const{ return m_type; }
74 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
75 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
76 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
77 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
78 inline DefaultDetection& WithType(const Aws::String& value) { SetType(value); return *this;}
79 inline DefaultDetection& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
80 inline DefaultDetection& WithType(const char* value) { SetType(value); return *this;}
82 private:
83
84 long long m_count;
85 bool m_countHasBeenSet = false;
86
87 Occurrences m_occurrences;
88 bool m_occurrencesHasBeenSet = false;
89
90 Aws::String m_type;
91 bool m_typeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Macie2
96} // namespace Aws
void SetOccurrences(const Occurrences &value)
void SetType(const Aws::String &value)
const Aws::String & GetType() const
DefaultDetection & WithCount(long long value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
DefaultDetection & WithType(Aws::String &&value)
void SetOccurrences(Occurrences &&value)
DefaultDetection & WithOccurrences(Occurrences &&value)
DefaultDetection & WithType(const Aws::String &value)
void SetType(Aws::String &&value)
AWS_MACIE2_API DefaultDetection & operator=(Aws::Utils::Json::JsonView jsonValue)
DefaultDetection & WithType(const char *value)
const Occurrences & GetOccurrences() const
DefaultDetection & WithOccurrences(const Occurrences &value)
AWS_MACIE2_API DefaultDetection(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue