AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
Record.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
28class Record {
29 public:
30 AWS_SECURITYHUB_API Record() = default;
31 AWS_SECURITYHUB_API Record(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYHUB_API Record& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetJsonPath() const { return m_jsonPath; }
42 inline bool JsonPathHasBeenSet() const { return m_jsonPathHasBeenSet; }
43 template <typename JsonPathT = Aws::String>
44 void SetJsonPath(JsonPathT&& value) {
45 m_jsonPathHasBeenSet = true;
46 m_jsonPath = std::forward<JsonPathT>(value);
47 }
48 template <typename JsonPathT = Aws::String>
49 Record& WithJsonPath(JsonPathT&& value) {
50 SetJsonPath(std::forward<JsonPathT>(value));
51 return *this;
52 }
54
56
59 inline long long GetRecordIndex() const { return m_recordIndex; }
60 inline bool RecordIndexHasBeenSet() const { return m_recordIndexHasBeenSet; }
61 inline void SetRecordIndex(long long value) {
62 m_recordIndexHasBeenSet = true;
63 m_recordIndex = value;
64 }
65 inline Record& WithRecordIndex(long long value) {
66 SetRecordIndex(value);
67 return *this;
68 }
70 private:
71 Aws::String m_jsonPath;
72
73 long long m_recordIndex{0};
74 bool m_jsonPathHasBeenSet = false;
75 bool m_recordIndexHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SecurityHub
80} // namespace Aws
bool RecordIndexHasBeenSet() const
Definition Record.h:60
AWS_SECURITYHUB_API Record()=default
void SetJsonPath(JsonPathT &&value)
Definition Record.h:44
bool JsonPathHasBeenSet() const
Definition Record.h:42
AWS_SECURITYHUB_API Record & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetRecordIndex() const
Definition Record.h:59
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetJsonPath() const
Definition Record.h:41
Record & WithRecordIndex(long long value)
Definition Record.h:65
AWS_SECURITYHUB_API Record(Aws::Utils::Json::JsonView jsonValue)
Record & WithJsonPath(JsonPathT &&value)
Definition Record.h:49
void SetRecordIndex(long long value)
Definition Record.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue