AWS SDK for C++  1.9.104
AWS SDK for C++
VerificationException.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sns/SNS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SNS
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
43 
44  inline const Aws::String& GetMessage() const{ return m_message; }
45 
46 
47  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
48 
49 
50  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
51 
52 
53  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
54 
55 
56  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
57 
58 
59  inline VerificationException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
60 
61 
62  inline VerificationException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
63 
64 
65  inline VerificationException& WithMessage(const char* value) { SetMessage(value); return *this;}
66 
67 
71  inline const Aws::String& GetStatus() const{ return m_status; }
72 
76  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 
81  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
82 
86  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
87 
91  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
92 
96  inline VerificationException& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
97 
101  inline VerificationException& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
102 
106  inline VerificationException& WithStatus(const char* value) { SetStatus(value); return *this;}
107 
108  private:
109 
110  Aws::String m_message;
111  bool m_messageHasBeenSet;
112 
113  Aws::String m_status;
114  bool m_statusHasBeenSet;
115  };
116 
117 } // namespace Model
118 } // namespace SNS
119 } // namespace Aws
Aws::SNS::Model::VerificationException::SetStatus
void SetStatus(Aws::String &&value)
Definition: VerificationException.h:86
Aws::SNS::Model::VerificationException::operator=
VerificationException & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SNS::Model::VerificationException::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SNS::Model::VerificationException::WithMessage
VerificationException & WithMessage(const Aws::String &value)
Definition: VerificationException.h:59
Aws::SNS::Model::VerificationException::GetMessage
const Aws::String & GetMessage() const
Definition: VerificationException.h:44
AWSStreamFwd.h
Aws::SNS::Model::VerificationException::VerificationException
VerificationException(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SNS::Model::VerificationException::SetStatus
void SetStatus(const Aws::String &value)
Definition: VerificationException.h:81
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SNS::Model::VerificationException::WithMessage
VerificationException & WithMessage(const char *value)
Definition: VerificationException.h:65
Aws::SNS::Model::VerificationException::WithMessage
VerificationException & WithMessage(Aws::String &&value)
Definition: VerificationException.h:62
Aws::SNS::Model::VerificationException::WithStatus
VerificationException & WithStatus(Aws::String &&value)
Definition: VerificationException.h:101
AWSString.h
Aws::SNS::Model::VerificationException::SetMessage
void SetMessage(const char *value)
Definition: VerificationException.h:56
Aws::SNS::Model::VerificationException
Definition: VerificationException.h:33
Aws::SNS::Model::VerificationException::WithStatus
VerificationException & WithStatus(const Aws::String &value)
Definition: VerificationException.h:96
Aws::SNS::Model::VerificationException::VerificationException
VerificationException()
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
Aws::SNS::Model::VerificationException::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: VerificationException.h:76
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
SNS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SNS::Model::VerificationException::WithStatus
VerificationException & WithStatus(const char *value)
Definition: VerificationException.h:106
Aws::SNS::Model::VerificationException::SetMessage
void SetMessage(Aws::String &&value)
Definition: VerificationException.h:53
Aws::SNS::Model::VerificationException::SetStatus
void SetStatus(const char *value)
Definition: VerificationException.h:91
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::SNS::Model::VerificationException::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SNS::Model::VerificationException::GetStatus
const Aws::String & GetStatus() const
Definition: VerificationException.h:71
Aws::SNS::Model::VerificationException::SetMessage
void SetMessage(const Aws::String &value)
Definition: VerificationException.h:50
Aws::SNS::Model::VerificationException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: VerificationException.h:47