7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/TermDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
30 AWS_BEDROCK_API
Offer() =
default;
41 template <
typename OfferIdT = Aws::String>
43 m_offerIdHasBeenSet =
true;
44 m_offerId = std::forward<OfferIdT>(value);
46 template <
typename OfferIdT = Aws::String>
59 template <
typename OfferTokenT = Aws::String>
61 m_offerTokenHasBeenSet =
true;
62 m_offerToken = std::forward<OfferTokenT>(value);
64 template <
typename OfferTokenT = Aws::String>
77 template <
typename TermDetailsT = TermDetails>
79 m_termDetailsHasBeenSet =
true;
80 m_termDetails = std::forward<TermDetailsT>(value);
82 template <
typename TermDetailsT = TermDetails>
94 bool m_offerIdHasBeenSet =
false;
95 bool m_offerTokenHasBeenSet =
false;
96 bool m_termDetailsHasBeenSet =
false;
void SetOfferId(OfferIdT &&value)
bool OfferIdHasBeenSet() const
AWS_BEDROCK_API Offer(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
Offer & WithTermDetails(TermDetailsT &&value)
const Aws::String & GetOfferToken() const
AWS_BEDROCK_API Offer & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOfferToken(OfferTokenT &&value)
bool OfferTokenHasBeenSet() const
AWS_BEDROCK_API Offer()=default
bool TermDetailsHasBeenSet() const
const Aws::String & GetOfferId() const
const TermDetails & GetTermDetails() const
void SetTermDetails(TermDetailsT &&value)
Offer & WithOfferId(OfferIdT &&value)
Offer & WithOfferToken(OfferTokenT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue