7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/vpc-lattice/model/ProtocolType.h>
12#include <aws/vpc-lattice/model/ResourceConfigurationDefinition.h>
13#include <aws/vpc-lattice/model/ResourceConfigurationStatus.h>
14#include <aws/vpc-lattice/model/ResourceConfigurationType.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
56 template<
typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
58 template<
typename ArnT = Aws::String>
68 template<
typename CreatedAtT = Aws::Utils::DateTime>
69 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
70 template<
typename CreatedAtT = Aws::Utils::DateTime>
79 template<
typename FailureReasonT = Aws::String>
80 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
81 template<
typename FailureReasonT = Aws::String>
90 template<
typename IdT = Aws::String>
91 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
92 template<
typename IdT = Aws::String>
101 template<
typename NameT = Aws::String>
102 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
103 template<
typename NameT = Aws::String>
112 template<
typename PortRangesT = Aws::Vector<Aws::String>>
113 void SetPortRanges(PortRangesT&& value) { m_portRangesHasBeenSet =
true; m_portRanges = std::forward<PortRangesT>(value); }
114 template<
typename PortRangesT = Aws::Vector<Aws::String>>
116 template<
typename PortRangesT = Aws::String>
134 template<
typename ResourceConfigurationDefinitionT = ResourceConfigurationDefinition>
135 void SetResourceConfigurationDefinition(ResourceConfigurationDefinitionT&& value) { m_resourceConfigurationDefinitionHasBeenSet =
true; m_resourceConfigurationDefinition = std::forward<ResourceConfigurationDefinitionT>(value); }
136 template<
typename ResourceConfigurationDefinitionT = ResourceConfigurationDefinition>
145 template<
typename ResourceConfigurationGroupIdT = Aws::String>
146 void SetResourceConfigurationGroupId(ResourceConfigurationGroupIdT&& value) { m_resourceConfigurationGroupIdHasBeenSet =
true; m_resourceConfigurationGroupId = std::forward<ResourceConfigurationGroupIdT>(value); }
147 template<
typename ResourceConfigurationGroupIdT = Aws::String>
157 template<
typename ResourceGatewayIdT = Aws::String>
158 void SetResourceGatewayId(ResourceGatewayIdT&& value) { m_resourceGatewayIdHasBeenSet =
true; m_resourceGatewayId = std::forward<ResourceGatewayIdT>(value); }
159 template<
typename ResourceGatewayIdT = Aws::String>
184 template<
typename RequestIdT = Aws::String>
185 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
186 template<
typename RequestIdT = Aws::String>
191 bool m_allowAssociationToShareableServiceNetwork{
false};
192 bool m_allowAssociationToShareableServiceNetworkHasBeenSet =
false;
195 bool m_arnHasBeenSet =
false;
198 bool m_createdAtHasBeenSet =
false;
201 bool m_failureReasonHasBeenSet =
false;
204 bool m_idHasBeenSet =
false;
207 bool m_nameHasBeenSet =
false;
210 bool m_portRangesHasBeenSet =
false;
213 bool m_protocolHasBeenSet =
false;
215 ResourceConfigurationDefinition m_resourceConfigurationDefinition;
216 bool m_resourceConfigurationDefinitionHasBeenSet =
false;
219 bool m_resourceConfigurationGroupIdHasBeenSet =
false;
222 bool m_resourceGatewayIdHasBeenSet =
false;
225 bool m_statusHasBeenSet =
false;
228 bool m_typeHasBeenSet =
false;
231 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetResourceConfigurationGroupId() const
ResourceConfigurationType GetType() const
CreateResourceConfigurationResult & AddPortRanges(PortRangesT &&value)
void SetResourceConfigurationGroupId(ResourceConfigurationGroupIdT &&value)
void SetResourceConfigurationDefinition(ResourceConfigurationDefinitionT &&value)
void SetArn(ArnT &&value)
CreateResourceConfigurationResult & WithAllowAssociationToShareableServiceNetwork(bool value)
void SetFailureReason(FailureReasonT &&value)
void SetAllowAssociationToShareableServiceNetwork(bool value)
const ResourceConfigurationDefinition & GetResourceConfigurationDefinition() const
void SetResourceGatewayId(ResourceGatewayIdT &&value)
const Aws::String & GetFailureReason() const
const Aws::Vector< Aws::String > & GetPortRanges() const
const Aws::String & GetRequestId() const
CreateResourceConfigurationResult & WithFailureReason(FailureReasonT &&value)
const Aws::String & GetResourceGatewayId() const
ProtocolType GetProtocol() const
CreateResourceConfigurationResult & WithResourceConfigurationDefinition(ResourceConfigurationDefinitionT &&value)
bool GetAllowAssociationToShareableServiceNetwork() const
CreateResourceConfigurationResult & WithId(IdT &&value)
CreateResourceConfigurationResult & WithCreatedAt(CreatedAtT &&value)
void SetName(NameT &&value)
CreateResourceConfigurationResult & WithResourceGatewayId(ResourceGatewayIdT &&value)
CreateResourceConfigurationResult & WithPortRanges(PortRangesT &&value)
AWS_VPCLATTICE_API CreateResourceConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetId() const
ResourceConfigurationStatus GetStatus() const
CreateResourceConfigurationResult & WithName(NameT &&value)
const Aws::String & GetArn() const
const Aws::String & GetName() const
void SetCreatedAt(CreatedAtT &&value)
void SetPortRanges(PortRangesT &&value)
CreateResourceConfigurationResult & WithType(ResourceConfigurationType value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_VPCLATTICE_API CreateResourceConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateResourceConfigurationResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
CreateResourceConfigurationResult & WithProtocol(ProtocolType value)
CreateResourceConfigurationResult & WithStatus(ResourceConfigurationStatus value)
CreateResourceConfigurationResult & WithResourceConfigurationGroupId(ResourceConfigurationGroupIdT &&value)
CreateResourceConfigurationResult & WithArn(ArnT &&value)
void SetType(ResourceConfigurationType value)
AWS_VPCLATTICE_API CreateResourceConfigurationResult()=default
void SetStatus(ResourceConfigurationStatus value)
void SetProtocol(ProtocolType value)
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