AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AccountSummary.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/AddressSummary.h>
9#include <aws/core/utils/memory/stl/AWSString.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
35 {
36 public:
37 AWS_PARTNERCENTRALSELLING_API AccountSummary() = default;
38 AWS_PARTNERCENTRALSELLING_API AccountSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API AccountSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const AddressSummary& GetAddress() const { return m_address; }
49 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
50 template<typename AddressT = AddressSummary>
51 void SetAddress(AddressT&& value) { m_addressHasBeenSet = true; m_address = std::forward<AddressT>(value); }
52 template<typename AddressT = AddressSummary>
53 AccountSummary& WithAddress(AddressT&& value) { SetAddress(std::forward<AddressT>(value)); return *this;}
55
57
61 inline const Aws::String& GetCompanyName() const { return m_companyName; }
62 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
63 template<typename CompanyNameT = Aws::String>
64 void SetCompanyName(CompanyNameT&& value) { m_companyNameHasBeenSet = true; m_companyName = std::forward<CompanyNameT>(value); }
65 template<typename CompanyNameT = Aws::String>
66 AccountSummary& WithCompanyName(CompanyNameT&& value) { SetCompanyName(std::forward<CompanyNameT>(value)); return *this;}
68
70
77 inline Industry GetIndustry() const { return m_industry; }
78 inline bool IndustryHasBeenSet() const { return m_industryHasBeenSet; }
79 inline void SetIndustry(Industry value) { m_industryHasBeenSet = true; m_industry = value; }
80 inline AccountSummary& WithIndustry(Industry value) { SetIndustry(value); return *this;}
82
84
91 inline const Aws::String& GetOtherIndustry() const { return m_otherIndustry; }
92 inline bool OtherIndustryHasBeenSet() const { return m_otherIndustryHasBeenSet; }
93 template<typename OtherIndustryT = Aws::String>
94 void SetOtherIndustry(OtherIndustryT&& value) { m_otherIndustryHasBeenSet = true; m_otherIndustry = std::forward<OtherIndustryT>(value); }
95 template<typename OtherIndustryT = Aws::String>
96 AccountSummary& WithOtherIndustry(OtherIndustryT&& value) { SetOtherIndustry(std::forward<OtherIndustryT>(value)); return *this;}
98
100
105 inline const Aws::String& GetWebsiteUrl() const { return m_websiteUrl; }
106 inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; }
107 template<typename WebsiteUrlT = Aws::String>
108 void SetWebsiteUrl(WebsiteUrlT&& value) { m_websiteUrlHasBeenSet = true; m_websiteUrl = std::forward<WebsiteUrlT>(value); }
109 template<typename WebsiteUrlT = Aws::String>
110 AccountSummary& WithWebsiteUrl(WebsiteUrlT&& value) { SetWebsiteUrl(std::forward<WebsiteUrlT>(value)); return *this;}
112 private:
113
114 AddressSummary m_address;
115 bool m_addressHasBeenSet = false;
116
117 Aws::String m_companyName;
118 bool m_companyNameHasBeenSet = false;
119
120 Industry m_industry{Industry::NOT_SET};
121 bool m_industryHasBeenSet = false;
122
123 Aws::String m_otherIndustry;
124 bool m_otherIndustryHasBeenSet = false;
125
126 Aws::String m_websiteUrl;
127 bool m_websiteUrlHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace PartnerCentralSelling
132} // namespace Aws
AccountSummary & WithWebsiteUrl(WebsiteUrlT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API AccountSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API AccountSummary()=default
AccountSummary & WithAddress(AddressT &&value)
AccountSummary & WithIndustry(Industry value)
AWS_PARTNERCENTRALSELLING_API AccountSummary(Aws::Utils::Json::JsonView jsonValue)
AccountSummary & WithOtherIndustry(OtherIndustryT &&value)
AccountSummary & WithCompanyName(CompanyNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue