AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RevokeSecurityGroupIngressResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <aws/ec2/model/IpPermission.h>
11#include <aws/ec2/model/RevokedSecurityGroupRule.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace EC2
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline bool GetReturn() const{ return m_return; }
44 inline void SetReturn(bool value) { m_return = value; }
45 inline RevokeSecurityGroupIngressResponse& WithReturn(bool value) { SetReturn(value); return *this;}
47
49
54 inline const Aws::Vector<IpPermission>& GetUnknownIpPermissions() const{ return m_unknownIpPermissions; }
55 inline void SetUnknownIpPermissions(const Aws::Vector<IpPermission>& value) { m_unknownIpPermissions = value; }
56 inline void SetUnknownIpPermissions(Aws::Vector<IpPermission>&& value) { m_unknownIpPermissions = std::move(value); }
59 inline RevokeSecurityGroupIngressResponse& AddUnknownIpPermissions(const IpPermission& value) { m_unknownIpPermissions.push_back(value); return *this; }
60 inline RevokeSecurityGroupIngressResponse& AddUnknownIpPermissions(IpPermission&& value) { m_unknownIpPermissions.push_back(std::move(value)); return *this; }
62
64
67 inline const Aws::Vector<RevokedSecurityGroupRule>& GetRevokedSecurityGroupRules() const{ return m_revokedSecurityGroupRules; }
68 inline void SetRevokedSecurityGroupRules(const Aws::Vector<RevokedSecurityGroupRule>& value) { m_revokedSecurityGroupRules = value; }
69 inline void SetRevokedSecurityGroupRules(Aws::Vector<RevokedSecurityGroupRule>&& value) { m_revokedSecurityGroupRules = std::move(value); }
72 inline RevokeSecurityGroupIngressResponse& AddRevokedSecurityGroupRules(const RevokedSecurityGroupRule& value) { m_revokedSecurityGroupRules.push_back(value); return *this; }
73 inline RevokeSecurityGroupIngressResponse& AddRevokedSecurityGroupRules(RevokedSecurityGroupRule&& value) { m_revokedSecurityGroupRules.push_back(std::move(value)); return *this; }
75
77
78 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
79 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
80 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
84 private:
85
86 bool m_return;
87
88 Aws::Vector<IpPermission> m_unknownIpPermissions;
89
90 Aws::Vector<RevokedSecurityGroupRule> m_revokedSecurityGroupRules;
91
92 ResponseMetadata m_responseMetadata;
93 };
94
95} // namespace Model
96} // namespace EC2
97} // namespace Aws
RevokeSecurityGroupIngressResponse & WithUnknownIpPermissions(Aws::Vector< IpPermission > &&value)
AWS_EC2_API RevokeSecurityGroupIngressResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
RevokeSecurityGroupIngressResponse & WithResponseMetadata(const ResponseMetadata &value)
void SetRevokedSecurityGroupRules(Aws::Vector< RevokedSecurityGroupRule > &&value)
RevokeSecurityGroupIngressResponse & AddUnknownIpPermissions(IpPermission &&value)
RevokeSecurityGroupIngressResponse & AddUnknownIpPermissions(const IpPermission &value)
RevokeSecurityGroupIngressResponse & AddRevokedSecurityGroupRules(const RevokedSecurityGroupRule &value)
AWS_EC2_API RevokeSecurityGroupIngressResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
RevokeSecurityGroupIngressResponse & WithUnknownIpPermissions(const Aws::Vector< IpPermission > &value)
const Aws::Vector< IpPermission > & GetUnknownIpPermissions() const
RevokeSecurityGroupIngressResponse & WithRevokedSecurityGroupRules(const Aws::Vector< RevokedSecurityGroupRule > &value)
RevokeSecurityGroupIngressResponse & WithRevokedSecurityGroupRules(Aws::Vector< RevokedSecurityGroupRule > &&value)
const Aws::Vector< RevokedSecurityGroupRule > & GetRevokedSecurityGroupRules() const
RevokeSecurityGroupIngressResponse & WithReturn(bool value)
void SetRevokedSecurityGroupRules(const Aws::Vector< RevokedSecurityGroupRule > &value)
void SetUnknownIpPermissions(const Aws::Vector< IpPermission > &value)
RevokeSecurityGroupIngressResponse & WithResponseMetadata(ResponseMetadata &&value)
RevokeSecurityGroupIngressResponse & AddRevokedSecurityGroupRules(RevokedSecurityGroupRule &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument