AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
VpcSecurityGroupMembership.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/neptune/Neptune_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace Neptune {
20namespace Model {
21
29 public:
30 AWS_NEPTUNE_API VpcSecurityGroupMembership() = default;
33
34 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline const Aws::String& GetVpcSecurityGroupId() const { return m_vpcSecurityGroupId; }
42 inline bool VpcSecurityGroupIdHasBeenSet() const { return m_vpcSecurityGroupIdHasBeenSet; }
43 template <typename VpcSecurityGroupIdT = Aws::String>
44 void SetVpcSecurityGroupId(VpcSecurityGroupIdT&& value) {
45 m_vpcSecurityGroupIdHasBeenSet = true;
46 m_vpcSecurityGroupId = std::forward<VpcSecurityGroupIdT>(value);
47 }
48 template <typename VpcSecurityGroupIdT = Aws::String>
49 VpcSecurityGroupMembership& WithVpcSecurityGroupId(VpcSecurityGroupIdT&& value) {
50 SetVpcSecurityGroupId(std::forward<VpcSecurityGroupIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetStatus() const { return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 template <typename StatusT = Aws::String>
62 void SetStatus(StatusT&& value) {
63 m_statusHasBeenSet = true;
64 m_status = std::forward<StatusT>(value);
65 }
66 template <typename StatusT = Aws::String>
68 SetStatus(std::forward<StatusT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_vpcSecurityGroupId;
74
75 Aws::String m_status;
76 bool m_vpcSecurityGroupIdHasBeenSet = false;
77 bool m_statusHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Neptune
82} // namespace Aws
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_NEPTUNE_API VpcSecurityGroupMembership(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API VpcSecurityGroupMembership()=default
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VpcSecurityGroupMembership & WithStatus(StatusT &&value)
AWS_NEPTUNE_API VpcSecurityGroupMembership & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcSecurityGroupMembership & WithVpcSecurityGroupId(VpcSecurityGroupIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream