AWS SDK for C++  1.9.110
AWS SDK for C++
RevokeClusterSecurityGroupIngressResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace Redshift
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
36 
37  inline const ClusterSecurityGroup& GetClusterSecurityGroup() const{ return m_clusterSecurityGroup; }
38 
39 
40  inline void SetClusterSecurityGroup(const ClusterSecurityGroup& value) { m_clusterSecurityGroup = value; }
41 
42 
43  inline void SetClusterSecurityGroup(ClusterSecurityGroup&& value) { m_clusterSecurityGroup = std::move(value); }
44 
45 
46  inline RevokeClusterSecurityGroupIngressResult& WithClusterSecurityGroup(const ClusterSecurityGroup& value) { SetClusterSecurityGroup(value); return *this;}
47 
48 
49  inline RevokeClusterSecurityGroupIngressResult& WithClusterSecurityGroup(ClusterSecurityGroup&& value) { SetClusterSecurityGroup(std::move(value)); return *this;}
50 
51 
52 
53  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
54 
55 
56  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
57 
58 
59  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
60 
61 
62  inline RevokeClusterSecurityGroupIngressResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
63 
64 
65  inline RevokeClusterSecurityGroupIngressResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
66 
67  private:
68 
69  ClusterSecurityGroup m_clusterSecurityGroup;
70 
71  ResponseMetadata m_responseMetadata;
72  };
73 
74 } // namespace Model
75 } // namespace Redshift
76 } // namespace Aws
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressResult::SetClusterSecurityGroup
void SetClusterSecurityGroup(const ClusterSecurityGroup &value)
Definition: RevokeClusterSecurityGroupIngressResult.h:40
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressResult::WithResponseMetadata
RevokeClusterSecurityGroupIngressResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: RevokeClusterSecurityGroupIngressResult.h:62
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressResult::RevokeClusterSecurityGroupIngressResult
RevokeClusterSecurityGroupIngressResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressResult::WithClusterSecurityGroup
RevokeClusterSecurityGroupIngressResult & WithClusterSecurityGroup(ClusterSecurityGroup &&value)
Definition: RevokeClusterSecurityGroupIngressResult.h:49
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressResult::WithClusterSecurityGroup
RevokeClusterSecurityGroupIngressResult & WithClusterSecurityGroup(const ClusterSecurityGroup &value)
Definition: RevokeClusterSecurityGroupIngressResult.h:46
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: RevokeClusterSecurityGroupIngressResult.h:56
ClusterSecurityGroup.h
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressResult::RevokeClusterSecurityGroupIngressResult
RevokeClusterSecurityGroupIngressResult()
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::ClusterSecurityGroup
Definition: ClusterSecurityGroup.h:36
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressResult
Definition: RevokeClusterSecurityGroupIngressResult.h:29
Redshift_EXPORTS.h
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: RevokeClusterSecurityGroupIngressResult.h:53
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressResult::SetClusterSecurityGroup
void SetClusterSecurityGroup(ClusterSecurityGroup &&value)
Definition: RevokeClusterSecurityGroupIngressResult.h:43
ResponseMetadata.h
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: RevokeClusterSecurityGroupIngressResult.h:59
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressResult::GetClusterSecurityGroup
const ClusterSecurityGroup & GetClusterSecurityGroup() const
Definition: RevokeClusterSecurityGroupIngressResult.h:37
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressResult::operator=
RevokeClusterSecurityGroupIngressResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::RevokeClusterSecurityGroupIngressResult::WithResponseMetadata
RevokeClusterSecurityGroupIngressResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: RevokeClusterSecurityGroupIngressResult.h:65