AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
Account.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/Address.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
30class Account {
31 public:
32 AWS_PARTNERCENTRALSELLING_API Account() = default;
33 AWS_PARTNERCENTRALSELLING_API Account(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PARTNERCENTRALSELLING_API Account& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
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 }
49 inline Account& WithIndustry(Industry value) {
50 SetIndustry(value);
51 return *this;
52 }
54
56
61 inline const Aws::String& GetOtherIndustry() const { return m_otherIndustry; }
62 inline bool OtherIndustryHasBeenSet() const { return m_otherIndustryHasBeenSet; }
63 template <typename OtherIndustryT = Aws::String>
64 void SetOtherIndustry(OtherIndustryT&& value) {
65 m_otherIndustryHasBeenSet = true;
66 m_otherIndustry = std::forward<OtherIndustryT>(value);
67 }
68 template <typename OtherIndustryT = Aws::String>
69 Account& WithOtherIndustry(OtherIndustryT&& value) {
70 SetOtherIndustry(std::forward<OtherIndustryT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetCompanyName() const { return m_companyName; }
81 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
82 template <typename CompanyNameT = Aws::String>
83 void SetCompanyName(CompanyNameT&& value) {
84 m_companyNameHasBeenSet = true;
85 m_companyName = std::forward<CompanyNameT>(value);
86 }
87 template <typename CompanyNameT = Aws::String>
88 Account& WithCompanyName(CompanyNameT&& value) {
89 SetCompanyName(std::forward<CompanyNameT>(value));
90 return *this;
91 }
93
95
101 inline const Aws::String& GetWebsiteUrl() const { return m_websiteUrl; }
102 inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; }
103 template <typename WebsiteUrlT = Aws::String>
104 void SetWebsiteUrl(WebsiteUrlT&& value) {
105 m_websiteUrlHasBeenSet = true;
106 m_websiteUrl = std::forward<WebsiteUrlT>(value);
107 }
108 template <typename WebsiteUrlT = Aws::String>
109 Account& WithWebsiteUrl(WebsiteUrlT&& value) {
110 SetWebsiteUrl(std::forward<WebsiteUrlT>(value));
111 return *this;
112 }
114
116
120 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
121 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
122 template <typename AwsAccountIdT = Aws::String>
123 void SetAwsAccountId(AwsAccountIdT&& value) {
124 m_awsAccountIdHasBeenSet = true;
125 m_awsAccountId = std::forward<AwsAccountIdT>(value);
126 }
127 template <typename AwsAccountIdT = Aws::String>
128 Account& WithAwsAccountId(AwsAccountIdT&& value) {
129 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
130 return *this;
131 }
133
135
139 inline const Address& GetAddress() const { return m_address; }
140 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
141 template <typename AddressT = Address>
142 void SetAddress(AddressT&& value) {
143 m_addressHasBeenSet = true;
144 m_address = std::forward<AddressT>(value);
145 }
146 template <typename AddressT = Address>
147 Account& WithAddress(AddressT&& value) {
148 SetAddress(std::forward<AddressT>(value));
149 return *this;
150 }
152
154
157 inline const Aws::String& GetDuns() const { return m_duns; }
158 inline bool DunsHasBeenSet() const { return m_dunsHasBeenSet; }
159 template <typename DunsT = Aws::String>
160 void SetDuns(DunsT&& value) {
161 m_dunsHasBeenSet = true;
162 m_duns = std::forward<DunsT>(value);
163 }
164 template <typename DunsT = Aws::String>
165 Account& WithDuns(DunsT&& value) {
166 SetDuns(std::forward<DunsT>(value));
167 return *this;
168 }
170 private:
171 Industry m_industry{Industry::NOT_SET};
172
173 Aws::String m_otherIndustry;
174
175 Aws::String m_companyName;
176
177 Aws::String m_websiteUrl;
178
179 Aws::String m_awsAccountId;
180
181 Address m_address;
182
183 Aws::String m_duns;
184 bool m_industryHasBeenSet = false;
185 bool m_otherIndustryHasBeenSet = false;
186 bool m_companyNameHasBeenSet = false;
187 bool m_websiteUrlHasBeenSet = false;
188 bool m_awsAccountIdHasBeenSet = false;
189 bool m_addressHasBeenSet = false;
190 bool m_dunsHasBeenSet = false;
191};
192
193} // namespace Model
194} // namespace PartnerCentralSelling
195} // namespace Aws
const Aws::String & GetAwsAccountId() const
Definition Account.h:120
const Aws::String & GetOtherIndustry() const
Definition Account.h:61
Account & WithOtherIndustry(OtherIndustryT &&value)
Definition Account.h:69
void SetAwsAccountId(AwsAccountIdT &&value)
Definition Account.h:123
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWebsiteUrl(WebsiteUrlT &&value)
Definition Account.h:104
Account & WithIndustry(Industry value)
Definition Account.h:49
const Aws::String & GetWebsiteUrl() const
Definition Account.h:101
Account & WithAwsAccountId(AwsAccountIdT &&value)
Definition Account.h:128
void SetCompanyName(CompanyNameT &&value)
Definition Account.h:83
const Aws::String & GetDuns() const
Definition Account.h:157
Account & WithDuns(DunsT &&value)
Definition Account.h:165
const Aws::String & GetCompanyName() const
Definition Account.h:80
AWS_PARTNERCENTRALSELLING_API Account(Aws::Utils::Json::JsonView jsonValue)
Account & WithAddress(AddressT &&value)
Definition Account.h:147
AWS_PARTNERCENTRALSELLING_API Account & operator=(Aws::Utils::Json::JsonView jsonValue)
const Address & GetAddress() const
Definition Account.h:139
Account & WithCompanyName(CompanyNameT &&value)
Definition Account.h:88
Account & WithWebsiteUrl(WebsiteUrlT &&value)
Definition Account.h:109
AWS_PARTNERCENTRALSELLING_API Account()=default
void SetOtherIndustry(OtherIndustryT &&value)
Definition Account.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue