7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mpa/MPA_EXPORTS.h>
11#include <aws/mpa/model/ApproverLastActivity.h>
12#include <aws/mpa/model/IdentityStatus.h>
13#include <aws/mpa/model/MfaMethod.h>
45 template <
typename ApproverIdT = Aws::String>
47 m_approverIdHasBeenSet =
true;
48 m_approverId = std::forward<ApproverIdT>(value);
50 template <
typename ApproverIdT = Aws::String>
63 template <
typename ResponseTimeT = Aws::Utils::DateTime>
65 m_responseTimeHasBeenSet =
true;
66 m_responseTime = std::forward<ResponseTimeT>(value);
68 template <
typename ResponseTimeT = Aws::Utils::DateTime>
81 template <
typename PrimaryIdentityIdT = Aws::String>
83 m_primaryIdentityIdHasBeenSet =
true;
84 m_primaryIdentityId = std::forward<PrimaryIdentityIdT>(value);
86 template <
typename PrimaryIdentityIdT = Aws::String>
100 template <
typename PrimaryIdentitySourceArnT = Aws::String>
102 m_primaryIdentitySourceArnHasBeenSet =
true;
103 m_primaryIdentitySourceArn = std::forward<PrimaryIdentitySourceArnT>(value);
105 template <
typename PrimaryIdentitySourceArnT = Aws::String>
121 m_primaryIdentityStatusHasBeenSet =
true;
122 m_primaryIdentityStatus = value;
137 m_lastActivityHasBeenSet =
true;
138 m_lastActivity = value;
153 template <
typename LastActivityTimeT = Aws::Utils::DateTime>
155 m_lastActivityTimeHasBeenSet =
true;
156 m_lastActivityTime = std::forward<LastActivityTimeT>(value);
158 template <
typename LastActivityTimeT = Aws::Utils::DateTime>
171 template <
typename PendingBaselineSessionArnT = Aws::String>
173 m_pendingBaselineSessionArnHasBeenSet =
true;
174 m_pendingBaselineSessionArn = std::forward<PendingBaselineSessionArnT>(value);
176 template <
typename PendingBaselineSessionArnT = Aws::String>
189 template <
typename MfaMethodsT = Aws::Vector<MfaMethod>>
191 m_mfaMethodsHasBeenSet =
true;
192 m_mfaMethods = std::forward<MfaMethodsT>(value);
194 template <
typename MfaMethodsT = Aws::Vector<MfaMethod>>
199 template <
typename MfaMethodsT = MfaMethod>
201 m_mfaMethodsHasBeenSet =
true;
202 m_mfaMethods.emplace_back(std::forward<MfaMethodsT>(value));
224 bool m_approverIdHasBeenSet =
false;
225 bool m_responseTimeHasBeenSet =
false;
226 bool m_primaryIdentityIdHasBeenSet =
false;
227 bool m_primaryIdentitySourceArnHasBeenSet =
false;
228 bool m_primaryIdentityStatusHasBeenSet =
false;
229 bool m_lastActivityHasBeenSet =
false;
230 bool m_lastActivityTimeHasBeenSet =
false;
231 bool m_pendingBaselineSessionArnHasBeenSet =
false;
232 bool m_mfaMethodsHasBeenSet =
false;
const Aws::String & GetPendingBaselineSessionArn() const
AWS_MPA_API Aws::Utils::Json::JsonValue Jsonize() const
bool PrimaryIdentitySourceArnHasBeenSet() const
bool ApproverIdHasBeenSet() const
AWS_MPA_API GetApprovalTeamResponseApprover & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< MfaMethod > & GetMfaMethods() const
GetApprovalTeamResponseApprover & WithApproverId(ApproverIdT &&value)
void SetApproverId(ApproverIdT &&value)
void SetPrimaryIdentityId(PrimaryIdentityIdT &&value)
const Aws::String & GetPrimaryIdentitySourceArn() const
const Aws::String & GetApproverId() const
void SetPrimaryIdentityStatus(IdentityStatus value)
AWS_MPA_API GetApprovalTeamResponseApprover()=default
bool MfaMethodsHasBeenSet() const
const Aws::String & GetPrimaryIdentityId() const
GetApprovalTeamResponseApprover & WithPendingBaselineSessionArn(PendingBaselineSessionArnT &&value)
void SetLastActivityTime(LastActivityTimeT &&value)
ApproverLastActivity GetLastActivity() const
GetApprovalTeamResponseApprover & WithPrimaryIdentitySourceArn(PrimaryIdentitySourceArnT &&value)
GetApprovalTeamResponseApprover & WithLastActivityTime(LastActivityTimeT &&value)
GetApprovalTeamResponseApprover & WithPrimaryIdentityId(PrimaryIdentityIdT &&value)
const Aws::Utils::DateTime & GetLastActivityTime() const
bool ResponseTimeHasBeenSet() const
void SetMfaMethods(MfaMethodsT &&value)
IdentityStatus GetPrimaryIdentityStatus() const
bool PendingBaselineSessionArnHasBeenSet() const
GetApprovalTeamResponseApprover & WithResponseTime(ResponseTimeT &&value)
bool PrimaryIdentityIdHasBeenSet() const
void SetPrimaryIdentitySourceArn(PrimaryIdentitySourceArnT &&value)
bool LastActivityTimeHasBeenSet() const
void SetLastActivity(ApproverLastActivity value)
GetApprovalTeamResponseApprover & AddMfaMethods(MfaMethodsT &&value)
AWS_MPA_API GetApprovalTeamResponseApprover(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetResponseTime() const
void SetPendingBaselineSessionArn(PendingBaselineSessionArnT &&value)
GetApprovalTeamResponseApprover & WithMfaMethods(MfaMethodsT &&value)
bool PrimaryIdentityStatusHasBeenSet() const
bool LastActivityHasBeenSet() const
GetApprovalTeamResponseApprover & WithPrimaryIdentityStatus(IdentityStatus value)
GetApprovalTeamResponseApprover & WithLastActivity(ApproverLastActivity value)
void SetResponseTime(ResponseTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue