7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/billing/model/ChildCredit.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename ParentCreditIdT = Aws::String>
39 m_parentCreditIdHasBeenSet =
true;
40 m_parentCreditId = std::forward<ParentCreditIdT>(value);
42 template <
typename ParentCreditIdT = Aws::String>
54 template <
typename ChildCreditsT = Aws::Vector<ChildCredit>>
56 m_childCreditsHasBeenSet =
true;
57 m_childCredits = std::forward<ChildCreditsT>(value);
59 template <
typename ChildCreditsT = Aws::Vector<ChildCredit>>
64 template <
typename ChildCreditsT = ChildCredit>
66 m_childCreditsHasBeenSet =
true;
67 m_childCredits.emplace_back(std::forward<ChildCreditsT>(value));
79 m_dryRunHasBeenSet =
true;
91 template <
typename RequestIdT = Aws::String>
93 m_requestIdHasBeenSet =
true;
94 m_requestId = std::forward<RequestIdT>(value);
96 template <
typename RequestIdT = Aws::String>
109 bool m_dryRun{
false};
113 bool m_parentCreditIdHasBeenSet =
false;
114 bool m_childCreditsHasBeenSet =
false;
115 bool m_dryRunHasBeenSet =
false;
116 bool m_requestIdHasBeenSet =
false;
void SetChildCredits(ChildCreditsT &&value)
AWS_BILLING_API SplitCreditResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SplitCreditResult & WithDryRun(bool value)
SplitCreditResult & WithParentCreditId(ParentCreditIdT &&value)
const Aws::Vector< ChildCredit > & GetChildCredits() const
AWS_BILLING_API SplitCreditResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDryRun(bool value)
void SetParentCreditId(ParentCreditIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetParentCreditId() const
SplitCreditResult & WithRequestId(RequestIdT &&value)
SplitCreditResult & WithChildCredits(ChildCreditsT &&value)
void SetRequestId(RequestIdT &&value)
AWS_BILLING_API SplitCreditResult()=default
const Aws::String & GetRequestId() const
SplitCreditResult & AddChildCredits(ChildCreditsT &&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