AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Detection.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/Sequence.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
39 {
40 public:
41 AWS_SECURITYHUB_API Detection() = default;
42 AWS_SECURITYHUB_API Detection(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SECURITYHUB_API Detection& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Sequence& GetSequence() const { return m_sequence; }
52 inline bool SequenceHasBeenSet() const { return m_sequenceHasBeenSet; }
53 template<typename SequenceT = Sequence>
54 void SetSequence(SequenceT&& value) { m_sequenceHasBeenSet = true; m_sequence = std::forward<SequenceT>(value); }
55 template<typename SequenceT = Sequence>
56 Detection& WithSequence(SequenceT&& value) { SetSequence(std::forward<SequenceT>(value)); return *this;}
58 private:
59
60 Sequence m_sequence;
61 bool m_sequenceHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace SecurityHub
66} // namespace Aws
const Sequence & GetSequence() const
Definition Detection.h:51
Detection & WithSequence(SequenceT &&value)
Definition Detection.h:56
AWS_SECURITYHUB_API Detection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Detection(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Detection()=default
void SetSequence(SequenceT &&value)
Definition Detection.h:54
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue