AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ExportErrorDetailsOutput.h
1
6#pragma once
7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker-geospatial/model/ExportErrorType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMakerGeospatial
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKERGEOSPATIAL_API ExportErrorDetailsOutput() = default;
37 AWS_SAGEMAKERGEOSPATIAL_API ExportErrorDetailsOutput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKERGEOSPATIAL_API ExportErrorDetailsOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetMessage() const { return m_message; }
48 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
49 template<typename MessageT = Aws::String>
50 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
51 template<typename MessageT = Aws::String>
52 ExportErrorDetailsOutput& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
54
56
59 inline ExportErrorType GetType() const { return m_type; }
60 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
61 inline void SetType(ExportErrorType value) { m_typeHasBeenSet = true; m_type = value; }
62 inline ExportErrorDetailsOutput& WithType(ExportErrorType value) { SetType(value); return *this;}
64 private:
65
66 Aws::String m_message;
67 bool m_messageHasBeenSet = false;
68
70 bool m_typeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SageMakerGeospatial
75} // namespace Aws
AWS_SAGEMAKERGEOSPATIAL_API ExportErrorDetailsOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERGEOSPATIAL_API ExportErrorDetailsOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERGEOSPATIAL_API ExportErrorDetailsOutput()=default
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
ExportErrorDetailsOutput & WithType(ExportErrorType value)
ExportErrorDetailsOutput & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue