AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ExportErrorData.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/Mgn_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace mgn {
20namespace Model {
21
28 public:
29 AWS_MGN_API ExportErrorData() = default;
33
35
38 inline const Aws::String& GetRawError() const { return m_rawError; }
39 inline bool RawErrorHasBeenSet() const { return m_rawErrorHasBeenSet; }
40 template <typename RawErrorT = Aws::String>
41 void SetRawError(RawErrorT&& value) {
42 m_rawErrorHasBeenSet = true;
43 m_rawError = std::forward<RawErrorT>(value);
44 }
45 template <typename RawErrorT = Aws::String>
46 ExportErrorData& WithRawError(RawErrorT&& value) {
47 SetRawError(std::forward<RawErrorT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_rawError;
53 bool m_rawErrorHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace mgn
58} // namespace Aws
void SetRawError(RawErrorT &&value)
AWS_MGN_API ExportErrorData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MGN_API ExportErrorData()=default
const Aws::String & GetRawError() const
ExportErrorData & WithRawError(RawErrorT &&value)
AWS_MGN_API ExportErrorData(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue