AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreatePartnerResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
11#include <aws/partnercentral-account/model/AllianceLeadContact.h>
12#include <aws/partnercentral-account/model/PartnerDomain.h>
13#include <aws/partnercentral-account/model/PartnerProfile.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace PartnerCentralAccount {
27namespace Model {
29 public:
30 AWS_PARTNERCENTRALACCOUNT_API CreatePartnerResult() = default;
33
35
38 inline const Aws::String& GetCatalog() const { return m_catalog; }
39 template <typename CatalogT = Aws::String>
40 void SetCatalog(CatalogT&& value) {
41 m_catalogHasBeenSet = true;
42 m_catalog = std::forward<CatalogT>(value);
43 }
44 template <typename CatalogT = Aws::String>
45 CreatePartnerResult& WithCatalog(CatalogT&& value) {
46 SetCatalog(std::forward<CatalogT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetArn() const { return m_arn; }
56 template <typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) {
58 m_arnHasBeenSet = true;
59 m_arn = std::forward<ArnT>(value);
60 }
61 template <typename ArnT = Aws::String>
63 SetArn(std::forward<ArnT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetId() const { return m_id; }
73 template <typename IdT = Aws::String>
74 void SetId(IdT&& value) {
75 m_idHasBeenSet = true;
76 m_id = std::forward<IdT>(value);
77 }
78 template <typename IdT = Aws::String>
80 SetId(std::forward<IdT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetLegalName() const { return m_legalName; }
90 template <typename LegalNameT = Aws::String>
91 void SetLegalName(LegalNameT&& value) {
92 m_legalNameHasBeenSet = true;
93 m_legalName = std::forward<LegalNameT>(value);
94 }
95 template <typename LegalNameT = Aws::String>
96 CreatePartnerResult& WithLegalName(LegalNameT&& value) {
97 SetLegalName(std::forward<LegalNameT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
107 template <typename CreatedAtT = Aws::Utils::DateTime>
108 void SetCreatedAt(CreatedAtT&& value) {
109 m_createdAtHasBeenSet = true;
110 m_createdAt = std::forward<CreatedAtT>(value);
111 }
112 template <typename CreatedAtT = Aws::Utils::DateTime>
113 CreatePartnerResult& WithCreatedAt(CreatedAtT&& value) {
114 SetCreatedAt(std::forward<CreatedAtT>(value));
115 return *this;
116 }
118
120
124 inline const PartnerProfile& GetProfile() const { return m_profile; }
125 template <typename ProfileT = PartnerProfile>
126 void SetProfile(ProfileT&& value) {
127 m_profileHasBeenSet = true;
128 m_profile = std::forward<ProfileT>(value);
129 }
130 template <typename ProfileT = PartnerProfile>
131 CreatePartnerResult& WithProfile(ProfileT&& value) {
132 SetProfile(std::forward<ProfileT>(value));
133 return *this;
134 }
136
138
143 return m_awsTrainingCertificationEmailDomains;
144 }
145 template <typename AwsTrainingCertificationEmailDomainsT = Aws::Vector<PartnerDomain>>
146 void SetAwsTrainingCertificationEmailDomains(AwsTrainingCertificationEmailDomainsT&& value) {
147 m_awsTrainingCertificationEmailDomainsHasBeenSet = true;
148 m_awsTrainingCertificationEmailDomains = std::forward<AwsTrainingCertificationEmailDomainsT>(value);
149 }
150 template <typename AwsTrainingCertificationEmailDomainsT = Aws::Vector<PartnerDomain>>
151 CreatePartnerResult& WithAwsTrainingCertificationEmailDomains(AwsTrainingCertificationEmailDomainsT&& value) {
152 SetAwsTrainingCertificationEmailDomains(std::forward<AwsTrainingCertificationEmailDomainsT>(value));
153 return *this;
154 }
155 template <typename AwsTrainingCertificationEmailDomainsT = PartnerDomain>
156 CreatePartnerResult& AddAwsTrainingCertificationEmailDomains(AwsTrainingCertificationEmailDomainsT&& value) {
157 m_awsTrainingCertificationEmailDomainsHasBeenSet = true;
158 m_awsTrainingCertificationEmailDomains.emplace_back(std::forward<AwsTrainingCertificationEmailDomainsT>(value));
159 return *this;
160 }
162
164
167 inline const AllianceLeadContact& GetAllianceLeadContact() const { return m_allianceLeadContact; }
168 template <typename AllianceLeadContactT = AllianceLeadContact>
169 void SetAllianceLeadContact(AllianceLeadContactT&& value) {
170 m_allianceLeadContactHasBeenSet = true;
171 m_allianceLeadContact = std::forward<AllianceLeadContactT>(value);
172 }
173 template <typename AllianceLeadContactT = AllianceLeadContact>
174 CreatePartnerResult& WithAllianceLeadContact(AllianceLeadContactT&& value) {
175 SetAllianceLeadContact(std::forward<AllianceLeadContactT>(value));
176 return *this;
177 }
179
181
182 inline const Aws::String& GetRequestId() const { return m_requestId; }
183 template <typename RequestIdT = Aws::String>
184 void SetRequestId(RequestIdT&& value) {
185 m_requestIdHasBeenSet = true;
186 m_requestId = std::forward<RequestIdT>(value);
187 }
188 template <typename RequestIdT = Aws::String>
189 CreatePartnerResult& WithRequestId(RequestIdT&& value) {
190 SetRequestId(std::forward<RequestIdT>(value));
191 return *this;
192 }
194 private:
195 Aws::String m_catalog;
196
197 Aws::String m_arn;
198
199 Aws::String m_id;
200
201 Aws::String m_legalName;
202
203 Aws::Utils::DateTime m_createdAt{};
204
205 PartnerProfile m_profile;
206
207 Aws::Vector<PartnerDomain> m_awsTrainingCertificationEmailDomains;
208
209 AllianceLeadContact m_allianceLeadContact;
210
211 Aws::String m_requestId;
212 bool m_catalogHasBeenSet = false;
213 bool m_arnHasBeenSet = false;
214 bool m_idHasBeenSet = false;
215 bool m_legalNameHasBeenSet = false;
216 bool m_createdAtHasBeenSet = false;
217 bool m_profileHasBeenSet = false;
218 bool m_awsTrainingCertificationEmailDomainsHasBeenSet = false;
219 bool m_allianceLeadContactHasBeenSet = false;
220 bool m_requestIdHasBeenSet = false;
221};
222
223} // namespace Model
224} // namespace PartnerCentralAccount
225} // namespace Aws
CreatePartnerResult & AddAwsTrainingCertificationEmailDomains(AwsTrainingCertificationEmailDomainsT &&value)
void SetAwsTrainingCertificationEmailDomains(AwsTrainingCertificationEmailDomainsT &&value)
const Aws::Vector< PartnerDomain > & GetAwsTrainingCertificationEmailDomains() const
CreatePartnerResult & WithAwsTrainingCertificationEmailDomains(AwsTrainingCertificationEmailDomainsT &&value)
AWS_PARTNERCENTRALACCOUNT_API CreatePartnerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePartnerResult & WithProfile(ProfileT &&value)
CreatePartnerResult & WithCreatedAt(CreatedAtT &&value)
CreatePartnerResult & WithCatalog(CatalogT &&value)
AWS_PARTNERCENTRALACCOUNT_API CreatePartnerResult()=default
CreatePartnerResult & WithRequestId(RequestIdT &&value)
const AllianceLeadContact & GetAllianceLeadContact() const
CreatePartnerResult & WithLegalName(LegalNameT &&value)
AWS_PARTNERCENTRALACCOUNT_API CreatePartnerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePartnerResult & WithAllianceLeadContact(AllianceLeadContactT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue