7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/AvailableLimits.h>
9#include <aws/bedrock-agentcore/model/SessionLimits.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace BedrockAgentCore {
44 template <
typename PaymentSessionIdT = Aws::String>
46 m_paymentSessionIdHasBeenSet =
true;
47 m_paymentSessionId = std::forward<PaymentSessionIdT>(value);
49 template <
typename PaymentSessionIdT = Aws::String>
62 template <
typename PaymentManagerArnT = Aws::String>
64 m_paymentManagerArnHasBeenSet =
true;
65 m_paymentManagerArn = std::forward<PaymentManagerArnT>(value);
67 template <
typename PaymentManagerArnT = Aws::String>
80 template <
typename LimitsT = SessionLimits>
82 m_limitsHasBeenSet =
true;
83 m_limits = std::forward<LimitsT>(value);
85 template <
typename LimitsT = SessionLimits>
98 template <
typename UserIdT = Aws::String>
100 m_userIdHasBeenSet =
true;
101 m_userId = std::forward<UserIdT>(value);
103 template <
typename UserIdT = Aws::String>
117 m_expiryTimeInMinutesHasBeenSet =
true;
118 m_expiryTimeInMinutes = value;
132 template <
typename CreatedAtT = Aws::Utils::DateTime>
134 m_createdAtHasBeenSet =
true;
135 m_createdAt = std::forward<CreatedAtT>(value);
137 template <
typename CreatedAtT = Aws::Utils::DateTime>
150 template <
typename AvailableLimitsT = AvailableLimits>
152 m_availableLimitsHasBeenSet =
true;
153 m_availableLimits = std::forward<AvailableLimitsT>(value);
155 template <
typename AvailableLimitsT = AvailableLimits>
168 template <
typename UpdatedAtT = Aws::Utils::DateTime>
170 m_updatedAtHasBeenSet =
true;
171 m_updatedAt = std::forward<UpdatedAtT>(value);
173 template <
typename UpdatedAtT = Aws::Utils::DateTime>
188 int m_expiryTimeInMinutes{0};
192 AvailableLimits m_availableLimits;
195 bool m_paymentSessionIdHasBeenSet =
false;
196 bool m_paymentManagerArnHasBeenSet =
false;
197 bool m_limitsHasBeenSet =
false;
198 bool m_userIdHasBeenSet =
false;
199 bool m_expiryTimeInMinutesHasBeenSet =
false;
200 bool m_createdAtHasBeenSet =
false;
201 bool m_availableLimitsHasBeenSet =
false;
202 bool m_updatedAtHasBeenSet =
false;
void SetAvailableLimits(AvailableLimitsT &&value)
PaymentSession & WithLimits(LimitsT &&value)
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ExpiryTimeInMinutesHasBeenSet() const
PaymentSession & WithPaymentManagerArn(PaymentManagerArnT &&value)
PaymentSession & WithCreatedAt(CreatedAtT &&value)
bool PaymentManagerArnHasBeenSet() const
bool UpdatedAtHasBeenSet() const
PaymentSession & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
PaymentSession & WithAvailableLimits(AvailableLimitsT &&value)
void SetCreatedAt(CreatedAtT &&value)
bool UserIdHasBeenSet() const
bool CreatedAtHasBeenSet() const
void SetPaymentSessionId(PaymentSessionIdT &&value)
void SetUserId(UserIdT &&value)
bool AvailableLimitsHasBeenSet() const
AWS_BEDROCKAGENTCORE_API PaymentSession & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLimits(LimitsT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
bool LimitsHasBeenSet() const
int GetExpiryTimeInMinutes() const
PaymentSession & WithExpiryTimeInMinutes(int value)
bool PaymentSessionIdHasBeenSet() const
const Aws::String & GetUserId() const
AWS_BEDROCKAGENTCORE_API PaymentSession(Aws::Utils::Json::JsonView jsonValue)
const AvailableLimits & GetAvailableLimits() const
const Aws::String & GetPaymentManagerArn() const
const SessionLimits & GetLimits() const
void SetExpiryTimeInMinutes(int value)
PaymentSession & WithPaymentSessionId(PaymentSessionIdT &&value)
PaymentSession & WithUserId(UserIdT &&value)
AWS_BEDROCKAGENTCORE_API PaymentSession()=default
const Aws::String & GetPaymentSessionId() const
void SetPaymentManagerArn(PaymentManagerArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue