7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/vpc-lattice/model/ProtocolType.h>
11#include <aws/vpc-lattice/model/ResourceConfigurationDefinition.h>
12#include <aws/vpc-lattice/model/ResourceConfigurationStatus.h>
13#include <aws/vpc-lattice/model/ResourceConfigurationType.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
55 template<
typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
57 template<
typename ArnT = Aws::String>
66 template<
typename IdT = Aws::String>
67 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
68 template<
typename IdT = Aws::String>
77 template<
typename NameT = Aws::String>
78 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
79 template<
typename NameT = Aws::String>
90 template<
typename PortRangesT = Aws::Vector<Aws::String>>
91 void SetPortRanges(PortRangesT&& value) { m_portRangesHasBeenSet =
true; m_portRanges = std::forward<PortRangesT>(value); }
92 template<
typename PortRangesT = Aws::Vector<Aws::String>>
94 template<
typename PortRangesT = Aws::String>
112 template<
typename ResourceConfigurationDefinitionT = ResourceConfigurationDefinition>
113 void SetResourceConfigurationDefinition(ResourceConfigurationDefinitionT&& value) { m_resourceConfigurationDefinitionHasBeenSet =
true; m_resourceConfigurationDefinition = std::forward<ResourceConfigurationDefinitionT>(value); }
114 template<
typename ResourceConfigurationDefinitionT = ResourceConfigurationDefinition>
123 template<
typename ResourceConfigurationGroupIdT = Aws::String>
124 void SetResourceConfigurationGroupId(ResourceConfigurationGroupIdT&& value) { m_resourceConfigurationGroupIdHasBeenSet =
true; m_resourceConfigurationGroupId = std::forward<ResourceConfigurationGroupIdT>(value); }
125 template<
typename ResourceConfigurationGroupIdT = Aws::String>
135 template<
typename ResourceGatewayIdT = Aws::String>
136 void SetResourceGatewayId(ResourceGatewayIdT&& value) { m_resourceGatewayIdHasBeenSet =
true; m_resourceGatewayId = std::forward<ResourceGatewayIdT>(value); }
137 template<
typename ResourceGatewayIdT = Aws::String>
166 template<
typename RequestIdT = Aws::String>
167 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
168 template<
typename RequestIdT = Aws::String>
173 bool m_allowAssociationToShareableServiceNetwork{
false};
174 bool m_allowAssociationToShareableServiceNetworkHasBeenSet =
false;
177 bool m_arnHasBeenSet =
false;
180 bool m_idHasBeenSet =
false;
183 bool m_nameHasBeenSet =
false;
186 bool m_portRangesHasBeenSet =
false;
189 bool m_protocolHasBeenSet =
false;
191 ResourceConfigurationDefinition m_resourceConfigurationDefinition;
192 bool m_resourceConfigurationDefinitionHasBeenSet =
false;
195 bool m_resourceConfigurationGroupIdHasBeenSet =
false;
198 bool m_resourceGatewayIdHasBeenSet =
false;
201 bool m_statusHasBeenSet =
false;
204 bool m_typeHasBeenSet =
false;
207 bool m_requestIdHasBeenSet =
false;
const ResourceConfigurationDefinition & GetResourceConfigurationDefinition() const
void SetResourceConfigurationDefinition(ResourceConfigurationDefinitionT &&value)
UpdateResourceConfigurationResult & WithId(IdT &&value)
AWS_VPCLATTICE_API UpdateResourceConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateResourceConfigurationResult & AddPortRanges(PortRangesT &&value)
void SetType(ResourceConfigurationType value)
UpdateResourceConfigurationResult & WithResourceGatewayId(ResourceGatewayIdT &&value)
ResourceConfigurationStatus GetStatus() const
void SetResourceConfigurationGroupId(ResourceConfigurationGroupIdT &&value)
const Aws::String & GetResourceConfigurationGroupId() const
const Aws::String & GetResourceGatewayId() const
UpdateResourceConfigurationResult & WithPortRanges(PortRangesT &&value)
AWS_VPCLATTICE_API UpdateResourceConfigurationResult()=default
bool GetAllowAssociationToShareableServiceNetwork() const
UpdateResourceConfigurationResult & WithResourceConfigurationDefinition(ResourceConfigurationDefinitionT &&value)
void SetAllowAssociationToShareableServiceNetwork(bool value)
ProtocolType GetProtocol() const
UpdateResourceConfigurationResult & WithStatus(ResourceConfigurationStatus value)
const Aws::String & GetName() const
UpdateResourceConfigurationResult & WithName(NameT &&value)
UpdateResourceConfigurationResult & WithResourceConfigurationGroupId(ResourceConfigurationGroupIdT &&value)
void SetPortRanges(PortRangesT &&value)
UpdateResourceConfigurationResult & WithArn(ArnT &&value)
void SetName(NameT &&value)
const Aws::Vector< Aws::String > & GetPortRanges() const
void SetStatus(ResourceConfigurationStatus value)
UpdateResourceConfigurationResult & WithRequestId(RequestIdT &&value)
AWS_VPCLATTICE_API UpdateResourceConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
UpdateResourceConfigurationResult & WithProtocol(ProtocolType value)
ResourceConfigurationType GetType() const
void SetResourceGatewayId(ResourceGatewayIdT &&value)
const Aws::String & GetArn() const
void SetArn(ArnT &&value)
void SetProtocol(ProtocolType value)
UpdateResourceConfigurationResult & WithType(ResourceConfigurationType value)
UpdateResourceConfigurationResult & WithAllowAssociationToShareableServiceNetwork(bool value)
const Aws::String & GetRequestId() const
const Aws::String & GetId() const
ResourceConfigurationStatus
ResourceConfigurationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue