7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/vpc-lattice/model/AuthType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/vpc-lattice/model/SharingConfig.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
45 template<
typename ArnT = Aws::String>
64 template<
typename CreatedAtT = Aws::Utils::DateTime>
65 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
66 template<
typename CreatedAtT = Aws::Utils::DateTime>
75 template<
typename IdT = Aws::String>
76 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
77 template<
typename IdT = Aws::String>
86 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
87 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
88 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
97 template<
typename NameT = Aws::String>
98 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
99 template<
typename NameT = Aws::String>
126 template<
typename SharingConfigT = SharingConfig>
127 void SetSharingConfig(SharingConfigT&& value) { m_sharingConfigHasBeenSet =
true; m_sharingConfig = std::forward<SharingConfigT>(value); }
128 template<
typename SharingConfigT = SharingConfig>
135 template<
typename RequestIdT = Aws::String>
136 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
137 template<
typename RequestIdT = Aws::String>
143 bool m_arnHasBeenSet =
false;
146 bool m_authTypeHasBeenSet =
false;
149 bool m_createdAtHasBeenSet =
false;
152 bool m_idHasBeenSet =
false;
155 bool m_lastUpdatedAtHasBeenSet =
false;
158 bool m_nameHasBeenSet =
false;
160 long long m_numberOfAssociatedServices{0};
161 bool m_numberOfAssociatedServicesHasBeenSet =
false;
163 long long m_numberOfAssociatedVPCs{0};
164 bool m_numberOfAssociatedVPCsHasBeenSet =
false;
166 SharingConfig m_sharingConfig;
167 bool m_sharingConfigHasBeenSet =
false;
170 bool m_requestIdHasBeenSet =
false;
GetServiceNetworkResult & WithArn(ArnT &&value)
void SetCreatedAt(CreatedAtT &&value)
long long GetNumberOfAssociatedVPCs() const
const Aws::String & GetArn() const
GetServiceNetworkResult & WithNumberOfAssociatedServices(long long value)
GetServiceNetworkResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
void SetRequestId(RequestIdT &&value)
void SetNumberOfAssociatedVPCs(long long value)
AWS_VPCLATTICE_API GetServiceNetworkResult()=default
GetServiceNetworkResult & WithSharingConfig(SharingConfigT &&value)
long long GetNumberOfAssociatedServices() const
const Aws::String & GetRequestId() const
GetServiceNetworkResult & WithNumberOfAssociatedVPCs(long long value)
const SharingConfig & GetSharingConfig() const
void SetArn(ArnT &&value)
void SetNumberOfAssociatedServices(long long value)
const Aws::String & GetId() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetAuthType(AuthType value)
GetServiceNetworkResult & WithName(NameT &&value)
GetServiceNetworkResult & WithCreatedAt(CreatedAtT &&value)
GetServiceNetworkResult & WithId(IdT &&value)
AuthType GetAuthType() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSharingConfig(SharingConfigT &&value)
GetServiceNetworkResult & WithRequestId(RequestIdT &&value)
AWS_VPCLATTICE_API GetServiceNetworkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetName(NameT &&value)
GetServiceNetworkResult & WithAuthType(AuthType value)
AWS_VPCLATTICE_API GetServiceNetworkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue