AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LeadCustomer.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/AddressSummary.h>
10#include <aws/partnercentral-selling/model/Industry.h>
11#include <aws/partnercentral-selling/model/MarketSegment.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PartnerCentralSelling {
23namespace Model {
24
34 public:
35 AWS_PARTNERCENTRALSELLING_API LeadCustomer() = default;
36 AWS_PARTNERCENTRALSELLING_API LeadCustomer(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PARTNERCENTRALSELLING_API LeadCustomer& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
46 inline Industry GetIndustry() const { return m_industry; }
47 inline bool IndustryHasBeenSet() const { return m_industryHasBeenSet; }
48 inline void SetIndustry(Industry value) {
49 m_industryHasBeenSet = true;
50 m_industry = value;
51 }
53 SetIndustry(value);
54 return *this;
55 }
57
59
63 inline const Aws::String& GetCompanyName() const { return m_companyName; }
64 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
65 template <typename CompanyNameT = Aws::String>
66 void SetCompanyName(CompanyNameT&& value) {
67 m_companyNameHasBeenSet = true;
68 m_companyName = std::forward<CompanyNameT>(value);
69 }
70 template <typename CompanyNameT = Aws::String>
71 LeadCustomer& WithCompanyName(CompanyNameT&& value) {
72 SetCompanyName(std::forward<CompanyNameT>(value));
73 return *this;
74 }
76
78
83 inline const Aws::String& GetWebsiteUrl() const { return m_websiteUrl; }
84 inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; }
85 template <typename WebsiteUrlT = Aws::String>
86 void SetWebsiteUrl(WebsiteUrlT&& value) {
87 m_websiteUrlHasBeenSet = true;
88 m_websiteUrl = std::forward<WebsiteUrlT>(value);
89 }
90 template <typename WebsiteUrlT = Aws::String>
91 LeadCustomer& WithWebsiteUrl(WebsiteUrlT&& value) {
92 SetWebsiteUrl(std::forward<WebsiteUrlT>(value));
93 return *this;
94 }
96
98
99 inline const AddressSummary& GetAddress() const { return m_address; }
100 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
101 template <typename AddressT = AddressSummary>
102 void SetAddress(AddressT&& value) {
103 m_addressHasBeenSet = true;
104 m_address = std::forward<AddressT>(value);
105 }
106 template <typename AddressT = AddressSummary>
107 LeadCustomer& WithAddress(AddressT&& value) {
108 SetAddress(std::forward<AddressT>(value));
109 return *this;
110 }
112
114
119 inline const Aws::String& GetAwsMaturity() const { return m_awsMaturity; }
120 inline bool AwsMaturityHasBeenSet() const { return m_awsMaturityHasBeenSet; }
121 template <typename AwsMaturityT = Aws::String>
122 void SetAwsMaturity(AwsMaturityT&& value) {
123 m_awsMaturityHasBeenSet = true;
124 m_awsMaturity = std::forward<AwsMaturityT>(value);
125 }
126 template <typename AwsMaturityT = Aws::String>
127 LeadCustomer& WithAwsMaturity(AwsMaturityT&& value) {
128 SetAwsMaturity(std::forward<AwsMaturityT>(value));
129 return *this;
130 }
132
134
139 inline MarketSegment GetMarketSegment() const { return m_marketSegment; }
140 inline bool MarketSegmentHasBeenSet() const { return m_marketSegmentHasBeenSet; }
141 inline void SetMarketSegment(MarketSegment value) {
142 m_marketSegmentHasBeenSet = true;
143 m_marketSegment = value;
144 }
146 SetMarketSegment(value);
147 return *this;
148 }
150 private:
151 Industry m_industry{Industry::NOT_SET};
152
153 Aws::String m_companyName;
154
155 Aws::String m_websiteUrl;
156
157 AddressSummary m_address;
158
159 Aws::String m_awsMaturity;
160
161 MarketSegment m_marketSegment{MarketSegment::NOT_SET};
162 bool m_industryHasBeenSet = false;
163 bool m_companyNameHasBeenSet = false;
164 bool m_websiteUrlHasBeenSet = false;
165 bool m_addressHasBeenSet = false;
166 bool m_awsMaturityHasBeenSet = false;
167 bool m_marketSegmentHasBeenSet = false;
168};
169
170} // namespace Model
171} // namespace PartnerCentralSelling
172} // namespace Aws
LeadCustomer & WithCompanyName(CompanyNameT &&value)
LeadCustomer & WithMarketSegment(MarketSegment value)
AWS_PARTNERCENTRALSELLING_API LeadCustomer(Aws::Utils::Json::JsonView jsonValue)
LeadCustomer & WithIndustry(Industry value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
const AddressSummary & GetAddress() const
LeadCustomer & WithAwsMaturity(AwsMaturityT &&value)
LeadCustomer & WithAddress(AddressT &&value)
AWS_PARTNERCENTRALSELLING_API LeadCustomer()=default
LeadCustomer & WithWebsiteUrl(WebsiteUrlT &&value)
AWS_PARTNERCENTRALSELLING_API LeadCustomer & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue