AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OptionGroupMembership.h
1
6#pragma once
7#include <aws/neptune/Neptune_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 Neptune
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_NEPTUNE_API OptionGroupMembership() = default;
35 AWS_NEPTUNE_API OptionGroupMembership(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetOptionGroupName() const { return m_optionGroupName; }
47 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
48 template<typename OptionGroupNameT = Aws::String>
49 void SetOptionGroupName(OptionGroupNameT&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::forward<OptionGroupNameT>(value); }
50 template<typename OptionGroupNameT = Aws::String>
51 OptionGroupMembership& WithOptionGroupName(OptionGroupNameT&& value) { SetOptionGroupName(std::forward<OptionGroupNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetStatus() const { return m_status; }
59 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
60 template<typename StatusT = Aws::String>
61 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
62 template<typename StatusT = Aws::String>
63 OptionGroupMembership& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
65 private:
66
67 Aws::String m_optionGroupName;
68 bool m_optionGroupNameHasBeenSet = false;
69
70 Aws::String m_status;
71 bool m_statusHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Neptune
76} // namespace Aws
void SetOptionGroupName(OptionGroupNameT &&value)
OptionGroupMembership & WithStatus(StatusT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_NEPTUNE_API OptionGroupMembership & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API OptionGroupMembership()=default
OptionGroupMembership & WithOptionGroupName(OptionGroupNameT &&value)
AWS_NEPTUNE_API OptionGroupMembership(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_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