AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LeadInvitationPayload.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/LeadInvitationCustomer.h>
9#include <aws/partnercentral-selling/model/LeadInvitationInteraction.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace PartnerCentralSelling {
21namespace Model {
22
32 public:
33 AWS_PARTNERCENTRALSELLING_API LeadInvitationPayload() = default;
34 AWS_PARTNERCENTRALSELLING_API LeadInvitationPayload(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API LeadInvitationPayload& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const LeadInvitationCustomer& GetCustomer() const { return m_customer; }
45 inline bool CustomerHasBeenSet() const { return m_customerHasBeenSet; }
46 template <typename CustomerT = LeadInvitationCustomer>
47 void SetCustomer(CustomerT&& value) {
48 m_customerHasBeenSet = true;
49 m_customer = std::forward<CustomerT>(value);
50 }
51 template <typename CustomerT = LeadInvitationCustomer>
52 LeadInvitationPayload& WithCustomer(CustomerT&& value) {
53 SetCustomer(std::forward<CustomerT>(value));
54 return *this;
55 }
57
59
64 inline const LeadInvitationInteraction& GetInteraction() const { return m_interaction; }
65 inline bool InteractionHasBeenSet() const { return m_interactionHasBeenSet; }
66 template <typename InteractionT = LeadInvitationInteraction>
67 void SetInteraction(InteractionT&& value) {
68 m_interactionHasBeenSet = true;
69 m_interaction = std::forward<InteractionT>(value);
70 }
71 template <typename InteractionT = LeadInvitationInteraction>
72 LeadInvitationPayload& WithInteraction(InteractionT&& value) {
73 SetInteraction(std::forward<InteractionT>(value));
74 return *this;
75 }
77 private:
78 LeadInvitationCustomer m_customer;
79
80 LeadInvitationInteraction m_interaction;
81 bool m_customerHasBeenSet = false;
82 bool m_interactionHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace PartnerCentralSelling
87} // namespace Aws
const LeadInvitationInteraction & GetInteraction() const
LeadInvitationPayload & WithInteraction(InteractionT &&value)
AWS_PARTNERCENTRALSELLING_API LeadInvitationPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
LeadInvitationPayload & WithCustomer(CustomerT &&value)
AWS_PARTNERCENTRALSELLING_API LeadInvitationPayload(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API LeadInvitationPayload()=default
Aws::Utils::Json::JsonValue JsonValue