AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SuggestedFix.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 SuggestedFix() = default;
36 AWS_CODEGURUSECURITY_API SuggestedFix(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEGURUSECURITY_API SuggestedFix& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetCode() const { return m_code; }
47 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
48 template<typename CodeT = Aws::String>
49 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
50 template<typename CodeT = Aws::String>
51 SuggestedFix& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template<typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
62 template<typename DescriptionT = Aws::String>
63 SuggestedFix& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
65 private:
66
67 Aws::String m_code;
68 bool m_codeHasBeenSet = false;
69
70 Aws::String m_description;
71 bool m_descriptionHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CodeGuruSecurity
76} // namespace Aws
const Aws::String & GetDescription() const
SuggestedFix & WithCode(CodeT &&value)
const Aws::String & GetCode() const
AWS_CODEGURUSECURITY_API SuggestedFix()=default
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEGURUSECURITY_API SuggestedFix & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
AWS_CODEGURUSECURITY_API SuggestedFix(Aws::Utils::Json::JsonView jsonValue)
SuggestedFix & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue