AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyVpcEndpointServicePermissionsResponse.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/AddedPrincipal.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::Vector<AddedPrincipal>& GetAddedPrincipals() const{ return m_addedPrincipals; }
42 inline void SetAddedPrincipals(const Aws::Vector<AddedPrincipal>& value) { m_addedPrincipals = value; }
43 inline void SetAddedPrincipals(Aws::Vector<AddedPrincipal>&& value) { m_addedPrincipals = std::move(value); }
46 inline ModifyVpcEndpointServicePermissionsResponse& AddAddedPrincipals(const AddedPrincipal& value) { m_addedPrincipals.push_back(value); return *this; }
47 inline ModifyVpcEndpointServicePermissionsResponse& AddAddedPrincipals(AddedPrincipal&& value) { m_addedPrincipals.push_back(std::move(value)); return *this; }
49
51
55 inline bool GetReturnValue() const{ return m_returnValue; }
56 inline void SetReturnValue(bool value) { m_returnValue = value; }
59
61
62 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
63 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
64 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
68 private:
69
70 Aws::Vector<AddedPrincipal> m_addedPrincipals;
71
72 bool m_returnValue;
73
74 ResponseMetadata m_responseMetadata;
75 };
76
77} // namespace Model
78} // namespace EC2
79} // namespace Aws
ModifyVpcEndpointServicePermissionsResponse & AddAddedPrincipals(AddedPrincipal &&value)
ModifyVpcEndpointServicePermissionsResponse & WithResponseMetadata(ResponseMetadata &&value)
AWS_EC2_API ModifyVpcEndpointServicePermissionsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyVpcEndpointServicePermissionsResponse & WithAddedPrincipals(Aws::Vector< AddedPrincipal > &&value)
ModifyVpcEndpointServicePermissionsResponse & WithReturnValue(bool value)
ModifyVpcEndpointServicePermissionsResponse & WithAddedPrincipals(const Aws::Vector< AddedPrincipal > &value)
ModifyVpcEndpointServicePermissionsResponse & WithResponseMetadata(const ResponseMetadata &value)
ModifyVpcEndpointServicePermissionsResponse & AddAddedPrincipals(const AddedPrincipal &value)
AWS_EC2_API ModifyVpcEndpointServicePermissionsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument