AWS SDK for C++

AWS SDK for C++ Version 1.11.710

Loading...
Searching...
No Matches
FulfillmentDetails.h
1
6#pragma once
7#include <aws/partnercentral-benefits/PartnerCentralBenefits_EXPORTS.h>
8#include <aws/partnercentral-benefits/model/AccessDetails.h>
9#include <aws/partnercentral-benefits/model/ConsumableDetails.h>
10#include <aws/partnercentral-benefits/model/CreditDetails.h>
11#include <aws/partnercentral-benefits/model/DisbursementDetails.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PartnerCentralBenefits {
23namespace Model {
24
32 public:
33 AWS_PARTNERCENTRALBENEFITS_API FulfillmentDetails() = default;
34 AWS_PARTNERCENTRALBENEFITS_API FulfillmentDetails(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALBENEFITS_API FulfillmentDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALBENEFITS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const DisbursementDetails& GetDisbursementDetails() const { return m_disbursementDetails; }
44 inline bool DisbursementDetailsHasBeenSet() const { return m_disbursementDetailsHasBeenSet; }
45 template <typename DisbursementDetailsT = DisbursementDetails>
46 void SetDisbursementDetails(DisbursementDetailsT&& value) {
47 m_disbursementDetailsHasBeenSet = true;
48 m_disbursementDetails = std::forward<DisbursementDetailsT>(value);
49 }
50 template <typename DisbursementDetailsT = DisbursementDetails>
51 FulfillmentDetails& WithDisbursementDetails(DisbursementDetailsT&& value) {
52 SetDisbursementDetails(std::forward<DisbursementDetailsT>(value));
53 return *this;
54 }
56
58
62 inline const ConsumableDetails& GetConsumableDetails() const { return m_consumableDetails; }
63 inline bool ConsumableDetailsHasBeenSet() const { return m_consumableDetailsHasBeenSet; }
64 template <typename ConsumableDetailsT = ConsumableDetails>
65 void SetConsumableDetails(ConsumableDetailsT&& value) {
66 m_consumableDetailsHasBeenSet = true;
67 m_consumableDetails = std::forward<ConsumableDetailsT>(value);
68 }
69 template <typename ConsumableDetailsT = ConsumableDetails>
70 FulfillmentDetails& WithConsumableDetails(ConsumableDetailsT&& value) {
71 SetConsumableDetails(std::forward<ConsumableDetailsT>(value));
72 return *this;
73 }
75
77
81 inline const CreditDetails& GetCreditDetails() const { return m_creditDetails; }
82 inline bool CreditDetailsHasBeenSet() const { return m_creditDetailsHasBeenSet; }
83 template <typename CreditDetailsT = CreditDetails>
84 void SetCreditDetails(CreditDetailsT&& value) {
85 m_creditDetailsHasBeenSet = true;
86 m_creditDetails = std::forward<CreditDetailsT>(value);
87 }
88 template <typename CreditDetailsT = CreditDetails>
89 FulfillmentDetails& WithCreditDetails(CreditDetailsT&& value) {
90 SetCreditDetails(std::forward<CreditDetailsT>(value));
91 return *this;
92 }
94
96
100 inline const AccessDetails& GetAccessDetails() const { return m_accessDetails; }
101 inline bool AccessDetailsHasBeenSet() const { return m_accessDetailsHasBeenSet; }
102 template <typename AccessDetailsT = AccessDetails>
103 void SetAccessDetails(AccessDetailsT&& value) {
104 m_accessDetailsHasBeenSet = true;
105 m_accessDetails = std::forward<AccessDetailsT>(value);
106 }
107 template <typename AccessDetailsT = AccessDetails>
108 FulfillmentDetails& WithAccessDetails(AccessDetailsT&& value) {
109 SetAccessDetails(std::forward<AccessDetailsT>(value));
110 return *this;
111 }
113 private:
114 DisbursementDetails m_disbursementDetails;
115
116 ConsumableDetails m_consumableDetails;
117
118 CreditDetails m_creditDetails;
119
120 AccessDetails m_accessDetails;
121 bool m_disbursementDetailsHasBeenSet = false;
122 bool m_consumableDetailsHasBeenSet = false;
123 bool m_creditDetailsHasBeenSet = false;
124 bool m_accessDetailsHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace PartnerCentralBenefits
129} // namespace Aws
FulfillmentDetails & WithAccessDetails(AccessDetailsT &&value)
FulfillmentDetails & WithConsumableDetails(ConsumableDetailsT &&value)
AWS_PARTNERCENTRALBENEFITS_API FulfillmentDetails(Aws::Utils::Json::JsonView jsonValue)
void SetDisbursementDetails(DisbursementDetailsT &&value)
AWS_PARTNERCENTRALBENEFITS_API Aws::Utils::Json::JsonValue Jsonize() const
FulfillmentDetails & WithDisbursementDetails(DisbursementDetailsT &&value)
AWS_PARTNERCENTRALBENEFITS_API FulfillmentDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALBENEFITS_API FulfillmentDetails()=default
const DisbursementDetails & GetDisbursementDetails() const
FulfillmentDetails & WithCreditDetails(CreditDetailsT &&value)
Aws::Utils::Json::JsonValue JsonValue