AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
LastReportGenerationExecutionError.h
Go to the documentation of this file.
1
6#pragma once
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 AppStream
23{
24namespace Model
25{
26
34 {
35 public:
40
41
46 inline const UsageReportExecutionErrorCode& GetErrorCode() const{ return m_errorCode; }
47
52 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
53
58 inline void SetErrorCode(const UsageReportExecutionErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
59
64 inline void SetErrorCode(UsageReportExecutionErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
65
71
77
78
83 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
84
89 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
90
95 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
96
101 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
102
107 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
108
114
119 inline LastReportGenerationExecutionError& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
120
125 inline LastReportGenerationExecutionError& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
126
127 private:
128
130 bool m_errorCodeHasBeenSet = false;
131
132 Aws::String m_errorMessage;
133 bool m_errorMessageHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace AppStream
138} // namespace Aws
#define AWS_APPSTREAM_API
AWS_APPSTREAM_API LastReportGenerationExecutionError & operator=(Aws::Utils::Json::JsonView jsonValue)
LastReportGenerationExecutionError & WithErrorCode(const UsageReportExecutionErrorCode &value)
LastReportGenerationExecutionError & WithErrorMessage(Aws::String &&value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
LastReportGenerationExecutionError & WithErrorCode(UsageReportExecutionErrorCode &&value)
LastReportGenerationExecutionError & WithErrorMessage(const Aws::String &value)
LastReportGenerationExecutionError & WithErrorMessage(const char *value)
AWS_APPSTREAM_API LastReportGenerationExecutionError(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String