AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FindingIdentifier.h
1
6#pragma once
7#include <aws/codeguru-security/CodeGuruSecurity_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 CodeGuruSecurity
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODEGURUSECURITY_API FindingIdentifier();
36 AWS_CODEGURUSECURITY_API FindingIdentifier(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEGURUSECURITY_API FindingIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetFindingId() const{ return m_findingId; }
46 inline bool FindingIdHasBeenSet() const { return m_findingIdHasBeenSet; }
47 inline void SetFindingId(const Aws::String& value) { m_findingIdHasBeenSet = true; m_findingId = value; }
48 inline void SetFindingId(Aws::String&& value) { m_findingIdHasBeenSet = true; m_findingId = std::move(value); }
49 inline void SetFindingId(const char* value) { m_findingIdHasBeenSet = true; m_findingId.assign(value); }
50 inline FindingIdentifier& WithFindingId(const Aws::String& value) { SetFindingId(value); return *this;}
51 inline FindingIdentifier& WithFindingId(Aws::String&& value) { SetFindingId(std::move(value)); return *this;}
52 inline FindingIdentifier& WithFindingId(const char* value) { SetFindingId(value); return *this;}
54
56
59 inline const Aws::String& GetScanName() const{ return m_scanName; }
60 inline bool ScanNameHasBeenSet() const { return m_scanNameHasBeenSet; }
61 inline void SetScanName(const Aws::String& value) { m_scanNameHasBeenSet = true; m_scanName = value; }
62 inline void SetScanName(Aws::String&& value) { m_scanNameHasBeenSet = true; m_scanName = std::move(value); }
63 inline void SetScanName(const char* value) { m_scanNameHasBeenSet = true; m_scanName.assign(value); }
64 inline FindingIdentifier& WithScanName(const Aws::String& value) { SetScanName(value); return *this;}
65 inline FindingIdentifier& WithScanName(Aws::String&& value) { SetScanName(std::move(value)); return *this;}
66 inline FindingIdentifier& WithScanName(const char* value) { SetScanName(value); return *this;}
68 private:
69
70 Aws::String m_findingId;
71 bool m_findingIdHasBeenSet = false;
72
73 Aws::String m_scanName;
74 bool m_scanNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CodeGuruSecurity
79} // namespace Aws
AWS_CODEGURUSECURITY_API FindingIdentifier()
FindingIdentifier & WithFindingId(const char *value)
AWS_CODEGURUSECURITY_API FindingIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
FindingIdentifier & WithFindingId(Aws::String &&value)
FindingIdentifier & WithScanName(Aws::String &&value)
FindingIdentifier & WithScanName(const Aws::String &value)
AWS_CODEGURUSECURITY_API FindingIdentifier(Aws::Utils::Json::JsonView jsonValue)
FindingIdentifier & WithScanName(const char *value)
FindingIdentifier & WithFindingId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue