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/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();
39 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
57 inline const ConflictType& GetConflictType() const{ return m_conflictType; }
58 inline bool ConflictTypeHasBeenSet() const { return m_conflictTypeHasBeenSet; }
59 inline void SetConflictType(const ConflictType& value) { m_conflictTypeHasBeenSet = true; m_conflictType = value; }
60 inline void SetConflictType(ConflictType&& value) { m_conflictTypeHasBeenSet = true; m_conflictType = std::move(value); }
61 inline ConflictException& WithConflictType(const ConflictType& value) { SetConflictType(value); return *this;}
62 inline ConflictException& WithConflictType(ConflictType&& value) { SetConflictType(std::move(value)); return *this;}
64
66
67 inline const Aws::String& GetMessage() const{ return m_message; }
68 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
69 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
70 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
71 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
72 inline ConflictException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
73 inline ConflictException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
74 inline ConflictException& WithMessage(const char* value) { SetMessage(value); return *this;}
76 private:
77
78 ConflictType m_conflictType;
79 bool m_conflictTypeHasBeenSet = false;
80
81 Aws::String m_message;
82 bool m_messageHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace VoiceID
87} // namespace Aws
ConflictException & WithMessage(const char *value)
void SetConflictType(const ConflictType &value)
ConflictException & WithConflictType(const ConflictType &value)
const Aws::String & GetMessage() const
ConflictException & WithConflictType(ConflictType &&value)
ConflictException & WithMessage(Aws::String &&value)
AWS_VOICEID_API ConflictException & operator=(Aws::Utils::Json::JsonView jsonValue)
const ConflictType & GetConflictType() const
void SetConflictType(ConflictType &&value)
AWS_VOICEID_API ConflictException(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(const Aws::String &value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
ConflictException & WithMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue