AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
EngagementCustomer.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/CountryCode.h>
10#include <aws/partnercentral-selling/model/Industry.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PartnerCentralSelling {
22namespace Model {
23
32 public:
33 AWS_PARTNERCENTRALSELLING_API EngagementCustomer() = default;
34 AWS_PARTNERCENTRALSELLING_API EngagementCustomer(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API EngagementCustomer& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline Industry GetIndustry() const { return m_industry; }
44 inline bool IndustryHasBeenSet() const { return m_industryHasBeenSet; }
45 inline void SetIndustry(Industry value) {
46 m_industryHasBeenSet = true;
47 m_industry = value;
48 }
50 SetIndustry(value);
51 return *this;
52 }
54
56
60 inline const Aws::String& GetCompanyName() const { return m_companyName; }
61 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
62 template <typename CompanyNameT = Aws::String>
63 void SetCompanyName(CompanyNameT&& value) {
64 m_companyNameHasBeenSet = true;
65 m_companyName = std::forward<CompanyNameT>(value);
66 }
67 template <typename CompanyNameT = Aws::String>
68 EngagementCustomer& WithCompanyName(CompanyNameT&& value) {
69 SetCompanyName(std::forward<CompanyNameT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetWebsiteUrl() const { return m_websiteUrl; }
80 inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; }
81 template <typename WebsiteUrlT = Aws::String>
82 void SetWebsiteUrl(WebsiteUrlT&& value) {
83 m_websiteUrlHasBeenSet = true;
84 m_websiteUrl = std::forward<WebsiteUrlT>(value);
85 }
86 template <typename WebsiteUrlT = Aws::String>
87 EngagementCustomer& WithWebsiteUrl(WebsiteUrlT&& value) {
88 SetWebsiteUrl(std::forward<WebsiteUrlT>(value));
89 return *this;
90 }
92
94
98 inline CountryCode GetCountryCode() const { return m_countryCode; }
99 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
100 inline void SetCountryCode(CountryCode value) {
101 m_countryCodeHasBeenSet = true;
102 m_countryCode = value;
103 }
105 SetCountryCode(value);
106 return *this;
107 }
109 private:
110 Industry m_industry{Industry::NOT_SET};
111
112 Aws::String m_companyName;
113
114 Aws::String m_websiteUrl;
115
116 CountryCode m_countryCode{CountryCode::NOT_SET};
117 bool m_industryHasBeenSet = false;
118 bool m_companyNameHasBeenSet = false;
119 bool m_websiteUrlHasBeenSet = false;
120 bool m_countryCodeHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace PartnerCentralSelling
125} // 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