AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VerificationException.h
1
6#pragma once
7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace SNS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SNS_API VerificationException();
38
39 AWS_SNS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_SNS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
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 VerificationException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
51 inline VerificationException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
52 inline VerificationException& WithMessage(const char* value) { SetMessage(value); return *this;}
54
56
59 inline const Aws::String& GetStatus() const{ return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
62 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
64 inline VerificationException& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
65 inline VerificationException& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
66 inline VerificationException& WithStatus(const char* value) { SetStatus(value); return *this;}
68 private:
69
70 Aws::String m_message;
71 bool m_messageHasBeenSet = false;
72
73 Aws::String m_status;
74 bool m_statusHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SNS
79} // namespace Aws
VerificationException & WithMessage(const char *value)
AWS_SNS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SNS_API VerificationException & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VerificationException & WithMessage(Aws::String &&value)
AWS_SNS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_SNS_API VerificationException(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMessage(const Aws::String &value)
VerificationException & WithMessage(const Aws::String &value)
VerificationException & WithStatus(const char *value)
VerificationException & WithStatus(Aws::String &&value)
void SetStatus(const Aws::String &value)
VerificationException & WithStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream