AWS SDK for C++

AWS SDK for C++ Version 1.11.790

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/ResoldEnterprise.h>
10#include <aws/partnercentral-channel/model/ResoldUnifiedOperations.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 ResoldEnterprise& GetResoldEnterprise() const { return m_resoldEnterprise; }
42 inline bool ResoldEnterpriseHasBeenSet() const { return m_resoldEnterpriseHasBeenSet; }
43 template <typename ResoldEnterpriseT = ResoldEnterprise>
44 void SetResoldEnterprise(ResoldEnterpriseT&& value) {
45 m_resoldEnterpriseHasBeenSet = true;
46 m_resoldEnterprise = std::forward<ResoldEnterpriseT>(value);
47 }
48 template <typename ResoldEnterpriseT = ResoldEnterprise>
49 SupportPlan& WithResoldEnterprise(ResoldEnterpriseT&& value) {
50 SetResoldEnterprise(std::forward<ResoldEnterpriseT>(value));
51 return *this;
52 }
54
56
59 inline const PartnerLedSupport& GetPartnerLedSupport() const { return m_partnerLedSupport; }
60 inline bool PartnerLedSupportHasBeenSet() const { return m_partnerLedSupportHasBeenSet; }
61 template <typename PartnerLedSupportT = PartnerLedSupport>
62 void SetPartnerLedSupport(PartnerLedSupportT&& value) {
63 m_partnerLedSupportHasBeenSet = true;
64 m_partnerLedSupport = std::forward<PartnerLedSupportT>(value);
65 }
66 template <typename PartnerLedSupportT = PartnerLedSupport>
67 SupportPlan& WithPartnerLedSupport(PartnerLedSupportT&& value) {
68 SetPartnerLedSupport(std::forward<PartnerLedSupportT>(value));
69 return *this;
70 }
72
74
77 inline const ResoldUnifiedOperations& GetResoldUnifiedOperations() const { return m_resoldUnifiedOperations; }
78 inline bool ResoldUnifiedOperationsHasBeenSet() const { return m_resoldUnifiedOperationsHasBeenSet; }
79 template <typename ResoldUnifiedOperationsT = ResoldUnifiedOperations>
80 void SetResoldUnifiedOperations(ResoldUnifiedOperationsT&& value) {
81 m_resoldUnifiedOperationsHasBeenSet = true;
82 m_resoldUnifiedOperations = std::forward<ResoldUnifiedOperationsT>(value);
83 }
84 template <typename ResoldUnifiedOperationsT = ResoldUnifiedOperations>
85 SupportPlan& WithResoldUnifiedOperations(ResoldUnifiedOperationsT&& value) {
86 SetResoldUnifiedOperations(std::forward<ResoldUnifiedOperationsT>(value));
87 return *this;
88 }
90 private:
91 ResoldEnterprise m_resoldEnterprise;
92
93 PartnerLedSupport m_partnerLedSupport;
94
95 ResoldUnifiedOperations m_resoldUnifiedOperations;
96 bool m_resoldEnterpriseHasBeenSet = false;
97 bool m_partnerLedSupportHasBeenSet = false;
98 bool m_resoldUnifiedOperationsHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace PartnerCentralChannel
103} // namespace Aws
const PartnerLedSupport & GetPartnerLedSupport() const
Definition SupportPlan.h:59
SupportPlan & WithPartnerLedSupport(PartnerLedSupportT &&value)
Definition SupportPlan.h:67
AWS_PARTNERCENTRALCHANNEL_API SupportPlan()=default
const ResoldUnifiedOperations & GetResoldUnifiedOperations() const
Definition SupportPlan.h:77
AWS_PARTNERCENTRALCHANNEL_API SupportPlan & operator=(Aws::Utils::Json::JsonView jsonValue)
const ResoldEnterprise & GetResoldEnterprise() const
Definition SupportPlan.h:41
SupportPlan & WithResoldEnterprise(ResoldEnterpriseT &&value)
Definition SupportPlan.h:49
AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResoldUnifiedOperations(ResoldUnifiedOperationsT &&value)
Definition SupportPlan.h:80
void SetPartnerLedSupport(PartnerLedSupportT &&value)
Definition SupportPlan.h:62
SupportPlan & WithResoldUnifiedOperations(ResoldUnifiedOperationsT &&value)
Definition SupportPlan.h:85
void SetResoldEnterprise(ResoldEnterpriseT &&value)
Definition SupportPlan.h:44
AWS_PARTNERCENTRALCHANNEL_API SupportPlan(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue