AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
RelatedFindingDetail.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/detective/Detective_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Detective {
20namespace Model {
21
30 public:
31 AWS_DETECTIVE_API RelatedFindingDetail() = default;
34 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 template <typename TypeT = Aws::String>
61 void SetType(TypeT&& value) {
62 m_typeHasBeenSet = true;
63 m_type = std::forward<TypeT>(value);
64 }
65 template <typename TypeT = Aws::String>
67 SetType(std::forward<TypeT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
77 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
78 template <typename IpAddressT = Aws::String>
79 void SetIpAddress(IpAddressT&& value) {
80 m_ipAddressHasBeenSet = true;
81 m_ipAddress = std::forward<IpAddressT>(value);
82 }
83 template <typename IpAddressT = Aws::String>
84 RelatedFindingDetail& WithIpAddress(IpAddressT&& value) {
85 SetIpAddress(std::forward<IpAddressT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_arn;
91
92 Aws::String m_type;
93
94 Aws::String m_ipAddress;
95 bool m_arnHasBeenSet = false;
96 bool m_typeHasBeenSet = false;
97 bool m_ipAddressHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Detective
102} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue