AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename StatusCodeT = Aws::String>
49 void SetStatusCode(StatusCodeT&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::forward<StatusCodeT>(value); }
50 template<typename StatusCodeT = Aws::String>
51 StatusDetails& WithStatusCode(StatusCodeT&& value) { SetStatusCode(std::forward<StatusCodeT>(value)); return *this;}
53
55
60 inline const Aws::String& GetMessage() const { return m_message; }
61 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
62 template<typename MessageT = Aws::String>
63 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
64 template<typename MessageT = Aws::String>
65 StatusDetails& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
67 private:
68
69 Aws::String m_statusCode;
70 bool m_statusCodeHasBeenSet = false;
71
72 Aws::String m_message;
73 bool m_messageHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CleanRoomsML
78} // namespace Aws
void SetStatusCode(StatusCodeT &&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)
const Aws::String & GetMessage() const
StatusDetails & WithStatusCode(StatusCodeT &&value)
StatusDetails & WithMessage(MessageT &&value)
AWS_CLEANROOMSML_API StatusDetails()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue