AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EventDestinationAlreadyExistsException.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
33 {
34 public:
38
39 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetConfigurationSetName() const { return m_configurationSetName; }
48 inline bool ConfigurationSetNameHasBeenSet() const { return m_configurationSetNameHasBeenSet; }
49 template<typename ConfigurationSetNameT = Aws::String>
50 void SetConfigurationSetName(ConfigurationSetNameT&& value) { m_configurationSetNameHasBeenSet = true; m_configurationSetName = std::forward<ConfigurationSetNameT>(value); }
51 template<typename ConfigurationSetNameT = Aws::String>
52 EventDestinationAlreadyExistsException& WithConfigurationSetName(ConfigurationSetNameT&& value) { SetConfigurationSetName(std::forward<ConfigurationSetNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetEventDestinationName() const { return m_eventDestinationName; }
60 inline bool EventDestinationNameHasBeenSet() const { return m_eventDestinationNameHasBeenSet; }
61 template<typename EventDestinationNameT = Aws::String>
62 void SetEventDestinationName(EventDestinationNameT&& value) { m_eventDestinationNameHasBeenSet = true; m_eventDestinationName = std::forward<EventDestinationNameT>(value); }
63 template<typename EventDestinationNameT = Aws::String>
64 EventDestinationAlreadyExistsException& WithEventDestinationName(EventDestinationNameT&& value) { SetEventDestinationName(std::forward<EventDestinationNameT>(value)); return *this;}
66 private:
67
68 Aws::String m_configurationSetName;
69 bool m_configurationSetNameHasBeenSet = false;
70
71 Aws::String m_eventDestinationName;
72 bool m_eventDestinationNameHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SES
77} // namespace Aws
EventDestinationAlreadyExistsException & WithEventDestinationName(EventDestinationNameT &&value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_SES_API EventDestinationAlreadyExistsException(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API EventDestinationAlreadyExistsException & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EventDestinationAlreadyExistsException & WithConfigurationSetName(ConfigurationSetNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream