AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
AccountSummary.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/Industry.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/partnercentral-selling/model/AddressSummary.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
51 inline Industry GetIndustry() const { return m_industry; }
52 inline bool IndustryHasBeenSet() const { return m_industryHasBeenSet; }
53 inline void SetIndustry(Industry value) { m_industryHasBeenSet = true; m_industry = value; }
54 inline AccountSummary& WithIndustry(Industry value) { SetIndustry(value); return *this;}
56
58
65 inline const Aws::String& GetOtherIndustry() const { return m_otherIndustry; }
66 inline bool OtherIndustryHasBeenSet() const { return m_otherIndustryHasBeenSet; }
67 template<typename OtherIndustryT = Aws::String>
68 void SetOtherIndustry(OtherIndustryT&& value) { m_otherIndustryHasBeenSet = true; m_otherIndustry = std::forward<OtherIndustryT>(value); }
69 template<typename OtherIndustryT = Aws::String>
70 AccountSummary& WithOtherIndustry(OtherIndustryT&& value) { SetOtherIndustry(std::forward<OtherIndustryT>(value)); return *this;}
72
74
78 inline const Aws::String& GetCompanyName() const { return m_companyName; }
79 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
80 template<typename CompanyNameT = Aws::String>
81 void SetCompanyName(CompanyNameT&& value) { m_companyNameHasBeenSet = true; m_companyName = std::forward<CompanyNameT>(value); }
82 template<typename CompanyNameT = Aws::String>
83 AccountSummary& WithCompanyName(CompanyNameT&& value) { SetCompanyName(std::forward<CompanyNameT>(value)); return *this;}
85
87
92 inline const Aws::String& GetWebsiteUrl() const { return m_websiteUrl; }
93 inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; }
94 template<typename WebsiteUrlT = Aws::String>
95 void SetWebsiteUrl(WebsiteUrlT&& value) { m_websiteUrlHasBeenSet = true; m_websiteUrl = std::forward<WebsiteUrlT>(value); }
96 template<typename WebsiteUrlT = Aws::String>
97 AccountSummary& WithWebsiteUrl(WebsiteUrlT&& value) { SetWebsiteUrl(std::forward<WebsiteUrlT>(value)); return *this;}
99
101
105 inline const AddressSummary& GetAddress() const { return m_address; }
106 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
107 template<typename AddressT = AddressSummary>
108 void SetAddress(AddressT&& value) { m_addressHasBeenSet = true; m_address = std::forward<AddressT>(value); }
109 template<typename AddressT = AddressSummary>
110 AccountSummary& WithAddress(AddressT&& value) { SetAddress(std::forward<AddressT>(value)); return *this;}
112 private:
113
114 Industry m_industry{Industry::NOT_SET};
115 bool m_industryHasBeenSet = false;
116
117 Aws::String m_otherIndustry;
118 bool m_otherIndustryHasBeenSet = false;
119
120 Aws::String m_companyName;
121 bool m_companyNameHasBeenSet = false;
122
123 Aws::String m_websiteUrl;
124 bool m_websiteUrlHasBeenSet = false;
125
126 AddressSummary m_address;
127 bool m_addressHasBeenSet = 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