AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScanNameWithFindingNum.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 ScanNameWithFindingNum();
36 AWS_CODEGURUSECURITY_API ScanNameWithFindingNum(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEGURUSECURITY_API ScanNameWithFindingNum& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetFindingNumber() const{ return m_findingNumber; }
46 inline bool FindingNumberHasBeenSet() const { return m_findingNumberHasBeenSet; }
47 inline void SetFindingNumber(int value) { m_findingNumberHasBeenSet = true; m_findingNumber = value; }
48 inline ScanNameWithFindingNum& WithFindingNumber(int value) { SetFindingNumber(value); return *this;}
50
52
55 inline const Aws::String& GetScanName() const{ return m_scanName; }
56 inline bool ScanNameHasBeenSet() const { return m_scanNameHasBeenSet; }
57 inline void SetScanName(const Aws::String& value) { m_scanNameHasBeenSet = true; m_scanName = value; }
58 inline void SetScanName(Aws::String&& value) { m_scanNameHasBeenSet = true; m_scanName = std::move(value); }
59 inline void SetScanName(const char* value) { m_scanNameHasBeenSet = true; m_scanName.assign(value); }
60 inline ScanNameWithFindingNum& WithScanName(const Aws::String& value) { SetScanName(value); return *this;}
61 inline ScanNameWithFindingNum& WithScanName(Aws::String&& value) { SetScanName(std::move(value)); return *this;}
62 inline ScanNameWithFindingNum& WithScanName(const char* value) { SetScanName(value); return *this;}
64 private:
65
66 int m_findingNumber;
67 bool m_findingNumberHasBeenSet = false;
68
69 Aws::String m_scanName;
70 bool m_scanNameHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CodeGuruSecurity
75} // namespace Aws
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
ScanNameWithFindingNum & WithScanName(const Aws::String &value)
AWS_CODEGURUSECURITY_API ScanNameWithFindingNum & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEGURUSECURITY_API ScanNameWithFindingNum(Aws::Utils::Json::JsonView jsonValue)
ScanNameWithFindingNum & WithScanName(const char *value)
ScanNameWithFindingNum & WithScanName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue