AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Record.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
22{
23namespace Model
24{
25
32 class Record
33 {
34 public:
35 AWS_SECURITYHUB_API Record() = default;
36 AWS_SECURITYHUB_API Record(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API Record& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetJsonPath() const { return m_jsonPath; }
48 inline bool JsonPathHasBeenSet() const { return m_jsonPathHasBeenSet; }
49 template<typename JsonPathT = Aws::String>
50 void SetJsonPath(JsonPathT&& value) { m_jsonPathHasBeenSet = true; m_jsonPath = std::forward<JsonPathT>(value); }
51 template<typename JsonPathT = Aws::String>
52 Record& WithJsonPath(JsonPathT&& value) { SetJsonPath(std::forward<JsonPathT>(value)); return *this;}
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) { m_recordIndexHasBeenSet = true; m_recordIndex = value; }
62 inline Record& WithRecordIndex(long long value) { SetRecordIndex(value); return *this;}
64 private:
65
66 Aws::String m_jsonPath;
67 bool m_jsonPathHasBeenSet = false;
68
69 long long m_recordIndex{0};
70 bool m_recordIndexHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SecurityHub
75} // namespace Aws
bool RecordIndexHasBeenSet() const
Definition Record.h:60
AWS_SECURITYHUB_API Record()=default
void SetJsonPath(JsonPathT &&value)
Definition Record.h:50
bool JsonPathHasBeenSet() const
Definition Record.h:48
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:47
Record & WithRecordIndex(long long value)
Definition Record.h:62
AWS_SECURITYHUB_API Record(Aws::Utils::Json::JsonView jsonValue)
Record & WithJsonPath(JsonPathT &&value)
Definition Record.h:52
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