AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SupportPlan.h
1
6#pragma once
7#include <aws/partnercentral-channel/PartnerCentralChannel_EXPORTS.h>
8#include <aws/partnercentral-channel/model/PartnerLedSupport.h>
9#include <aws/partnercentral-channel/model/ResoldBusiness.h>
10#include <aws/partnercentral-channel/model/ResoldEnterprise.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PartnerCentralChannel {
22namespace Model {
23
31 public:
32 AWS_PARTNERCENTRALCHANNEL_API SupportPlan() = default;
33 AWS_PARTNERCENTRALCHANNEL_API SupportPlan(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALCHANNEL_API SupportPlan& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const ResoldBusiness& GetResoldBusiness() const { return m_resoldBusiness; }
42 inline bool ResoldBusinessHasBeenSet() const { return m_resoldBusinessHasBeenSet; }
43 template <typename ResoldBusinessT = ResoldBusiness>
44 void SetResoldBusiness(ResoldBusinessT&& value) {
45 m_resoldBusinessHasBeenSet = true;
46 m_resoldBusiness = std::forward<ResoldBusinessT>(value);
47 }
48 template <typename ResoldBusinessT = ResoldBusiness>
49 SupportPlan& WithResoldBusiness(ResoldBusinessT&& value) {
50 SetResoldBusiness(std::forward<ResoldBusinessT>(value));
51 return *this;
52 }
54
56
59 inline const ResoldEnterprise& GetResoldEnterprise() const { return m_resoldEnterprise; }
60 inline bool ResoldEnterpriseHasBeenSet() const { return m_resoldEnterpriseHasBeenSet; }
61 template <typename ResoldEnterpriseT = ResoldEnterprise>
62 void SetResoldEnterprise(ResoldEnterpriseT&& value) {
63 m_resoldEnterpriseHasBeenSet = true;
64 m_resoldEnterprise = std::forward<ResoldEnterpriseT>(value);
65 }
66 template <typename ResoldEnterpriseT = ResoldEnterprise>
67 SupportPlan& WithResoldEnterprise(ResoldEnterpriseT&& value) {
68 SetResoldEnterprise(std::forward<ResoldEnterpriseT>(value));
69 return *this;
70 }
72
74
77 inline const PartnerLedSupport& GetPartnerLedSupport() const { return m_partnerLedSupport; }
78 inline bool PartnerLedSupportHasBeenSet() const { return m_partnerLedSupportHasBeenSet; }
79 template <typename PartnerLedSupportT = PartnerLedSupport>
80 void SetPartnerLedSupport(PartnerLedSupportT&& value) {
81 m_partnerLedSupportHasBeenSet = true;
82 m_partnerLedSupport = std::forward<PartnerLedSupportT>(value);
83 }
84 template <typename PartnerLedSupportT = PartnerLedSupport>
85 SupportPlan& WithPartnerLedSupport(PartnerLedSupportT&& value) {
86 SetPartnerLedSupport(std::forward<PartnerLedSupportT>(value));
87 return *this;
88 }
90 private:
91 ResoldBusiness m_resoldBusiness;
92
93 ResoldEnterprise m_resoldEnterprise;
94
95 PartnerLedSupport m_partnerLedSupport;
96 bool m_resoldBusinessHasBeenSet = false;
97 bool m_resoldEnterpriseHasBeenSet = false;
98 bool m_partnerLedSupportHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace PartnerCentralChannel
103} // namespace Aws
const ResoldBusiness & GetResoldBusiness() const
Definition SupportPlan.h:41
const PartnerLedSupport & GetPartnerLedSupport() const
Definition SupportPlan.h:77
SupportPlan & WithPartnerLedSupport(PartnerLedSupportT &&value)
Definition SupportPlan.h:85
AWS_PARTNERCENTRALCHANNEL_API SupportPlan()=default
AWS_PARTNERCENTRALCHANNEL_API SupportPlan & operator=(Aws::Utils::Json::JsonView jsonValue)
const ResoldEnterprise & GetResoldEnterprise() const
Definition SupportPlan.h:59
SupportPlan & WithResoldEnterprise(ResoldEnterpriseT &&value)
Definition SupportPlan.h:67
AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const
SupportPlan & WithResoldBusiness(ResoldBusinessT &&value)
Definition SupportPlan.h:49
void SetResoldBusiness(ResoldBusinessT &&value)
Definition SupportPlan.h:44
void SetPartnerLedSupport(PartnerLedSupportT &&value)
Definition SupportPlan.h:80
void SetResoldEnterprise(ResoldEnterpriseT &&value)
Definition SupportPlan.h:62
AWS_PARTNERCENTRALCHANNEL_API SupportPlan(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue