AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
ConfigurationSet.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/email/SES_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace SES {
20namespace Model {
21
34 public:
35 AWS_SES_API ConfigurationSet() = default;
36 AWS_SES_API ConfigurationSet(const Aws::Utils::Xml::XmlNode& xmlNode);
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
43
49 inline const Aws::String& GetName() const { return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 template <typename NameT = Aws::String>
52 void SetName(NameT&& value) {
53 m_nameHasBeenSet = true;
54 m_name = std::forward<NameT>(value);
55 }
56 template <typename NameT = Aws::String>
57 ConfigurationSet& WithName(NameT&& value) {
58 SetName(std::forward<NameT>(value));
59 return *this;
60 }
62 private:
63 Aws::String m_name;
64 bool m_nameHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace SES
69} // namespace Aws
AWS_SES_API ConfigurationSet(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ConfigurationSet & WithName(NameT &&value)
AWS_SES_API ConfigurationSet()=default
const Aws::String & GetName() const
AWS_SES_API ConfigurationSet & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream