7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/vpc-lattice/model/AuthPolicyState.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename CreatedAtT = Aws::Utils::DateTime>
43 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
44 template<
typename CreatedAtT = Aws::Utils::DateTime>
54 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
55 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
56 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
65 template<
typename PolicyT = Aws::String>
66 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
67 template<
typename PolicyT = Aws::String>
89 template<
typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
91 template<
typename RequestIdT = Aws::String>
97 bool m_createdAtHasBeenSet =
false;
100 bool m_lastUpdatedAtHasBeenSet =
false;
103 bool m_policyHasBeenSet =
false;
106 bool m_stateHasBeenSet =
false;
109 bool m_requestIdHasBeenSet =
false;
GetAuthPolicyResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
AWS_VPCLATTICE_API GetAuthPolicyResult()=default
GetAuthPolicyResult & WithState(AuthPolicyState value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::String & GetRequestId() const
AWS_VPCLATTICE_API GetAuthPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPolicy(PolicyT &&value)
AuthPolicyState GetState() const
const Aws::String & GetPolicy() const
AWS_VPCLATTICE_API GetAuthPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAuthPolicyResult & WithPolicy(PolicyT &&value)
void SetCreatedAt(CreatedAtT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
GetAuthPolicyResult & WithCreatedAt(CreatedAtT &&value)
void SetState(AuthPolicyState value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetAuthPolicyResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue