AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeGuruSecurity {
20namespace Model {
21
29 public:
30 AWS_CODEGURUSECURITY_API FindingIdentifier() = default;
31 AWS_CODEGURUSECURITY_API FindingIdentifier(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CODEGURUSECURITY_API FindingIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetScanName() const { return m_scanName; }
40 inline bool ScanNameHasBeenSet() const { return m_scanNameHasBeenSet; }
41 template <typename ScanNameT = Aws::String>
42 void SetScanName(ScanNameT&& value) {
43 m_scanNameHasBeenSet = true;
44 m_scanName = std::forward<ScanNameT>(value);
45 }
46 template <typename ScanNameT = Aws::String>
47 FindingIdentifier& WithScanName(ScanNameT&& value) {
48 SetScanName(std::forward<ScanNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetFindingId() const { return m_findingId; }
58 inline bool FindingIdHasBeenSet() const { return m_findingIdHasBeenSet; }
59 template <typename FindingIdT = Aws::String>
60 void SetFindingId(FindingIdT&& value) {
61 m_findingIdHasBeenSet = true;
62 m_findingId = std::forward<FindingIdT>(value);
63 }
64 template <typename FindingIdT = Aws::String>
65 FindingIdentifier& WithFindingId(FindingIdT&& value) {
66 SetFindingId(std::forward<FindingIdT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_scanName;
72
73 Aws::String m_findingId;
74 bool m_scanNameHasBeenSet = false;
75 bool m_findingIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace CodeGuruSecurity
80} // namespace Aws
AWS_CODEGURUSECURITY_API FindingIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
FindingIdentifier & WithScanName(ScanNameT &&value)
AWS_CODEGURUSECURITY_API FindingIdentifier()=default
AWS_CODEGURUSECURITY_API FindingIdentifier(Aws::Utils::Json::JsonView jsonValue)
FindingIdentifier & WithFindingId(FindingIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue