AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FederationSourceException.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/FederationSourceErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Glue
23{
24namespace Model
25{
26
33 {
34 public:
39
40
42
45 inline const FederationSourceErrorCode& GetFederationSourceErrorCode() const{ return m_federationSourceErrorCode; }
46 inline bool FederationSourceErrorCodeHasBeenSet() const { return m_federationSourceErrorCodeHasBeenSet; }
47 inline void SetFederationSourceErrorCode(const FederationSourceErrorCode& value) { m_federationSourceErrorCodeHasBeenSet = true; m_federationSourceErrorCode = value; }
48 inline void SetFederationSourceErrorCode(FederationSourceErrorCode&& value) { m_federationSourceErrorCodeHasBeenSet = true; m_federationSourceErrorCode = std::move(value); }
52
54
57 inline const Aws::String& GetMessage() const{ return m_message; }
58 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
59 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
60 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
61 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
62 inline FederationSourceException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
63 inline FederationSourceException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
64 inline FederationSourceException& WithMessage(const char* value) { SetMessage(value); return *this;}
66 private:
67
68 FederationSourceErrorCode m_federationSourceErrorCode;
69 bool m_federationSourceErrorCodeHasBeenSet = false;
70
71 Aws::String m_message;
72 bool m_messageHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Glue
77} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API FederationSourceException(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API FederationSourceException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFederationSourceErrorCode(FederationSourceErrorCode &&value)
FederationSourceException & WithMessage(Aws::String &&value)
FederationSourceException & WithMessage(const char *value)
FederationSourceException & WithFederationSourceErrorCode(const FederationSourceErrorCode &value)
FederationSourceException & WithFederationSourceErrorCode(FederationSourceErrorCode &&value)
const FederationSourceErrorCode & GetFederationSourceErrorCode() const
void SetFederationSourceErrorCode(const FederationSourceErrorCode &value)
FederationSourceException & WithMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue