AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProblemDetails.h
1
6#pragma once
7#include <aws/tnb/Tnb_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 tnb
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_TNB_API ProblemDetails();
39
40
42
45 inline const Aws::String& GetDetail() const{ return m_detail; }
46 inline bool DetailHasBeenSet() const { return m_detailHasBeenSet; }
47 inline void SetDetail(const Aws::String& value) { m_detailHasBeenSet = true; m_detail = value; }
48 inline void SetDetail(Aws::String&& value) { m_detailHasBeenSet = true; m_detail = std::move(value); }
49 inline void SetDetail(const char* value) { m_detailHasBeenSet = true; m_detail.assign(value); }
50 inline ProblemDetails& WithDetail(const Aws::String& value) { SetDetail(value); return *this;}
51 inline ProblemDetails& WithDetail(Aws::String&& value) { SetDetail(std::move(value)); return *this;}
52 inline ProblemDetails& WithDetail(const char* value) { SetDetail(value); return *this;}
54
56
59 inline const Aws::String& GetTitle() const{ return m_title; }
60 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
61 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
62 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
63 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
64 inline ProblemDetails& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
65 inline ProblemDetails& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
66 inline ProblemDetails& WithTitle(const char* value) { SetTitle(value); return *this;}
68 private:
69
70 Aws::String m_detail;
71 bool m_detailHasBeenSet = false;
72
73 Aws::String m_title;
74 bool m_titleHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace tnb
79} // namespace Aws
ProblemDetails & WithDetail(const Aws::String &value)
const Aws::String & GetDetail() const
const Aws::String & GetTitle() const
ProblemDetails & WithDetail(const char *value)
ProblemDetails & WithTitle(const char *value)
void SetDetail(Aws::String &&value)
void SetTitle(const Aws::String &value)
ProblemDetails & WithTitle(Aws::String &&value)
ProblemDetails & WithTitle(const Aws::String &value)
AWS_TNB_API ProblemDetails(Aws::Utils::Json::JsonView jsonValue)
ProblemDetails & WithDetail(Aws::String &&value)
void SetTitle(const char *value)
void SetDetail(const Aws::String &value)
AWS_TNB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTitle(Aws::String &&value)
void SetDetail(const char *value)
AWS_TNB_API ProblemDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue