AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InvalidSNSDestinationException.h
1
6#pragma once
7#include <aws/email/SES_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 SES
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SES_API InvalidSNSDestinationException() = default;
39
40 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetConfigurationSetName() const { return m_configurationSetName; }
49 inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
50 template<typename ConfigurationSetNameT = Aws::String>
51 void SetConfigurationSetName(ConfigurationSetNameT&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::forward<ConfigurationSetNameT>(value); }
52 template<typename ConfigurationSetNameT = Aws::String>
53 InvalidSNSDestinationException& WithConfigurationSetName(ConfigurationSetNameT&& value) { SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetEventDestinationName() const { return m_eventDestinationName; }
61 inline bool EventDestinationNameHasBeenSet() const { return m_eventDestinationNameHasBeenSet; }
62 template<typename EventDestinationNameT = Aws::String>
63 void SetEventDestinationName(EventDestinationNameT&& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = std::forward<EventDestinationNameT>(value); }
64 template<typename EventDestinationNameT = Aws::String>
65 InvalidSNSDestinationException& WithEventDestinationName(EventDestinationNameT&& value) { SetEventDestinationName(std::forward<EventDestinationNameT>(value)); return *this;}
67 private:
68
69 Aws::String m_configurationSetName;
70 bool m_configurationSetNameHasBeenSet = false;
71
72 Aws::String m_eventDestinationName;
73 bool m_eventDestinationNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SES
78} // namespace Aws
InvalidSNSDestinationException & WithConfigurationSetName(ConfigurationSetNameT &&value)
AWS_SES_API InvalidSNSDestinationException & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InvalidSNSDestinationException & WithEventDestinationName(EventDestinationNameT &&value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_SES_API InvalidSNSDestinationException(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream