AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
FindingRemediation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/Kafka_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Kafka {
20namespace Model {
21
28 public:
29 AWS_KAFKA_API FindingRemediation() = default;
32 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetAction() const { return m_action; }
39 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
40 template <typename ActionT = Aws::String>
41 void SetAction(ActionT&& value) {
42 m_actionHasBeenSet = true;
43 m_action = std::forward<ActionT>(value);
44 }
45 template <typename ActionT = Aws::String>
46 FindingRemediation& WithAction(ActionT&& value) {
47 SetAction(std::forward<ActionT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetDocumentationUrl() const { return m_documentationUrl; }
58 inline bool DocumentationUrlHasBeenSet() const { return m_documentationUrlHasBeenSet; }
59 template <typename DocumentationUrlT = Aws::String>
60 void SetDocumentationUrl(DocumentationUrlT&& value) {
61 m_documentationUrlHasBeenSet = true;
62 m_documentationUrl = std::forward<DocumentationUrlT>(value);
63 }
64 template <typename DocumentationUrlT = Aws::String>
65 FindingRemediation& WithDocumentationUrl(DocumentationUrlT&& value) {
66 SetDocumentationUrl(std::forward<DocumentationUrlT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_action;
72
73 Aws::String m_documentationUrl;
74 bool m_actionHasBeenSet = false;
75 bool m_documentationUrlHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Kafka
80} // namespace Aws
void SetDocumentationUrl(DocumentationUrlT &&value)
AWS_KAFKA_API FindingRemediation()=default
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAction() const
AWS_KAFKA_API FindingRemediation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDocumentationUrl() const
FindingRemediation & WithAction(ActionT &&value)
FindingRemediation & WithDocumentationUrl(DocumentationUrlT &&value)
AWS_KAFKA_API FindingRemediation(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue