AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FindingSourceDetail.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_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 AccessAnalyzer
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ACCESSANALYZER_API FindingSourceDetail();
36 AWS_ACCESSANALYZER_API FindingSourceDetail(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ACCESSANALYZER_API FindingSourceDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetAccessPointArn() const{ return m_accessPointArn; }
48 inline bool AccessPointArnHasBeenSet() const { return m_accessPointArnHasBeenSet; }
49 inline void SetAccessPointArn(const Aws::String& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = value; }
50 inline void SetAccessPointArn(Aws::String&& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = std::move(value); }
51 inline void SetAccessPointArn(const char* value) { m_accessPointArnHasBeenSet = true; m_accessPointArn.assign(value); }
52 inline FindingSourceDetail& WithAccessPointArn(const Aws::String& value) { SetAccessPointArn(value); return *this;}
53 inline FindingSourceDetail& WithAccessPointArn(Aws::String&& value) { SetAccessPointArn(std::move(value)); return *this;}
54 inline FindingSourceDetail& WithAccessPointArn(const char* value) { SetAccessPointArn(value); return *this;}
56
58
61 inline const Aws::String& GetAccessPointAccount() const{ return m_accessPointAccount; }
62 inline bool AccessPointAccountHasBeenSet() const { return m_accessPointAccountHasBeenSet; }
63 inline void SetAccessPointAccount(const Aws::String& value) { m_accessPointAccountHasBeenSet = true; m_accessPointAccount = value; }
64 inline void SetAccessPointAccount(Aws::String&& value) { m_accessPointAccountHasBeenSet = true; m_accessPointAccount = std::move(value); }
65 inline void SetAccessPointAccount(const char* value) { m_accessPointAccountHasBeenSet = true; m_accessPointAccount.assign(value); }
66 inline FindingSourceDetail& WithAccessPointAccount(const Aws::String& value) { SetAccessPointAccount(value); return *this;}
67 inline FindingSourceDetail& WithAccessPointAccount(Aws::String&& value) { SetAccessPointAccount(std::move(value)); return *this;}
68 inline FindingSourceDetail& WithAccessPointAccount(const char* value) { SetAccessPointAccount(value); return *this;}
70 private:
71
72 Aws::String m_accessPointArn;
73 bool m_accessPointArnHasBeenSet = false;
74
75 Aws::String m_accessPointAccount;
76 bool m_accessPointAccountHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace AccessAnalyzer
81} // namespace Aws
AWS_ACCESSANALYZER_API FindingSourceDetail(Aws::Utils::Json::JsonView jsonValue)
FindingSourceDetail & WithAccessPointAccount(Aws::String &&value)
AWS_ACCESSANALYZER_API FindingSourceDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
FindingSourceDetail & WithAccessPointArn(const Aws::String &value)
FindingSourceDetail & WithAccessPointAccount(const Aws::String &value)
FindingSourceDetail & WithAccessPointAccount(const char *value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
FindingSourceDetail & WithAccessPointArn(const char *value)
FindingSourceDetail & WithAccessPointArn(Aws::String &&value)
void SetAccessPointAccount(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue