AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ErrorInfo.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_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 KinesisAnalyticsV2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_KINESISANALYTICSV2_API ErrorInfo();
35 AWS_KINESISANALYTICSV2_API ErrorInfo(Aws::Utils::Json::JsonView jsonValue);
36 AWS_KINESISANALYTICSV2_API ErrorInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
42 inline const Aws::String& GetErrorString() const{ return m_errorString; }
43 inline bool ErrorStringHasBeenSet() const { return m_errorStringHasBeenSet; }
44 inline void SetErrorString(const Aws::String& value) { m_errorStringHasBeenSet = true; m_errorString = value; }
45 inline void SetErrorString(Aws::String&& value) { m_errorStringHasBeenSet = true; m_errorString = std::move(value); }
46 inline void SetErrorString(const char* value) { m_errorStringHasBeenSet = true; m_errorString.assign(value); }
47 inline ErrorInfo& WithErrorString(const Aws::String& value) { SetErrorString(value); return *this;}
48 inline ErrorInfo& WithErrorString(Aws::String&& value) { SetErrorString(std::move(value)); return *this;}
49 inline ErrorInfo& WithErrorString(const char* value) { SetErrorString(value); return *this;}
51 private:
52
53 Aws::String m_errorString;
54 bool m_errorStringHasBeenSet = false;
55 };
56
57} // namespace Model
58} // namespace KinesisAnalyticsV2
59} // namespace Aws
ErrorInfo & WithErrorString(const char *value)
Definition ErrorInfo.h:49
AWS_KINESISANALYTICSV2_API ErrorInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API ErrorInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ErrorInfo & WithErrorString(const Aws::String &value)
Definition ErrorInfo.h:47
ErrorInfo & WithErrorString(Aws::String &&value)
Definition ErrorInfo.h:48
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API ErrorInfo()
void SetErrorString(Aws::String &&value)
Definition ErrorInfo.h:45
void SetErrorString(const char *value)
Definition ErrorInfo.h:46
const Aws::String & GetErrorString() const
Definition ErrorInfo.h:42
void SetErrorString(const Aws::String &value)
Definition ErrorInfo.h:44
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue