AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
51 inline const FindingHistoryUpdateSourceType& GetType() const{ return m_type; }
52 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
53 inline void SetType(const FindingHistoryUpdateSourceType& value) { m_typeHasBeenSet = true; m_type = value; }
54 inline void SetType(FindingHistoryUpdateSourceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
55 inline FindingHistoryUpdateSource& WithType(const FindingHistoryUpdateSourceType& value) { SetType(value); return *this;}
56 inline FindingHistoryUpdateSource& WithType(FindingHistoryUpdateSourceType&& value) { SetType(std::move(value)); return *this;}
58
60
65 inline const Aws::String& GetIdentity() const{ return m_identity; }
66 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
67 inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
68 inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
69 inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
70 inline FindingHistoryUpdateSource& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
71 inline FindingHistoryUpdateSource& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
72 inline FindingHistoryUpdateSource& WithIdentity(const char* value) { SetIdentity(value); return *this;}
74 private:
75
77 bool m_typeHasBeenSet = false;
78
79 Aws::String m_identity;
80 bool m_identityHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace SecurityHub
85} // namespace Aws
AWS_SECURITYHUB_API FindingHistoryUpdateSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const FindingHistoryUpdateSourceType & GetType() const
void SetType(FindingHistoryUpdateSourceType &&value)
FindingHistoryUpdateSource & WithIdentity(const Aws::String &value)
FindingHistoryUpdateSource & WithIdentity(Aws::String &&value)
FindingHistoryUpdateSource & WithType(FindingHistoryUpdateSourceType &&value)
void SetType(const FindingHistoryUpdateSourceType &value)
FindingHistoryUpdateSource & WithType(const FindingHistoryUpdateSourceType &value)
FindingHistoryUpdateSource & WithIdentity(const char *value)
AWS_SECURITYHUB_API FindingHistoryUpdateSource(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue