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;
57 inline void SetAmazonManaged(
bool value) { m_amazonManagedHasBeenSet =
true; m_amazonManaged = value; }
66 template<
typename ArnT = Aws::String>
67 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
68 template<
typename ArnT = Aws::String>
78 template<
typename CreatedAtT = Aws::Utils::DateTime>
79 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
80 template<
typename CreatedAtT = Aws::Utils::DateTime>
89 template<
typename CustomDomainNameT = Aws::String>
90 void SetCustomDomainName(CustomDomainNameT&& value) { m_customDomainNameHasBeenSet =
true; m_customDomainName = std::forward<CustomDomainNameT>(value); }
91 template<
typename CustomDomainNameT = Aws::String>
100 template<
typename FailureReasonT = Aws::String>
101 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
102 template<
typename FailureReasonT = Aws::String>
111 template<
typename IdT = Aws::String>
112 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
113 template<
typename IdT = Aws::String>
123 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
124 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
125 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
134 template<
typename NameT = Aws::String>
135 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
136 template<
typename NameT = Aws::String>
147 template<
typename PortRangesT = Aws::Vector<Aws::String>>
148 void SetPortRanges(PortRangesT&& value) { m_portRangesHasBeenSet =
true; m_portRanges = std::forward<PortRangesT>(value); }
149 template<
typename PortRangesT = Aws::Vector<Aws::String>>
151 template<
typename PortRangesT = Aws::String>
169 template<
typename ResourceConfigurationDefinitionT = ResourceConfigurationDefinition>
170 void SetResourceConfigurationDefinition(ResourceConfigurationDefinitionT&& value) { m_resourceConfigurationDefinitionHasBeenSet =
true; m_resourceConfigurationDefinition = std::forward<ResourceConfigurationDefinitionT>(value); }
171 template<
typename ResourceConfigurationDefinitionT = ResourceConfigurationDefinition>
180 template<
typename ResourceConfigurationGroupIdT = Aws::String>
181 void SetResourceConfigurationGroupId(ResourceConfigurationGroupIdT&& value) { m_resourceConfigurationGroupIdHasBeenSet =
true; m_resourceConfigurationGroupId = std::forward<ResourceConfigurationGroupIdT>(value); }
182 template<
typename ResourceConfigurationGroupIdT = Aws::String>
193 template<
typename ResourceGatewayIdT = Aws::String>
194 void SetResourceGatewayId(ResourceGatewayIdT&& value) { m_resourceGatewayIdHasBeenSet =
true; m_resourceGatewayId = std::forward<ResourceGatewayIdT>(value); }
195 template<
typename ResourceGatewayIdT = Aws::String>
224 template<
typename RequestIdT = Aws::String>
225 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
226 template<
typename RequestIdT = Aws::String>
231 bool m_allowAssociationToShareableServiceNetwork{
false};
232 bool m_allowAssociationToShareableServiceNetworkHasBeenSet =
false;
234 bool m_amazonManaged{
false};
235 bool m_amazonManagedHasBeenSet =
false;
238 bool m_arnHasBeenSet =
false;
241 bool m_createdAtHasBeenSet =
false;
244 bool m_customDomainNameHasBeenSet =
false;
247 bool m_failureReasonHasBeenSet =
false;
250 bool m_idHasBeenSet =
false;
253 bool m_lastUpdatedAtHasBeenSet =
false;
256 bool m_nameHasBeenSet =
false;
259 bool m_portRangesHasBeenSet =
false;
262 bool m_protocolHasBeenSet =
false;
264 ResourceConfigurationDefinition m_resourceConfigurationDefinition;
265 bool m_resourceConfigurationDefinitionHasBeenSet =
false;
268 bool m_resourceConfigurationGroupIdHasBeenSet =
false;
271 bool m_resourceGatewayIdHasBeenSet =
false;
274 bool m_statusHasBeenSet =
false;
277 bool m_typeHasBeenSet =
false;
280 bool m_requestIdHasBeenSet =
false;
GetResourceConfigurationResult & WithAmazonManaged(bool value)
GetResourceConfigurationResult & WithCreatedAt(CreatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetAllowAssociationToShareableServiceNetwork(bool value)
GetResourceConfigurationResult & WithStatus(ResourceConfigurationStatus value)
void SetResourceGatewayId(ResourceGatewayIdT &&value)
const Aws::String & GetFailureReason() const
GetResourceConfigurationResult & AddPortRanges(PortRangesT &&value)
const Aws::String & GetResourceConfigurationGroupId() const
void SetAmazonManaged(bool value)
void SetType(ResourceConfigurationType value)
const Aws::String & GetId() const
ResourceConfigurationStatus GetStatus() const
const Aws::String & GetRequestId() const
void SetCustomDomainName(CustomDomainNameT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::String & GetResourceGatewayId() const
AWS_VPCLATTICE_API GetResourceConfigurationResult()=default
const Aws::Vector< Aws::String > & GetPortRanges() const
AWS_VPCLATTICE_API GetResourceConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
ProtocolType GetProtocol() const
void SetArn(ArnT &&value)
void SetName(NameT &&value)
void SetResourceConfigurationDefinition(ResourceConfigurationDefinitionT &&value)
void SetFailureReason(FailureReasonT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetName() const
const ResourceConfigurationDefinition & GetResourceConfigurationDefinition() const
GetResourceConfigurationResult & WithName(NameT &&value)
GetResourceConfigurationResult & WithProtocol(ProtocolType value)
GetResourceConfigurationResult & WithAllowAssociationToShareableServiceNetwork(bool value)
GetResourceConfigurationResult & WithRequestId(RequestIdT &&value)
GetResourceConfigurationResult & WithArn(ArnT &&value)
GetResourceConfigurationResult & WithPortRanges(PortRangesT &&value)
void SetResourceConfigurationGroupId(ResourceConfigurationGroupIdT &&value)
GetResourceConfigurationResult & WithResourceConfigurationDefinition(ResourceConfigurationDefinitionT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
void SetProtocol(ProtocolType value)
bool GetAmazonManaged() const
GetResourceConfigurationResult & WithId(IdT &&value)
ResourceConfigurationType GetType() const
AWS_VPCLATTICE_API GetResourceConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourceConfigurationResult & WithFailureReason(FailureReasonT &&value)
GetResourceConfigurationResult & WithResourceConfigurationGroupId(ResourceConfigurationGroupIdT &&value)
GetResourceConfigurationResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetCustomDomainName() const
GetResourceConfigurationResult & WithResourceGatewayId(ResourceGatewayIdT &&value)
bool GetAllowAssociationToShareableServiceNetwork() const
GetResourceConfigurationResult & WithType(ResourceConfigurationType value)
const Aws::String & GetArn() const
GetResourceConfigurationResult & WithCustomDomainName(CustomDomainNameT &&value)
void SetPortRanges(PortRangesT &&value)
void SetStatus(ResourceConfigurationStatus 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