AWS SDK for C++  1.9.126
AWS SDK for C++
ApplySecurityGroupsToClientVpnTargetNetworkResponse.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 
40  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
41 
45  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIds = value; }
46 
50  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIds = std::move(value); }
51 
55  inline ApplySecurityGroupsToClientVpnTargetNetworkResponse& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
56 
60  inline ApplySecurityGroupsToClientVpnTargetNetworkResponse& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
61 
65  inline ApplySecurityGroupsToClientVpnTargetNetworkResponse& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIds.push_back(value); return *this; }
66 
70  inline ApplySecurityGroupsToClientVpnTargetNetworkResponse& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIds.push_back(std::move(value)); return *this; }
71 
75  inline ApplySecurityGroupsToClientVpnTargetNetworkResponse& AddSecurityGroupIds(const char* value) { m_securityGroupIds.push_back(value); return *this; }
76 
77 
78 
79  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
80 
81 
82  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
83 
84 
85  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
86 
87 
88  inline ApplySecurityGroupsToClientVpnTargetNetworkResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
89 
90 
91  inline ApplySecurityGroupsToClientVpnTargetNetworkResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
92 
93  private:
94 
95  Aws::Vector<Aws::String> m_securityGroupIds;
96 
97  ResponseMetadata m_responseMetadata;
98  };
99 
100 } // namespace Model
101 } // namespace EC2
102 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse::ApplySecurityGroupsToClientVpnTargetNetworkResponse
ApplySecurityGroupsToClientVpnTargetNetworkResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse::AddSecurityGroupIds
ApplySecurityGroupsToClientVpnTargetNetworkResponse & AddSecurityGroupIds(const char *value)
Definition: ApplySecurityGroupsToClientVpnTargetNetworkResponse.h:75
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse::WithResponseMetadata
ApplySecurityGroupsToClientVpnTargetNetworkResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: ApplySecurityGroupsToClientVpnTargetNetworkResponse.h:88
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse::WithResponseMetadata
ApplySecurityGroupsToClientVpnTargetNetworkResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: ApplySecurityGroupsToClientVpnTargetNetworkResponse.h:91
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::ApplySecurityGroupsToClientVpnTargetNetworkResponse::AddSecurityGroupIds
ApplySecurityGroupsToClientVpnTargetNetworkResponse & AddSecurityGroupIds(Aws::String &&value)
Definition: ApplySecurityGroupsToClientVpnTargetNetworkResponse.h:70
AWSVector.h
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse
Definition: ApplySecurityGroupsToClientVpnTargetNetworkResponse.h:30
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse::ApplySecurityGroupsToClientVpnTargetNetworkResponse
ApplySecurityGroupsToClientVpnTargetNetworkResponse()
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse::GetSecurityGroupIds
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition: ApplySecurityGroupsToClientVpnTargetNetworkResponse.h:40
AWSString.h
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ApplySecurityGroupsToClientVpnTargetNetworkResponse.h:79
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: ApplySecurityGroupsToClientVpnTargetNetworkResponse.h:50
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse::operator=
ApplySecurityGroupsToClientVpnTargetNetworkResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse::WithSecurityGroupIds
ApplySecurityGroupsToClientVpnTargetNetworkResponse & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: ApplySecurityGroupsToClientVpnTargetNetworkResponse.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse::SetSecurityGroupIds
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: ApplySecurityGroupsToClientVpnTargetNetworkResponse.h:45
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse::AddSecurityGroupIds
ApplySecurityGroupsToClientVpnTargetNetworkResponse & AddSecurityGroupIds(const Aws::String &value)
Definition: ApplySecurityGroupsToClientVpnTargetNetworkResponse.h:65
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ApplySecurityGroupsToClientVpnTargetNetworkResponse.h:82
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse::WithSecurityGroupIds
ApplySecurityGroupsToClientVpnTargetNetworkResponse & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: ApplySecurityGroupsToClientVpnTargetNetworkResponse.h:60
EC2_EXPORTS.h
Aws::EC2::Model::ApplySecurityGroupsToClientVpnTargetNetworkResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ApplySecurityGroupsToClientVpnTargetNetworkResponse.h:85