AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LeadInvitationInteraction.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PartnerCentralSelling {
20namespace Model {
21
31 public:
32 AWS_PARTNERCENTRALSELLING_API LeadInvitationInteraction() = default;
33 AWS_PARTNERCENTRALSELLING_API LeadInvitationInteraction(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API LeadInvitationInteraction& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetSourceType() const { return m_sourceType; }
44 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
45 template <typename SourceTypeT = Aws::String>
46 void SetSourceType(SourceTypeT&& value) {
47 m_sourceTypeHasBeenSet = true;
48 m_sourceType = std::forward<SourceTypeT>(value);
49 }
50 template <typename SourceTypeT = Aws::String>
52 SetSourceType(std::forward<SourceTypeT>(value));
53 return *this;
54 }
56
58
63 inline const Aws::String& GetSourceId() const { return m_sourceId; }
64 inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; }
65 template <typename SourceIdT = Aws::String>
66 void SetSourceId(SourceIdT&& value) {
67 m_sourceIdHasBeenSet = true;
68 m_sourceId = std::forward<SourceIdT>(value);
69 }
70 template <typename SourceIdT = Aws::String>
72 SetSourceId(std::forward<SourceIdT>(value));
73 return *this;
74 }
76
78
83 inline const Aws::String& GetSourceName() const { return m_sourceName; }
84 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
85 template <typename SourceNameT = Aws::String>
86 void SetSourceName(SourceNameT&& value) {
87 m_sourceNameHasBeenSet = true;
88 m_sourceName = std::forward<SourceNameT>(value);
89 }
90 template <typename SourceNameT = Aws::String>
92 SetSourceName(std::forward<SourceNameT>(value));
93 return *this;
94 }
96
98
103 inline const Aws::String& GetUsecase() const { return m_usecase; }
104 inline bool UsecaseHasBeenSet() const { return m_usecaseHasBeenSet; }
105 template <typename UsecaseT = Aws::String>
106 void SetUsecase(UsecaseT&& value) {
107 m_usecaseHasBeenSet = true;
108 m_usecase = std::forward<UsecaseT>(value);
109 }
110 template <typename UsecaseT = Aws::String>
112 SetUsecase(std::forward<UsecaseT>(value));
113 return *this;
114 }
116
118
123 inline const Aws::String& GetContactBusinessTitle() const { return m_contactBusinessTitle; }
124 inline bool ContactBusinessTitleHasBeenSet() const { return m_contactBusinessTitleHasBeenSet; }
125 template <typename ContactBusinessTitleT = Aws::String>
126 void SetContactBusinessTitle(ContactBusinessTitleT&& value) {
127 m_contactBusinessTitleHasBeenSet = true;
128 m_contactBusinessTitle = std::forward<ContactBusinessTitleT>(value);
129 }
130 template <typename ContactBusinessTitleT = Aws::String>
131 LeadInvitationInteraction& WithContactBusinessTitle(ContactBusinessTitleT&& value) {
132 SetContactBusinessTitle(std::forward<ContactBusinessTitleT>(value));
133 return *this;
134 }
136 private:
137 Aws::String m_sourceType;
138
139 Aws::String m_sourceId;
140
141 Aws::String m_sourceName;
142
143 Aws::String m_usecase;
144
145 Aws::String m_contactBusinessTitle;
146 bool m_sourceTypeHasBeenSet = false;
147 bool m_sourceIdHasBeenSet = false;
148 bool m_sourceNameHasBeenSet = false;
149 bool m_usecaseHasBeenSet = false;
150 bool m_contactBusinessTitleHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace PartnerCentralSelling
155} // namespace Aws
LeadInvitationInteraction & WithSourceName(SourceNameT &&value)
LeadInvitationInteraction & WithContactBusinessTitle(ContactBusinessTitleT &&value)
LeadInvitationInteraction & WithSourceType(SourceTypeT &&value)
LeadInvitationInteraction & WithSourceId(SourceIdT &&value)
AWS_PARTNERCENTRALSELLING_API LeadInvitationInteraction(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API LeadInvitationInteraction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API LeadInvitationInteraction()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue