AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
35 AWS_GLUE_API FederationSourceException() = default;
39
40
42
45 inline FederationSourceErrorCode GetFederationSourceErrorCode() const { return m_federationSourceErrorCode; }
46 inline bool FederationSourceErrorCodeHasBeenSet() const { return m_federationSourceErrorCodeHasBeenSet; }
47 inline void SetFederationSourceErrorCode(FederationSourceErrorCode value) { m_federationSourceErrorCodeHasBeenSet = true; m_federationSourceErrorCode = value; }
50
52
55 inline const Aws::String& GetMessage() const { return m_message; }
56 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
57 template<typename MessageT = Aws::String>
58 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
59 template<typename MessageT = Aws::String>
60 FederationSourceException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
62 private:
63
65 bool m_federationSourceErrorCodeHasBeenSet = false;
66
67 Aws::String m_message;
68 bool m_messageHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Glue
73} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API FederationSourceException(Aws::Utils::Json::JsonView jsonValue)
FederationSourceErrorCode GetFederationSourceErrorCode() const
AWS_GLUE_API FederationSourceException & operator=(Aws::Utils::Json::JsonView jsonValue)
FederationSourceException & WithFederationSourceErrorCode(FederationSourceErrorCode value)
AWS_GLUE_API FederationSourceException()=default
FederationSourceException & WithMessage(MessageT &&value)
void SetFederationSourceErrorCode(FederationSourceErrorCode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue