AWS SDK for C++  1.9.75
AWS SDK for C++
RevokeSecurityGroupEgressResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace EC2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline bool GetReturn() const{ return m_return; }
42 
47  inline void SetReturn(bool value) { m_return = value; }
48 
53  inline RevokeSecurityGroupEgressResponse& WithReturn(bool value) { SetReturn(value); return *this;}
54 
55 
61  inline const Aws::Vector<IpPermission>& GetUnknownIpPermissions() const{ return m_unknownIpPermissions; }
62 
68  inline void SetUnknownIpPermissions(const Aws::Vector<IpPermission>& value) { m_unknownIpPermissions = value; }
69 
75  inline void SetUnknownIpPermissions(Aws::Vector<IpPermission>&& value) { m_unknownIpPermissions = std::move(value); }
76 
82  inline RevokeSecurityGroupEgressResponse& WithUnknownIpPermissions(const Aws::Vector<IpPermission>& value) { SetUnknownIpPermissions(value); return *this;}
83 
89  inline RevokeSecurityGroupEgressResponse& WithUnknownIpPermissions(Aws::Vector<IpPermission>&& value) { SetUnknownIpPermissions(std::move(value)); return *this;}
90 
96  inline RevokeSecurityGroupEgressResponse& AddUnknownIpPermissions(const IpPermission& value) { m_unknownIpPermissions.push_back(value); return *this; }
97 
103  inline RevokeSecurityGroupEgressResponse& AddUnknownIpPermissions(IpPermission&& value) { m_unknownIpPermissions.push_back(std::move(value)); return *this; }
104 
105 
106 
107  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
108 
109 
110  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
111 
112 
113  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
114 
115 
116  inline RevokeSecurityGroupEgressResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
117 
118 
119  inline RevokeSecurityGroupEgressResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
120 
121  private:
122 
123  bool m_return;
124 
125  Aws::Vector<IpPermission> m_unknownIpPermissions;
126 
127  ResponseMetadata m_responseMetadata;
128  };
129 
130 } // namespace Model
131 } // namespace EC2
132 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::RevokeSecurityGroupEgressResponse
RevokeSecurityGroupEgressResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
IpPermission.h
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::GetReturn
bool GetReturn() const
Definition: RevokeSecurityGroupEgressResponse.h:41
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::AddUnknownIpPermissions
RevokeSecurityGroupEgressResponse & AddUnknownIpPermissions(const IpPermission &value)
Definition: RevokeSecurityGroupEgressResponse.h:96
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::WithResponseMetadata
RevokeSecurityGroupEgressResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: RevokeSecurityGroupEgressResponse.h:116
AWSVector.h
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::WithReturn
RevokeSecurityGroupEgressResponse & WithReturn(bool value)
Definition: RevokeSecurityGroupEgressResponse.h:53
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::RevokeSecurityGroupEgressResponse
RevokeSecurityGroupEgressResponse()
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::operator=
RevokeSecurityGroupEgressResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::IpPermission
Definition: IpPermission.h:38
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::WithUnknownIpPermissions
RevokeSecurityGroupEgressResponse & WithUnknownIpPermissions(const Aws::Vector< IpPermission > &value)
Definition: RevokeSecurityGroupEgressResponse.h:82
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::GetUnknownIpPermissions
const Aws::Vector< IpPermission > & GetUnknownIpPermissions() const
Definition: RevokeSecurityGroupEgressResponse.h:61
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: RevokeSecurityGroupEgressResponse.h:113
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: RevokeSecurityGroupEgressResponse.h:110
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::WithResponseMetadata
RevokeSecurityGroupEgressResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: RevokeSecurityGroupEgressResponse.h:119
Aws::EC2::Model::RevokeSecurityGroupEgressResponse
Definition: RevokeSecurityGroupEgressResponse.h:30
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: RevokeSecurityGroupEgressResponse.h:107
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::AddUnknownIpPermissions
RevokeSecurityGroupEgressResponse & AddUnknownIpPermissions(IpPermission &&value)
Definition: RevokeSecurityGroupEgressResponse.h:103
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::SetUnknownIpPermissions
void SetUnknownIpPermissions(Aws::Vector< IpPermission > &&value)
Definition: RevokeSecurityGroupEgressResponse.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::SetReturn
void SetReturn(bool value)
Definition: RevokeSecurityGroupEgressResponse.h:47
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::WithUnknownIpPermissions
RevokeSecurityGroupEgressResponse & WithUnknownIpPermissions(Aws::Vector< IpPermission > &&value)
Definition: RevokeSecurityGroupEgressResponse.h:89
EC2_EXPORTS.h
Aws::EC2::Model::RevokeSecurityGroupEgressResponse::SetUnknownIpPermissions
void SetUnknownIpPermissions(const Aws::Vector< IpPermission > &value)
Definition: RevokeSecurityGroupEgressResponse.h:68