AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RemediationRecommendation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace imagebuilder {
20namespace Model {
21
29 public:
30 AWS_IMAGEBUILDER_API RemediationRecommendation() = default;
33 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetText() const { return m_text; }
40 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
41 template <typename TextT = Aws::String>
42 void SetText(TextT&& value) {
43 m_textHasBeenSet = true;
44 m_text = std::forward<TextT>(value);
45 }
46 template <typename TextT = Aws::String>
48 SetText(std::forward<TextT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetUrl() const { return m_url; }
59 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
60 template <typename UrlT = Aws::String>
61 void SetUrl(UrlT&& value) {
62 m_urlHasBeenSet = true;
63 m_url = std::forward<UrlT>(value);
64 }
65 template <typename UrlT = Aws::String>
67 SetUrl(std::forward<UrlT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_text;
73
74 Aws::String m_url;
75 bool m_textHasBeenSet = false;
76 bool m_urlHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace imagebuilder
81} // namespace Aws
AWS_IMAGEBUILDER_API RemediationRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
RemediationRecommendation & WithText(TextT &&value)
AWS_IMAGEBUILDER_API RemediationRecommendation(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IMAGEBUILDER_API RemediationRecommendation()=default
RemediationRecommendation & WithUrl(UrlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue