AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Account.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/partnercentral-selling/model/Address.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
34 class Account
35 {
36 public:
37 AWS_PARTNERCENTRALSELLING_API Account() = default;
38 AWS_PARTNERCENTRALSELLING_API Account(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PARTNERCENTRALSELLING_API Account& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Address& GetAddress() const { return m_address; }
49 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
50 template<typename AddressT = Address>
51 void SetAddress(AddressT&& value) { m_addressHasBeenSet = true; m_address = std::forward<AddressT>(value); }
52 template<typename AddressT = Address>
53 Account& WithAddress(AddressT&& value) { SetAddress(std::forward<AddressT>(value)); return *this;}
55
57
61 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
62 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
63 template<typename AwsAccountIdT = Aws::String>
64 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
65 template<typename AwsAccountIdT = Aws::String>
66 Account& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
68
70
74 inline const Aws::String& GetCompanyName() const { return m_companyName; }
75 inline bool CompanyNameHasBeenSet() const { return m_companyNameHasBeenSet; }
76 template<typename CompanyNameT = Aws::String>
77 void SetCompanyName(CompanyNameT&& value) { m_companyNameHasBeenSet = true; m_companyName = std::forward<CompanyNameT>(value); }
78 template<typename CompanyNameT = Aws::String>
79 Account& WithCompanyName(CompanyNameT&& value) { SetCompanyName(std::forward<CompanyNameT>(value)); return *this;}
81
83
86 inline const Aws::String& GetDuns() const { return m_duns; }
87 inline bool DunsHasBeenSet() const { return m_dunsHasBeenSet; }
88 template<typename DunsT = Aws::String>
89 void SetDuns(DunsT&& value) { m_dunsHasBeenSet = true; m_duns = std::forward<DunsT>(value); }
90 template<typename DunsT = Aws::String>
91 Account& WithDuns(DunsT&& value) { SetDuns(std::forward<DunsT>(value)); return *this;}
93
95
100 inline Industry GetIndustry() const { return m_industry; }
101 inline bool IndustryHasBeenSet() const { return m_industryHasBeenSet; }
102 inline void SetIndustry(Industry value) { m_industryHasBeenSet = true; m_industry = value; }
103 inline Account& WithIndustry(Industry value) { SetIndustry(value); return *this;}
105
107
112 inline const Aws::String& GetOtherIndustry() const { return m_otherIndustry; }
113 inline bool OtherIndustryHasBeenSet() const { return m_otherIndustryHasBeenSet; }
114 template<typename OtherIndustryT = Aws::String>
115 void SetOtherIndustry(OtherIndustryT&& value) { m_otherIndustryHasBeenSet = true; m_otherIndustry = std::forward<OtherIndustryT>(value); }
116 template<typename OtherIndustryT = Aws::String>
117 Account& WithOtherIndustry(OtherIndustryT&& value) { SetOtherIndustry(std::forward<OtherIndustryT>(value)); return *this;}
119
121
127 inline const Aws::String& GetWebsiteUrl() const { return m_websiteUrl; }
128 inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; }
129 template<typename WebsiteUrlT = Aws::String>
130 void SetWebsiteUrl(WebsiteUrlT&& value) { m_websiteUrlHasBeenSet = true; m_websiteUrl = std::forward<WebsiteUrlT>(value); }
131 template<typename WebsiteUrlT = Aws::String>
132 Account& WithWebsiteUrl(WebsiteUrlT&& value) { SetWebsiteUrl(std::forward<WebsiteUrlT>(value)); return *this;}
134 private:
135
136 Address m_address;
137 bool m_addressHasBeenSet = false;
138
139 Aws::String m_awsAccountId;
140 bool m_awsAccountIdHasBeenSet = false;
141
142 Aws::String m_companyName;
143 bool m_companyNameHasBeenSet = false;
144
145 Aws::String m_duns;
146 bool m_dunsHasBeenSet = false;
147
148 Industry m_industry{Industry::NOT_SET};
149 bool m_industryHasBeenSet = false;
150
151 Aws::String m_otherIndustry;
152 bool m_otherIndustryHasBeenSet = false;
153
154 Aws::String m_websiteUrl;
155 bool m_websiteUrlHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace PartnerCentralSelling
160} // namespace Aws
void SetAddress(AddressT &&value)
Definition Account.h:51
const Aws::String & GetAwsAccountId() const
Definition Account.h:61
const Aws::String & GetOtherIndustry() const
Definition Account.h:112
Account & WithOtherIndustry(OtherIndustryT &&value)
Definition Account.h:117
void SetAwsAccountId(AwsAccountIdT &&value)
Definition Account.h:64
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWebsiteUrl(WebsiteUrlT &&value)
Definition Account.h:130
Account & WithIndustry(Industry value)
Definition Account.h:103
const Aws::String & GetWebsiteUrl() const
Definition Account.h:127
Account & WithAwsAccountId(AwsAccountIdT &&value)
Definition Account.h:66
void SetCompanyName(CompanyNameT &&value)
Definition Account.h:77
const Aws::String & GetDuns() const
Definition Account.h:86
Account & WithDuns(DunsT &&value)
Definition Account.h:91
const Aws::String & GetCompanyName() const
Definition Account.h:74
AWS_PARTNERCENTRALSELLING_API Account(Aws::Utils::Json::JsonView jsonValue)
Account & WithAddress(AddressT &&value)
Definition Account.h:53
AWS_PARTNERCENTRALSELLING_API Account & operator=(Aws::Utils::Json::JsonView jsonValue)
const Address & GetAddress() const
Definition Account.h:48
Account & WithCompanyName(CompanyNameT &&value)
Definition Account.h:79
Account & WithWebsiteUrl(WebsiteUrlT &&value)
Definition Account.h:132
AWS_PARTNERCENTRALSELLING_API Account()=default
void SetOtherIndustry(OtherIndustryT &&value)
Definition Account.h:115
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue