AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
RelatedFinding.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
28 public:
29 AWS_SECURITYHUB_API RelatedFinding() = default;
30 AWS_SECURITYHUB_API RelatedFinding(Aws::Utils::Json::JsonView jsonValue);
31 AWS_SECURITYHUB_API RelatedFinding& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetProductArn() const { return m_productArn; }
39 inline bool ProductArnHasBeenSet() const { return m_productArnHasBeenSet; }
40 template <typename ProductArnT = Aws::String>
41 void SetProductArn(ProductArnT&& value) {
42 m_productArnHasBeenSet = true;
43 m_productArn = std::forward<ProductArnT>(value);
44 }
45 template <typename ProductArnT = Aws::String>
46 RelatedFinding& WithProductArn(ProductArnT&& value) {
47 SetProductArn(std::forward<ProductArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetId() const { return m_id; }
57 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
58 template <typename IdT = Aws::String>
59 void SetId(IdT&& value) {
60 m_idHasBeenSet = true;
61 m_id = std::forward<IdT>(value);
62 }
63 template <typename IdT = Aws::String>
64 RelatedFinding& WithId(IdT&& value) {
65 SetId(std::forward<IdT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_productArn;
71
72 Aws::String m_id;
73 bool m_productArnHasBeenSet = false;
74 bool m_idHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace SecurityHub
79} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue