AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GremlinQueryStatusAttributes.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Document.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace neptunedata
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_NEPTUNEDATA_API GremlinQueryStatusAttributes();
38 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetMessage() const{ return m_message; }
46 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
47 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
48 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
49 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
50 inline GremlinQueryStatusAttributes& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
51 inline GremlinQueryStatusAttributes& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
52 inline GremlinQueryStatusAttributes& WithMessage(const char* value) { SetMessage(value); return *this;}
54
56
59 inline int GetCode() const{ return m_code; }
60 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
61 inline void SetCode(int value) { m_codeHasBeenSet = true; m_code = value; }
62 inline GremlinQueryStatusAttributes& WithCode(int value) { SetCode(value); return *this;}
64
66
69 inline Aws::Utils::DocumentView GetAttributes() const{ return m_attributes; }
70 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
71 inline void SetAttributes(const Aws::Utils::Document& value) { m_attributesHasBeenSet = true; m_attributes = value; }
72 inline void SetAttributes(Aws::Utils::Document&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
74 inline GremlinQueryStatusAttributes& WithAttributes(Aws::Utils::Document&& value) { SetAttributes(std::move(value)); return *this;}
76 private:
77
78 Aws::String m_message;
79 bool m_messageHasBeenSet = false;
80
81 int m_code;
82 bool m_codeHasBeenSet = false;
83
84 Aws::Utils::Document m_attributes;
85 bool m_attributesHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace neptunedata
90} // namespace Aws
GremlinQueryStatusAttributes & WithMessage(const char *value)
AWS_NEPTUNEDATA_API GremlinQueryStatusAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_NEPTUNEDATA_API GremlinQueryStatusAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
GremlinQueryStatusAttributes & WithAttributes(const Aws::Utils::Document &value)
GremlinQueryStatusAttributes & WithAttributes(Aws::Utils::Document &&value)
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
GremlinQueryStatusAttributes & WithMessage(Aws::String &&value)
GremlinQueryStatusAttributes & WithMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue