AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
FindingHistoryUpdateSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/FindingHistoryUpdateSourceType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
30 public:
31 AWS_SECURITYHUB_API FindingHistoryUpdateSource() = default;
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
45 inline FindingHistoryUpdateSourceType GetType() const { return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 m_typeHasBeenSet = true;
49 m_type = value;
50 }
52 SetType(value);
53 return *this;
54 }
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) {
67 m_identityHasBeenSet = true;
68 m_identity = std::forward<IdentityT>(value);
69 }
70 template <typename IdentityT = Aws::String>
72 SetIdentity(std::forward<IdentityT>(value));
73 return *this;
74 }
76 private:
78
79 Aws::String m_identity;
80 bool m_typeHasBeenSet = false;
81 bool m_identityHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace SecurityHub
86} // 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