AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VpcSecurityGroupMembership.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
33 {
34 public:
35 AWS_NEPTUNE_API VpcSecurityGroupMembership() = default;
38
39 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetVpcSecurityGroupId() const { return m_vpcSecurityGroupId; }
48 inline bool VpcSecurityGroupIdHasBeenSet() const { return m_vpcSecurityGroupIdHasBeenSet; }
49 template<typename VpcSecurityGroupIdT = Aws::String>
50 void SetVpcSecurityGroupId(VpcSecurityGroupIdT&& value) { m_vpcSecurityGroupIdHasBeenSet = true; m_vpcSecurityGroupId = std::forward<VpcSecurityGroupIdT>(value); }
51 template<typename VpcSecurityGroupIdT = Aws::String>
52 VpcSecurityGroupMembership& WithVpcSecurityGroupId(VpcSecurityGroupIdT&& value) { SetVpcSecurityGroupId(std::forward<VpcSecurityGroupIdT>(value)); return *this;}
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) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
63 template<typename StatusT = Aws::String>
64 VpcSecurityGroupMembership& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
66 private:
67
68 Aws::String m_vpcSecurityGroupId;
69 bool m_vpcSecurityGroupIdHasBeenSet = false;
70
71 Aws::String m_status;
72 bool m_statusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Neptune
77} // 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