AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RelatedFindingDetail.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Detective
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_DETECTIVE_API RelatedFindingDetail();
39 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline RelatedFindingDetail& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline RelatedFindingDetail& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline RelatedFindingDetail& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetType() const{ return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
63 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
64 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
65 inline RelatedFindingDetail& WithType(const Aws::String& value) { SetType(value); return *this;}
66 inline RelatedFindingDetail& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
67 inline RelatedFindingDetail& WithType(const char* value) { SetType(value); return *this;}
69
71
74 inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
75 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
76 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
77 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
78 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
79 inline RelatedFindingDetail& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
80 inline RelatedFindingDetail& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
81 inline RelatedFindingDetail& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
83 private:
84
85 Aws::String m_arn;
86 bool m_arnHasBeenSet = false;
87
88 Aws::String m_type;
89 bool m_typeHasBeenSet = false;
90
91 Aws::String m_ipAddress;
92 bool m_ipAddressHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Detective
97} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue