AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConflictException.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/voice-id/model/ConflictType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 VoiceID
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_VOICEID_API ConflictException() = default;
39 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
57 inline ConflictType GetConflictType() const { return m_conflictType; }
58 inline bool ConflictTypeHasBeenSet() const { return m_conflictTypeHasBeenSet; }
59 inline void SetConflictType(ConflictType value) { m_conflictTypeHasBeenSet = true; m_conflictType = value; }
60 inline ConflictException& WithConflictType(ConflictType value) { SetConflictType(value); return *this;}
62
64
65 inline const Aws::String& GetMessage() const { return m_message; }
66 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
67 template<typename MessageT = Aws::String>
68 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
69 template<typename MessageT = Aws::String>
70 ConflictException& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
72 private:
73
74 ConflictType m_conflictType{ConflictType::NOT_SET};
75 bool m_conflictTypeHasBeenSet = false;
76
77 Aws::String m_message;
78 bool m_messageHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace VoiceID
83} // namespace Aws
ConflictException & WithConflictType(ConflictType value)
const Aws::String & GetMessage() const
AWS_VOICEID_API ConflictException & operator=(Aws::Utils::Json::JsonView jsonValue)
ConflictException & WithMessage(MessageT &&value)
AWS_VOICEID_API ConflictException(Aws::Utils::Json::JsonView jsonValue)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VOICEID_API ConflictException()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue