AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AccountSummary.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/AddressSummary.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
31 public:
32 AWS_PARTNERCENTRALSELLING_API AccountSummary() = default;
33 AWS_PARTNERCENTRALSELLING_API AccountSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API AccountSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
45 inline Industry GetIndustry() const { return m_industry; }
46 inline bool IndustryHasBeenSet() const { return m_industryHasBeenSet; }
47 inline void SetIndustry(Industry value) {
48 m_industryHasBeenSet = true;
49 m_industry = value;
50 }
52 SetIndustry(value);
53 return *this;
54 }
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) {
69 m_otherIndustryHasBeenSet = true;
70 m_otherIndustry = std::forward<OtherIndustryT>(value);
71 }
72 template <typename OtherIndustryT = Aws::String>
73 AccountSummary& WithOtherIndustry(OtherIndustryT&& value) {
74 SetOtherIndustry(std::forward<OtherIndustryT>(value));
75 return *this;
76 }
78
80
84 inline const Aws::String& GetCompanyName() const { return m_companyName; }
85 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
86 template <typename CompanyNameT = Aws::String>
87 void SetCompanyName(CompanyNameT&& value) {
88 m_companyNameHasBeenSet = true;
89 m_companyName = std::forward<CompanyNameT>(value);
90 }
91 template <typename CompanyNameT = Aws::String>
92 AccountSummary& WithCompanyName(CompanyNameT&& value) {
93 SetCompanyName(std::forward<CompanyNameT>(value));
94 return *this;
95 }
97
99
104 inline const Aws::String& GetWebsiteUrl() const { return m_websiteUrl; }
105 inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; }
106 template <typename WebsiteUrlT = Aws::String>
107 void SetWebsiteUrl(WebsiteUrlT&& value) {
108 m_websiteUrlHasBeenSet = true;
109 m_websiteUrl = std::forward<WebsiteUrlT>(value);
110 }
111 template <typename WebsiteUrlT = Aws::String>
112 AccountSummary& WithWebsiteUrl(WebsiteUrlT&& value) {
113 SetWebsiteUrl(std::forward<WebsiteUrlT>(value));
114 return *this;
115 }
117
119
123 inline const AddressSummary& GetAddress() const { return m_address; }
124 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
125 template <typename AddressT = AddressSummary>
126 void SetAddress(AddressT&& value) {
127 m_addressHasBeenSet = true;
128 m_address = std::forward<AddressT>(value);
129 }
130 template <typename AddressT = AddressSummary>
131 AccountSummary& WithAddress(AddressT&& value) {
132 SetAddress(std::forward<AddressT>(value));
133 return *this;
134 }
136 private:
137 Industry m_industry{Industry::NOT_SET};
138
139 Aws::String m_otherIndustry;
140
141 Aws::String m_companyName;
142
143 Aws::String m_websiteUrl;
144
145 AddressSummary m_address;
146 bool m_industryHasBeenSet = false;
147 bool m_otherIndustryHasBeenSet = false;
148 bool m_companyNameHasBeenSet = false;
149 bool m_websiteUrlHasBeenSet = false;
150 bool m_addressHasBeenSet = false;
151};
152
153} // namespace Model
154} // namespace PartnerCentralSelling
155} // 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