7#include <aws/billing/BillingRequest.h>
8#include <aws/billing/Billing_EXPORTS.h>
9#include <aws/billing/model/SplitPortion.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
42 template <
typename CreditIdT = Aws::String>
44 m_creditIdHasBeenSet =
true;
45 m_creditId = std::forward<CreditIdT>(value);
47 template <
typename CreditIdT = Aws::String>
60 template <
typename PortionsT = Aws::Vector<SplitPortion>>
62 m_portionsHasBeenSet =
true;
63 m_portions = std::forward<PortionsT>(value);
65 template <
typename PortionsT = Aws::Vector<SplitPortion>>
70 template <
typename PortionsT = SplitPortion>
72 m_portionsHasBeenSet =
true;
73 m_portions.emplace_back(std::forward<PortionsT>(value));
88 template <
typename ClientTokenT = Aws::String>
90 m_clientTokenHasBeenSet =
true;
91 m_clientToken = std::forward<ClientTokenT>(value);
93 template <
typename ClientTokenT = Aws::String>
108 m_dryRunHasBeenSet =
true;
123 bool m_dryRun{
false};
124 bool m_creditIdHasBeenSet =
false;
125 bool m_portionsHasBeenSet =
false;
126 bool m_clientTokenHasBeenSet =
true;
127 bool m_dryRunHasBeenSet =
false;
void SetCreditId(CreditIdT &&value)
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
AWS_BILLING_API Aws::String SerializePayload() const override
AWS_BILLING_API SplitCreditRequest()=default
bool DryRunHasBeenSet() const
const Aws::Vector< SplitPortion > & GetPortions() const
const Aws::String & GetCreditId() const
bool PortionsHasBeenSet() const
void SetPortions(PortionsT &&value)
SplitCreditRequest & AddPortions(PortionsT &&value)
SplitCreditRequest & WithClientToken(ClientTokenT &&value)
SplitCreditRequest & WithPortions(PortionsT &&value)
virtual const char * GetServiceRequestName() const override
SplitCreditRequest & WithCreditId(CreditIdT &&value)
void SetClientToken(ClientTokenT &&value)
AWS_BILLING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDryRun(bool value)
bool CreditIdHasBeenSet() const
SplitCreditRequest & WithDryRun(bool value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector