AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConflictException.h
1
6#pragma once
7#include <aws/neptune-graph/NeptuneGraph_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptune-graph/model/ConflictExceptionReason.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 NeptuneGraph
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_NEPTUNEGRAPH_API ConflictException();
36 AWS_NEPTUNEGRAPH_API ConflictException(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NEPTUNEGRAPH_API ConflictException& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NEPTUNEGRAPH_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 ConflictException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
51 inline ConflictException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
52 inline ConflictException& WithMessage(const char* value) { SetMessage(value); return *this;}
54
56
59 inline const ConflictExceptionReason& GetReason() const{ return m_reason; }
60 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
61 inline void SetReason(const ConflictExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; }
62 inline void SetReason(ConflictExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
63 inline ConflictException& WithReason(const ConflictExceptionReason& value) { SetReason(value); return *this;}
64 inline ConflictException& WithReason(ConflictExceptionReason&& value) { SetReason(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_message;
69 bool m_messageHasBeenSet = false;
70
72 bool m_reasonHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace NeptuneGraph
77} // namespace Aws
ConflictException & WithMessage(Aws::String &&value)
ConflictException & WithMessage(const char *value)
AWS_NEPTUNEGRAPH_API ConflictException(Aws::Utils::Json::JsonView jsonValue)
const ConflictExceptionReason & GetReason() const
AWS_NEPTUNEGRAPH_API ConflictException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(const Aws::String &value)
ConflictException & WithMessage(const Aws::String &value)
AWS_NEPTUNEGRAPH_API Aws::Utils::Json::JsonValue Jsonize() const
ConflictException & WithReason(ConflictExceptionReason &&value)
void SetReason(const ConflictExceptionReason &value)
void SetReason(ConflictExceptionReason &&value)
ConflictException & WithReason(const ConflictExceptionReason &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue