AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
50 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
51 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
52 inline ExportErrorDetailsOutput& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
53 inline ExportErrorDetailsOutput& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
54 inline ExportErrorDetailsOutput& WithMessage(const char* value) { SetMessage(value); return *this;}
56
58
61 inline const ExportErrorType& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const ExportErrorType& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(ExportErrorType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline ExportErrorDetailsOutput& WithType(const ExportErrorType& value) { SetType(value); return *this;}
66 inline ExportErrorDetailsOutput& WithType(ExportErrorType&& value) { SetType(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_message;
71 bool m_messageHasBeenSet = false;
72
73 ExportErrorType m_type;
74 bool m_typeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SageMakerGeospatial
79} // namespace Aws
AWS_SAGEMAKERGEOSPATIAL_API ExportErrorDetailsOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERGEOSPATIAL_API ExportErrorDetailsOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportErrorDetailsOutput & WithMessage(const char *value)
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
ExportErrorDetailsOutput & WithMessage(Aws::String &&value)
ExportErrorDetailsOutput & WithType(ExportErrorType &&value)
ExportErrorDetailsOutput & WithMessage(const Aws::String &value)
ExportErrorDetailsOutput & WithType(const ExportErrorType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue