AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IntegrationError.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLUE_API IntegrationError() = default;
39
40
42
45 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
46 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
47 template<typename ErrorCodeT = Aws::String>
48 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::forward<ErrorCodeT>(value); }
49 template<typename ErrorCodeT = Aws::String>
50 IntegrationError& WithErrorCode(ErrorCodeT&& value) { SetErrorCode(std::forward<ErrorCodeT>(value)); return *this;}
52
54
57 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
58 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
59 template<typename ErrorMessageT = Aws::String>
60 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
61 template<typename ErrorMessageT = Aws::String>
62 IntegrationError& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
64 private:
65
66 Aws::String m_errorCode;
67 bool m_errorCodeHasBeenSet = false;
68
69 Aws::String m_errorMessage;
70 bool m_errorMessageHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Glue
75} // namespace Aws
void SetErrorMessage(ErrorMessageT &&value)
const Aws::String & GetErrorMessage() const
const Aws::String & GetErrorCode() const
AWS_GLUE_API IntegrationError()=default
AWS_GLUE_API IntegrationError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorCode(ErrorCodeT &&value)
AWS_GLUE_API IntegrationError(Aws::Utils::Json::JsonView jsonValue)
IntegrationError & WithErrorMessage(ErrorMessageT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
IntegrationError & WithErrorCode(ErrorCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue