AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ProblemDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/tnb/Tnb_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace tnb {
20namespace Model {
21
29 public:
30 AWS_TNB_API ProblemDetails() = default;
34
36
39 inline const Aws::String& GetDetail() const { return m_detail; }
40 inline bool DetailHasBeenSet() const { return m_detailHasBeenSet; }
41 template <typename DetailT = Aws::String>
42 void SetDetail(DetailT&& value) {
43 m_detailHasBeenSet = true;
44 m_detail = std::forward<DetailT>(value);
45 }
46 template <typename DetailT = Aws::String>
47 ProblemDetails& WithDetail(DetailT&& value) {
48 SetDetail(std::forward<DetailT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetTitle() const { return m_title; }
58 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
59 template <typename TitleT = Aws::String>
60 void SetTitle(TitleT&& value) {
61 m_titleHasBeenSet = true;
62 m_title = std::forward<TitleT>(value);
63 }
64 template <typename TitleT = Aws::String>
65 ProblemDetails& WithTitle(TitleT&& value) {
66 SetTitle(std::forward<TitleT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_detail;
72
73 Aws::String m_title;
74 bool m_detailHasBeenSet = false;
75 bool m_titleHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace tnb
80} // namespace Aws
const Aws::String & GetDetail() const
const Aws::String & GetTitle() const
ProblemDetails & WithDetail(DetailT &&value)
AWS_TNB_API ProblemDetails(Aws::Utils::Json::JsonView jsonValue)
void SetDetail(DetailT &&value)
AWS_TNB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTitle(TitleT &&value)
AWS_TNB_API ProblemDetails()=default
AWS_TNB_API ProblemDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ProblemDetails & WithTitle(TitleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue