AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StatusDetails.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_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 CleanRoomsML
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CLEANROOMSML_API StatusDetails();
35 AWS_CLEANROOMSML_API StatusDetails(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CLEANROOMSML_API StatusDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
47 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
48 inline void SetStatusCode(const Aws::String& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
49 inline void SetStatusCode(Aws::String&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
50 inline void SetStatusCode(const char* value) { m_statusCodeHasBeenSet = true; m_statusCode.assign(value); }
51 inline StatusDetails& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
52 inline StatusDetails& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
53 inline StatusDetails& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
55
57
62 inline const Aws::String& GetMessage() const{ return m_message; }
63 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
64 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
65 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
66 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
67 inline StatusDetails& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
68 inline StatusDetails& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
69 inline StatusDetails& WithMessage(const char* value) { SetMessage(value); return *this;}
71 private:
72
73 Aws::String m_statusCode;
74 bool m_statusCodeHasBeenSet = false;
75
76 Aws::String m_message;
77 bool m_messageHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CleanRoomsML
82} // namespace Aws
StatusDetails & WithMessage(const Aws::String &value)
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStatusCode() const
AWS_CLEANROOMSML_API StatusDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API StatusDetails(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(Aws::String &&value)
const Aws::String & GetMessage() const
StatusDetails & WithMessage(const char *value)
void SetStatusCode(const Aws::String &value)
StatusDetails & WithStatusCode(const char *value)
void SetStatusCode(Aws::String &&value)
StatusDetails & WithStatusCode(Aws::String &&value)
void SetStatusCode(const char *value)
AWS_CLEANROOMSML_API StatusDetails()
StatusDetails & WithStatusCode(const Aws::String &value)
StatusDetails & WithMessage(Aws::String &&value)
void SetMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue