AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
AutoRemediation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WellArchitected {
20namespace Model {
21
31 public:
32 AWS_WELLARCHITECTED_API AutoRemediation() = default;
33 AWS_WELLARCHITECTED_API AutoRemediation(Aws::Utils::Json::JsonView jsonValue);
34 AWS_WELLARCHITECTED_API AutoRemediation& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetDeepLink() const { return m_deepLink; }
43 inline bool DeepLinkHasBeenSet() const { return m_deepLinkHasBeenSet; }
44 template <typename DeepLinkT = Aws::String>
45 void SetDeepLink(DeepLinkT&& value) {
46 m_deepLinkHasBeenSet = true;
47 m_deepLink = std::forward<DeepLinkT>(value);
48 }
49 template <typename DeepLinkT = Aws::String>
50 AutoRemediation& WithDeepLink(DeepLinkT&& value) {
51 SetDeepLink(std::forward<DeepLinkT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetCliCommand() const { return m_cliCommand; }
62 inline bool CliCommandHasBeenSet() const { return m_cliCommandHasBeenSet; }
63 template <typename CliCommandT = Aws::String>
64 void SetCliCommand(CliCommandT&& value) {
65 m_cliCommandHasBeenSet = true;
66 m_cliCommand = std::forward<CliCommandT>(value);
67 }
68 template <typename CliCommandT = Aws::String>
69 AutoRemediation& WithCliCommand(CliCommandT&& value) {
70 SetCliCommand(std::forward<CliCommandT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_deepLink;
76
77 Aws::String m_cliCommand;
78 bool m_deepLinkHasBeenSet = false;
79 bool m_cliCommandHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace WellArchitected
84} // namespace Aws
AWS_WELLARCHITECTED_API AutoRemediation()=default
AWS_WELLARCHITECTED_API AutoRemediation(Aws::Utils::Json::JsonView jsonValue)
AutoRemediation & WithCliCommand(CliCommandT &&value)
AutoRemediation & WithDeepLink(DeepLinkT &&value)
AWS_WELLARCHITECTED_API AutoRemediation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue