AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExtensionField.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
36 {
37 public:
38 AWS_SES_API ExtensionField();
39 AWS_SES_API ExtensionField(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
52 inline const Aws::String& GetName() const{ return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
57 inline ExtensionField& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline ExtensionField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline ExtensionField& WithName(const char* value) { SetName(value); return *this;}
61
63
67 inline const Aws::String& GetValue() const{ return m_value; }
68 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
69 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
70 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
71 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
72 inline ExtensionField& WithValue(const Aws::String& value) { SetValue(value); return *this;}
73 inline ExtensionField& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
74 inline ExtensionField& WithValue(const char* value) { SetValue(value); return *this;}
76 private:
77
78 Aws::String m_name;
79 bool m_nameHasBeenSet = false;
80
81 Aws::String m_value;
82 bool m_valueHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace SES
87} // namespace Aws
void SetValue(Aws::String &&value)
void SetValue(const Aws::String &value)
AWS_SES_API ExtensionField(const Aws::Utils::Xml::XmlNode &xmlNode)
ExtensionField & WithValue(const char *value)
void SetName(const char *value)
ExtensionField & WithName(const Aws::String &value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetValue(const char *value)
ExtensionField & WithValue(const Aws::String &value)
ExtensionField & WithName(const char *value)
ExtensionField & WithValue(Aws::String &&value)
AWS_SES_API ExtensionField & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetValue() const
ExtensionField & WithName(Aws::String &&value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetName(Aws::String &&value)
const Aws::String & GetName() const
void SetName(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