AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
RemediationProposalBody.h
1
6#pragma once
7#include <aws/continuum/Continuum_EXPORTS.h>
8#include <aws/continuum/model/PatchFormat.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Continuum {
21namespace Model {
22
31 public:
32 AWS_CONTINUUM_API RemediationProposalBody() = default;
35 AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetPatch() const { return m_patch; }
42 inline bool PatchHasBeenSet() const { return m_patchHasBeenSet; }
43 template <typename PatchT = Aws::String>
44 void SetPatch(PatchT&& value) {
45 m_patchHasBeenSet = true;
46 m_patch = std::forward<PatchT>(value);
47 }
48 template <typename PatchT = Aws::String>
50 SetPatch(std::forward<PatchT>(value));
51 return *this;
52 }
54
56
60 inline PatchFormat GetFormat() const { return m_format; }
61 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
62 inline void SetFormat(PatchFormat value) {
63 m_formatHasBeenSet = true;
64 m_format = value;
65 }
67 SetFormat(value);
68 return *this;
69 }
71
73
76 inline const Aws::String& GetFilename() const { return m_filename; }
77 inline bool FilenameHasBeenSet() const { return m_filenameHasBeenSet; }
78 template <typename FilenameT = Aws::String>
79 void SetFilename(FilenameT&& value) {
80 m_filenameHasBeenSet = true;
81 m_filename = std::forward<FilenameT>(value);
82 }
83 template <typename FilenameT = Aws::String>
85 SetFilename(std::forward<FilenameT>(value));
86 return *this;
87 }
89
91
97 inline const Aws::String& GetPatchSha256() const { return m_patchSha256; }
98 inline bool PatchSha256HasBeenSet() const { return m_patchSha256HasBeenSet; }
99 template <typename PatchSha256T = Aws::String>
100 void SetPatchSha256(PatchSha256T&& value) {
101 m_patchSha256HasBeenSet = true;
102 m_patchSha256 = std::forward<PatchSha256T>(value);
103 }
104 template <typename PatchSha256T = Aws::String>
106 SetPatchSha256(std::forward<PatchSha256T>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_patch;
112
114
115 Aws::String m_filename;
116
117 Aws::String m_patchSha256;
118 bool m_patchHasBeenSet = false;
119 bool m_formatHasBeenSet = false;
120 bool m_filenameHasBeenSet = false;
121 bool m_patchSha256HasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace Continuum
126} // namespace Aws
RemediationProposalBody & WithFormat(PatchFormat value)
RemediationProposalBody & WithFilename(FilenameT &&value)
RemediationProposalBody & WithPatchSha256(PatchSha256T &&value)
AWS_CONTINUUM_API RemediationProposalBody(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONTINUUM_API RemediationProposalBody & operator=(Aws::Utils::Json::JsonView jsonValue)
RemediationProposalBody & WithPatch(PatchT &&value)
AWS_CONTINUUM_API RemediationProposalBody()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue