AWS SDK for C++

AWS SDK for C++ Version 1.11.871

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/LeadAddress.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 LeadCustomer() = default;
34 AWS_PARTNERCENTRALSELLING_API LeadCustomer(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API LeadCustomer& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::String& GetIndustry() const { return m_industry; }
45 inline bool IndustryHasBeenSet() const { return m_industryHasBeenSet; }
46 template <typename IndustryT = Aws::String>
47 void SetIndustry(IndustryT&& value) {
48 m_industryHasBeenSet = true;
49 m_industry = std::forward<IndustryT>(value);
50 }
51 template <typename IndustryT = Aws::String>
52 LeadCustomer& WithIndustry(IndustryT&& value) {
53 SetIndustry(std::forward<IndustryT>(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
101 inline const LeadAddress& GetAddress() const { return m_address; }
102 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
103 template <typename AddressT = LeadAddress>
104 void SetAddress(AddressT&& value) {
105 m_addressHasBeenSet = true;
106 m_address = std::forward<AddressT>(value);
107 }
108 template <typename AddressT = LeadAddress>
109 LeadCustomer& WithAddress(AddressT&& value) {
110 SetAddress(std::forward<AddressT>(value));
111 return *this;
112 }
114
116
121 inline const Aws::String& GetAwsMaturity() const { return m_awsMaturity; }
122 inline bool AwsMaturityHasBeenSet() const { return m_awsMaturityHasBeenSet; }
123 template <typename AwsMaturityT = Aws::String>
124 void SetAwsMaturity(AwsMaturityT&& value) {
125 m_awsMaturityHasBeenSet = true;
126 m_awsMaturity = std::forward<AwsMaturityT>(value);
127 }
128 template <typename AwsMaturityT = Aws::String>
129 LeadCustomer& WithAwsMaturity(AwsMaturityT&& value) {
130 SetAwsMaturity(std::forward<AwsMaturityT>(value));
131 return *this;
132 }
134
136
141 inline const Aws::String& GetMarketSegment() const { return m_marketSegment; }
142 inline bool MarketSegmentHasBeenSet() const { return m_marketSegmentHasBeenSet; }
143 template <typename MarketSegmentT = Aws::String>
144 void SetMarketSegment(MarketSegmentT&& value) {
145 m_marketSegmentHasBeenSet = true;
146 m_marketSegment = std::forward<MarketSegmentT>(value);
147 }
148 template <typename MarketSegmentT = Aws::String>
149 LeadCustomer& WithMarketSegment(MarketSegmentT&& value) {
150 SetMarketSegment(std::forward<MarketSegmentT>(value));
151 return *this;
152 }
154 private:
155 Aws::String m_industry;
156
157 Aws::String m_companyName;
158
159 Aws::String m_websiteUrl;
160
161 LeadAddress m_address;
162
163 Aws::String m_awsMaturity;
164
165 Aws::String m_marketSegment;
166 bool m_industryHasBeenSet = false;
167 bool m_companyNameHasBeenSet = false;
168 bool m_websiteUrlHasBeenSet = false;
169 bool m_addressHasBeenSet = false;
170 bool m_awsMaturityHasBeenSet = false;
171 bool m_marketSegmentHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace PartnerCentralSelling
176} // namespace Aws
LeadCustomer & WithCompanyName(CompanyNameT &&value)
LeadCustomer & WithMarketSegment(MarketSegmentT &&value)
AWS_PARTNERCENTRALSELLING_API LeadCustomer(Aws::Utils::Json::JsonView jsonValue)
LeadCustomer & WithIndustry(IndustryT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
LeadCustomer & WithAwsMaturity(AwsMaturityT &&value)
LeadCustomer & WithAddress(AddressT &&value)
AWS_PARTNERCENTRALSELLING_API LeadCustomer()=default
void SetMarketSegment(MarketSegmentT &&value)
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