AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Record.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 class Record
34 {
35 public:
36 AWS_MACIE2_API Record() = default;
37 AWS_MACIE2_API Record(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MACIE2_API Record& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
56 inline const Aws::String& GetJsonPath() const { return m_jsonPath; }
57 inline bool JsonPathHasBeenSet() const { return m_jsonPathHasBeenSet; }
58 template<typename JsonPathT = Aws::String>
59 void SetJsonPath(JsonPathT&& value) { m_jsonPathHasBeenSet = true; m_jsonPath = std::forward<JsonPathT>(value); }
60 template<typename JsonPathT = Aws::String>
61 Record& WithJsonPath(JsonPathT&& value) { SetJsonPath(std::forward<JsonPathT>(value)); return *this;}
63
65
71 inline long long GetRecordIndex() const { return m_recordIndex; }
72 inline bool RecordIndexHasBeenSet() const { return m_recordIndexHasBeenSet; }
73 inline void SetRecordIndex(long long value) { m_recordIndexHasBeenSet = true; m_recordIndex = value; }
74 inline Record& WithRecordIndex(long long value) { SetRecordIndex(value); return *this;}
76 private:
77
78 Aws::String m_jsonPath;
79 bool m_jsonPathHasBeenSet = false;
80
81 long long m_recordIndex{0};
82 bool m_recordIndexHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Macie2
87} // namespace Aws
AWS_MACIE2_API Record()=default
AWS_MACIE2_API Record(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
bool RecordIndexHasBeenSet() const
Definition Record.h:72
Record & WithRecordIndex(long long value)
Definition Record.h:74
long long GetRecordIndex() const
Definition Record.h:71
void SetRecordIndex(long long value)
Definition Record.h:73
bool JsonPathHasBeenSet() const
Definition Record.h:57
AWS_MACIE2_API Record & operator=(Aws::Utils::Json::JsonView jsonValue)
Record & WithJsonPath(JsonPathT &&value)
Definition Record.h:61
const Aws::String & GetJsonPath() const
Definition Record.h:56
void SetJsonPath(JsonPathT &&value)
Definition Record.h:59
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue