AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJsonPath(const Aws::String& value) { m_jsonPathHasBeenSet = true; m_jsonPath = value; }
59 inline void SetJsonPath(Aws::String&& value) { m_jsonPathHasBeenSet = true; m_jsonPath = std::move(value); }
60 inline void SetJsonPath(const char* value) { m_jsonPathHasBeenSet = true; m_jsonPath.assign(value); }
61 inline Record& WithJsonPath(const Aws::String& value) { SetJsonPath(value); return *this;}
62 inline Record& WithJsonPath(Aws::String&& value) { SetJsonPath(std::move(value)); return *this;}
63 inline Record& WithJsonPath(const char* value) { SetJsonPath(value); return *this;}
65
67
73 inline long long GetRecordIndex() const{ return m_recordIndex; }
74 inline bool RecordIndexHasBeenSet() const { return m_recordIndexHasBeenSet; }
75 inline void SetRecordIndex(long long value) { m_recordIndexHasBeenSet = true; m_recordIndex = value; }
76 inline Record& WithRecordIndex(long long value) { SetRecordIndex(value); return *this;}
78 private:
79
80 Aws::String m_jsonPath;
81 bool m_jsonPathHasBeenSet = false;
82
83 long long m_recordIndex;
84 bool m_recordIndexHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Macie2
89} // namespace Aws
AWS_MACIE2_API Record(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
bool RecordIndexHasBeenSet() const
Definition Record.h:74
void SetJsonPath(Aws::String &&value)
Definition Record.h:59
AWS_MACIE2_API Record()
Record & WithRecordIndex(long long value)
Definition Record.h:76
long long GetRecordIndex() const
Definition Record.h:73
Record & WithJsonPath(const Aws::String &value)
Definition Record.h:61
void SetJsonPath(const char *value)
Definition Record.h:60
void SetRecordIndex(long long value)
Definition Record.h:75
Record & WithJsonPath(Aws::String &&value)
Definition Record.h:62
bool JsonPathHasBeenSet() const
Definition Record.h:57
AWS_MACIE2_API Record & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJsonPath(const Aws::String &value)
Definition Record.h:58
const Aws::String & GetJsonPath() const
Definition Record.h:56
Record & WithJsonPath(const char *value)
Definition Record.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue