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/vpc-lattice/model/ServiceNetworkLogType.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
44 template<
typename ArnT = Aws::String>
54 template<
typename CreatedAtT = Aws::Utils::DateTime>
55 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
56 template<
typename CreatedAtT = Aws::Utils::DateTime>
65 template<
typename DestinationArnT = Aws::String>
66 void SetDestinationArn(DestinationArnT&& value) { m_destinationArnHasBeenSet =
true; m_destinationArn = std::forward<DestinationArnT>(value); }
67 template<
typename DestinationArnT = Aws::String>
76 template<
typename IdT = Aws::String>
77 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
78 template<
typename IdT = Aws::String>
88 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
89 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
90 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
99 template<
typename ResourceArnT = Aws::String>
100 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
101 template<
typename ResourceArnT = Aws::String>
110 template<
typename ResourceIdT = Aws::String>
111 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
112 template<
typename ResourceIdT = Aws::String>
128 template<
typename RequestIdT = Aws::String>
129 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
130 template<
typename RequestIdT = Aws::String>
136 bool m_arnHasBeenSet =
false;
139 bool m_createdAtHasBeenSet =
false;
142 bool m_destinationArnHasBeenSet =
false;
145 bool m_idHasBeenSet =
false;
148 bool m_lastUpdatedAtHasBeenSet =
false;
151 bool m_resourceArnHasBeenSet =
false;
154 bool m_resourceIdHasBeenSet =
false;
157 bool m_serviceNetworkLogTypeHasBeenSet =
false;
160 bool m_requestIdHasBeenSet =
false;
void SetArn(ArnT &&value)
GetAccessLogSubscriptionResult & WithResourceId(ResourceIdT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetId() const
void SetResourceArn(ResourceArnT &&value)
const Aws::String & GetDestinationArn() const
AWS_VPCLATTICE_API GetAccessLogSubscriptionResult()=default
GetAccessLogSubscriptionResult & WithId(IdT &&value)
GetAccessLogSubscriptionResult & WithServiceNetworkLogType(ServiceNetworkLogType value)
GetAccessLogSubscriptionResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_VPCLATTICE_API GetAccessLogSubscriptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAccessLogSubscriptionResult & WithDestinationArn(DestinationArnT &&value)
void SetDestinationArn(DestinationArnT &&value)
GetAccessLogSubscriptionResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
GetAccessLogSubscriptionResult & WithResourceArn(ResourceArnT &&value)
ServiceNetworkLogType GetServiceNetworkLogType() const
GetAccessLogSubscriptionResult & WithCreatedAt(CreatedAtT &&value)
void SetServiceNetworkLogType(ServiceNetworkLogType value)
void SetResourceId(ResourceIdT &&value)
const Aws::String & GetRequestId() const
void SetCreatedAt(CreatedAtT &&value)
GetAccessLogSubscriptionResult & WithArn(ArnT &&value)
AWS_VPCLATTICE_API GetAccessLogSubscriptionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetResourceId() const
const Aws::String & GetResourceArn() const
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue