AWS SDK for C++

AWS SDK for C++ Version 1.11.939

Loading...
Searching...
No Matches
MetadataRecord.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace GuardDuty {
17namespace Model {
18
26 public:
27 AWS_GUARDDUTY_API MetadataRecord() = default;
28 AWS_GUARDDUTY_API MetadataRecord(Aws::Utils::Json::JsonView jsonValue);
30 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline long long GetTotalTimeMilliseconds() const { return m_totalTimeMilliseconds; }
37 inline bool TotalTimeMillisecondsHasBeenSet() const { return m_totalTimeMillisecondsHasBeenSet; }
38 inline void SetTotalTimeMilliseconds(long long value) {
39 m_totalTimeMillisecondsHasBeenSet = true;
40 m_totalTimeMilliseconds = value;
41 }
42 inline MetadataRecord& WithTotalTimeMilliseconds(long long value) {
44 return *this;
45 }
47 private:
48 long long m_totalTimeMilliseconds{0};
49 bool m_totalTimeMillisecondsHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace GuardDuty
54} // namespace Aws
void SetTotalTimeMilliseconds(long long value)
AWS_GUARDDUTY_API MetadataRecord(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API MetadataRecord()=default
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
MetadataRecord & WithTotalTimeMilliseconds(long long value)
AWS_GUARDDUTY_API MetadataRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue