AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FindingHistoryUpdateSource.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/FindingHistoryUpdateSourceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API FindingHistoryUpdateSource() = default;
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
51 inline FindingHistoryUpdateSourceType GetType() const { return m_type; }
52 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
53 inline void SetType(FindingHistoryUpdateSourceType value) { m_typeHasBeenSet = true; m_type = value; }
56
58
63 inline const Aws::String& GetIdentity() const { return m_identity; }
64 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
65 template<typename IdentityT = Aws::String>
66 void SetIdentity(IdentityT&& value) { m_identityHasBeenSet = true; m_identity = std::forward<IdentityT>(value); }
67 template<typename IdentityT = Aws::String>
68 FindingHistoryUpdateSource& WithIdentity(IdentityT&& value) { SetIdentity(std::forward<IdentityT>(value)); return *this;}
70 private:
71
73 bool m_typeHasBeenSet = false;
74
75 Aws::String m_identity;
76 bool m_identityHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SecurityHub
81} // namespace Aws
AWS_SECURITYHUB_API FindingHistoryUpdateSource()=default
AWS_SECURITYHUB_API FindingHistoryUpdateSource & operator=(Aws::Utils::Json::JsonView jsonValue)
FindingHistoryUpdateSource & WithIdentity(IdentityT &&value)
AWS_SECURITYHUB_API FindingHistoryUpdateSource(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
FindingHistoryUpdateSource & WithType(FindingHistoryUpdateSourceType value)
void SetType(FindingHistoryUpdateSourceType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue