AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EngagementCustomer.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-selling/model/CountryCode.h>
10#include <aws/partnercentral-selling/model/Industry.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PartnerCentralSelling
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_PARTNERCENTRALSELLING_API EngagementCustomer() = default;
39 AWS_PARTNERCENTRALSELLING_API EngagementCustomer(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PARTNERCENTRALSELLING_API EngagementCustomer& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetCompanyName() const { return m_companyName; }
50 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
51 template<typename CompanyNameT = Aws::String>
52 void SetCompanyName(CompanyNameT&& value) { m_companyNameHasBeenSet = true; m_companyName = std::forward<CompanyNameT>(value); }
53 template<typename CompanyNameT = Aws::String>
54 EngagementCustomer& WithCompanyName(CompanyNameT&& value) { SetCompanyName(std::forward<CompanyNameT>(value)); return *this;}
56
58
62 inline CountryCode GetCountryCode() const { return m_countryCode; }
63 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
64 inline void SetCountryCode(CountryCode value) { m_countryCodeHasBeenSet = true; m_countryCode = value; }
65 inline EngagementCustomer& WithCountryCode(CountryCode value) { SetCountryCode(value); return *this;}
67
69
73 inline Industry GetIndustry() const { return m_industry; }
74 inline bool IndustryHasBeenSet() const { return m_industryHasBeenSet; }
75 inline void SetIndustry(Industry value) { m_industryHasBeenSet = true; m_industry = value; }
76 inline EngagementCustomer& WithIndustry(Industry value) { SetIndustry(value); return *this;}
78
80
84 inline const Aws::String& GetWebsiteUrl() const { return m_websiteUrl; }
85 inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; }
86 template<typename WebsiteUrlT = Aws::String>
87 void SetWebsiteUrl(WebsiteUrlT&& value) { m_websiteUrlHasBeenSet = true; m_websiteUrl = std::forward<WebsiteUrlT>(value); }
88 template<typename WebsiteUrlT = Aws::String>
89 EngagementCustomer& WithWebsiteUrl(WebsiteUrlT&& value) { SetWebsiteUrl(std::forward<WebsiteUrlT>(value)); return *this;}
91 private:
92
93 Aws::String m_companyName;
94 bool m_companyNameHasBeenSet = false;
95
96 CountryCode m_countryCode{CountryCode::NOT_SET};
97 bool m_countryCodeHasBeenSet = false;
98
99 Industry m_industry{Industry::NOT_SET};
100 bool m_industryHasBeenSet = false;
101
102 Aws::String m_websiteUrl;
103 bool m_websiteUrlHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace PartnerCentralSelling
108} // namespace Aws
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
EngagementCustomer & WithIndustry(Industry value)
EngagementCustomer & WithCountryCode(CountryCode value)
EngagementCustomer & WithWebsiteUrl(WebsiteUrlT &&value)
AWS_PARTNERCENTRALSELLING_API EngagementCustomer & operator=(Aws::Utils::Json::JsonView jsonValue)
EngagementCustomer & WithCompanyName(CompanyNameT &&value)
AWS_PARTNERCENTRALSELLING_API EngagementCustomer(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API EngagementCustomer()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue