AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SnapshotJobErrorInfo.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_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 QuickSight
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_QUICKSIGHT_API SnapshotJobErrorInfo();
36 AWS_QUICKSIGHT_API SnapshotJobErrorInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
46 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
47 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
48 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
49 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
50 inline SnapshotJobErrorInfo& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
51 inline SnapshotJobErrorInfo& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
52 inline SnapshotJobErrorInfo& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
54
56
59 inline const Aws::String& GetErrorType() const{ return m_errorType; }
60 inline bool ErrorTypeHasBeenSet() const { return m_errorTypeHasBeenSet; }
61 inline void SetErrorType(const Aws::String& value) { m_errorTypeHasBeenSet = true; m_errorType = value; }
62 inline void SetErrorType(Aws::String&& value) { m_errorTypeHasBeenSet = true; m_errorType = std::move(value); }
63 inline void SetErrorType(const char* value) { m_errorTypeHasBeenSet = true; m_errorType.assign(value); }
64 inline SnapshotJobErrorInfo& WithErrorType(const Aws::String& value) { SetErrorType(value); return *this;}
65 inline SnapshotJobErrorInfo& WithErrorType(Aws::String&& value) { SetErrorType(std::move(value)); return *this;}
66 inline SnapshotJobErrorInfo& WithErrorType(const char* value) { SetErrorType(value); return *this;}
68 private:
69
70 Aws::String m_errorMessage;
71 bool m_errorMessageHasBeenSet = false;
72
73 Aws::String m_errorType;
74 bool m_errorTypeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
SnapshotJobErrorInfo & WithErrorType(const Aws::String &value)
SnapshotJobErrorInfo & WithErrorType(Aws::String &&value)
SnapshotJobErrorInfo & WithErrorMessage(const Aws::String &value)
SnapshotJobErrorInfo & WithErrorMessage(Aws::String &&value)
SnapshotJobErrorInfo & WithErrorType(const char *value)
SnapshotJobErrorInfo & WithErrorMessage(const char *value)
AWS_QUICKSIGHT_API SnapshotJobErrorInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API SnapshotJobErrorInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue