AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetSecurityGroupsResult.h
1
6#pragma once
7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticloadbalancingv2/model/EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum.h>
10#include <aws/elasticloadbalancingv2/model/ResponseMetadata.h>
11#include <aws/core/utils/memory/stl/AWSString.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 ElasticLoadBalancingv2
27{
28namespace Model
29{
31 {
32 public:
33 AWS_ELASTICLOADBALANCINGV2_API SetSecurityGroupsResult();
36
37
39
42 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
43 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIds = value; }
44 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIds = std::move(value); }
47 inline SetSecurityGroupsResult& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIds.push_back(value); return *this; }
48 inline SetSecurityGroupsResult& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIds.push_back(std::move(value)); return *this; }
49 inline SetSecurityGroupsResult& AddSecurityGroupIds(const char* value) { m_securityGroupIds.push_back(value); return *this; }
51
53
57 inline const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum& GetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic() const{ return m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic; }
58 inline void SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum& value) { m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic = value; }
59 inline void SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum&& value) { m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic = std::move(value); }
63
65
66 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
67 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
68 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
70 inline SetSecurityGroupsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
72 private:
73
74 Aws::Vector<Aws::String> m_securityGroupIds;
75
76 EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic;
77
78 ResponseMetadata m_responseMetadata;
79 };
80
81} // namespace Model
82} // namespace ElasticLoadBalancingv2
83} // namespace Aws
void SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum &value)
AWS_ELASTICLOADBALANCINGV2_API SetSecurityGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
SetSecurityGroupsResult & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum & GetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic() const
SetSecurityGroupsResult & WithResponseMetadata(ResponseMetadata &&value)
SetSecurityGroupsResult & AddSecurityGroupIds(const Aws::String &value)
void SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum &&value)
SetSecurityGroupsResult & AddSecurityGroupIds(const char *value)
SetSecurityGroupsResult & WithResponseMetadata(const ResponseMetadata &value)
SetSecurityGroupsResult & AddSecurityGroupIds(Aws::String &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
SetSecurityGroupsResult & WithEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum &value)
AWS_ELASTICLOADBALANCINGV2_API SetSecurityGroupsResult()
SetSecurityGroupsResult & WithEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum &&value)
AWS_ELASTICLOADBALANCINGV2_API SetSecurityGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
SetSecurityGroupsResult & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument