AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntegrationError.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace RDS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_RDS_API IntegrationError();
36 AWS_RDS_API IntegrationError(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
48 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
49 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
50 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
51 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
52 inline IntegrationError& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
53 inline IntegrationError& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
54 inline IntegrationError& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
56
58
61 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
62 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
63 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
64 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
65 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
66 inline IntegrationError& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
67 inline IntegrationError& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
68 inline IntegrationError& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
70 private:
71
72 Aws::String m_errorCode;
73 bool m_errorCodeHasBeenSet = false;
74
75 Aws::String m_errorMessage;
76 bool m_errorMessageHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace RDS
81} // namespace Aws
const Aws::String & GetErrorMessage() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API IntegrationError(const Aws::Utils::Xml::XmlNode &xmlNode)
IntegrationError & WithErrorMessage(const Aws::String &value)
void SetErrorCode(Aws::String &&value)
const Aws::String & GetErrorCode() const
void SetErrorCode(const char *value)
void SetErrorMessage(Aws::String &&value)
IntegrationError & WithErrorCode(Aws::String &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetErrorCode(const Aws::String &value)
void SetErrorMessage(const char *value)
AWS_RDS_API IntegrationError & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IntegrationError & WithErrorCode(const char *value)
IntegrationError & WithErrorMessage(const char *value)
IntegrationError & WithErrorMessage(Aws::String &&value)
void SetErrorMessage(const Aws::String &value)
IntegrationError & WithErrorCode(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream