AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
PartnerProfile.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
10#include <aws/partnercentral-account/model/IndustrySegment.h>
11#include <aws/partnercentral-account/model/LocalizedContent.h>
12#include <aws/partnercentral-account/model/PrimarySolutionType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PartnerCentralAccount {
24namespace Model {
25
33 public:
34 AWS_PARTNERCENTRALACCOUNT_API PartnerProfile() = default;
35 AWS_PARTNERCENTRALACCOUNT_API PartnerProfile(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALACCOUNT_API PartnerProfile& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PARTNERCENTRALACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetDisplayName() const { return m_displayName; }
44 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
45 template <typename DisplayNameT = Aws::String>
46 void SetDisplayName(DisplayNameT&& value) {
47 m_displayNameHasBeenSet = true;
48 m_displayName = std::forward<DisplayNameT>(value);
49 }
50 template <typename DisplayNameT = Aws::String>
51 PartnerProfile& WithDisplayName(DisplayNameT&& value) {
52 SetDisplayName(std::forward<DisplayNameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetDescription() const { return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 template <typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) {
65 m_descriptionHasBeenSet = true;
66 m_description = std::forward<DescriptionT>(value);
67 }
68 template <typename DescriptionT = Aws::String>
69 PartnerProfile& WithDescription(DescriptionT&& value) {
70 SetDescription(std::forward<DescriptionT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetWebsiteUrl() const { return m_websiteUrl; }
80 inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; }
81 template <typename WebsiteUrlT = Aws::String>
82 void SetWebsiteUrl(WebsiteUrlT&& value) {
83 m_websiteUrlHasBeenSet = true;
84 m_websiteUrl = std::forward<WebsiteUrlT>(value);
85 }
86 template <typename WebsiteUrlT = Aws::String>
87 PartnerProfile& WithWebsiteUrl(WebsiteUrlT&& value) {
88 SetWebsiteUrl(std::forward<WebsiteUrlT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetLogoUrl() const { return m_logoUrl; }
98 inline bool LogoUrlHasBeenSet() const { return m_logoUrlHasBeenSet; }
99 template <typename LogoUrlT = Aws::String>
100 void SetLogoUrl(LogoUrlT&& value) {
101 m_logoUrlHasBeenSet = true;
102 m_logoUrl = std::forward<LogoUrlT>(value);
103 }
104 template <typename LogoUrlT = Aws::String>
105 PartnerProfile& WithLogoUrl(LogoUrlT&& value) {
106 SetLogoUrl(std::forward<LogoUrlT>(value));
107 return *this;
108 }
110
112
115 inline PrimarySolutionType GetPrimarySolutionType() const { return m_primarySolutionType; }
116 inline bool PrimarySolutionTypeHasBeenSet() const { return m_primarySolutionTypeHasBeenSet; }
118 m_primarySolutionTypeHasBeenSet = true;
119 m_primarySolutionType = value;
120 }
123 return *this;
124 }
126
128
131 inline const Aws::Vector<IndustrySegment>& GetIndustrySegments() const { return m_industrySegments; }
132 inline bool IndustrySegmentsHasBeenSet() const { return m_industrySegmentsHasBeenSet; }
133 template <typename IndustrySegmentsT = Aws::Vector<IndustrySegment>>
134 void SetIndustrySegments(IndustrySegmentsT&& value) {
135 m_industrySegmentsHasBeenSet = true;
136 m_industrySegments = std::forward<IndustrySegmentsT>(value);
137 }
138 template <typename IndustrySegmentsT = Aws::Vector<IndustrySegment>>
139 PartnerProfile& WithIndustrySegments(IndustrySegmentsT&& value) {
140 SetIndustrySegments(std::forward<IndustrySegmentsT>(value));
141 return *this;
142 }
144 m_industrySegmentsHasBeenSet = true;
145 m_industrySegments.push_back(value);
146 return *this;
147 }
149
151
154 inline const Aws::String& GetTranslationSourceLocale() const { return m_translationSourceLocale; }
155 inline bool TranslationSourceLocaleHasBeenSet() const { return m_translationSourceLocaleHasBeenSet; }
156 template <typename TranslationSourceLocaleT = Aws::String>
157 void SetTranslationSourceLocale(TranslationSourceLocaleT&& value) {
158 m_translationSourceLocaleHasBeenSet = true;
159 m_translationSourceLocale = std::forward<TranslationSourceLocaleT>(value);
160 }
161 template <typename TranslationSourceLocaleT = Aws::String>
162 PartnerProfile& WithTranslationSourceLocale(TranslationSourceLocaleT&& value) {
163 SetTranslationSourceLocale(std::forward<TranslationSourceLocaleT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::Vector<LocalizedContent>& GetLocalizedContents() const { return m_localizedContents; }
173 inline bool LocalizedContentsHasBeenSet() const { return m_localizedContentsHasBeenSet; }
174 template <typename LocalizedContentsT = Aws::Vector<LocalizedContent>>
175 void SetLocalizedContents(LocalizedContentsT&& value) {
176 m_localizedContentsHasBeenSet = true;
177 m_localizedContents = std::forward<LocalizedContentsT>(value);
178 }
179 template <typename LocalizedContentsT = Aws::Vector<LocalizedContent>>
180 PartnerProfile& WithLocalizedContents(LocalizedContentsT&& value) {
181 SetLocalizedContents(std::forward<LocalizedContentsT>(value));
182 return *this;
183 }
184 template <typename LocalizedContentsT = LocalizedContent>
185 PartnerProfile& AddLocalizedContents(LocalizedContentsT&& value) {
186 m_localizedContentsHasBeenSet = true;
187 m_localizedContents.emplace_back(std::forward<LocalizedContentsT>(value));
188 return *this;
189 }
191
193
196 inline const Aws::String& GetProfileId() const { return m_profileId; }
197 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
198 template <typename ProfileIdT = Aws::String>
199 void SetProfileId(ProfileIdT&& value) {
200 m_profileIdHasBeenSet = true;
201 m_profileId = std::forward<ProfileIdT>(value);
202 }
203 template <typename ProfileIdT = Aws::String>
204 PartnerProfile& WithProfileId(ProfileIdT&& value) {
205 SetProfileId(std::forward<ProfileIdT>(value));
206 return *this;
207 }
209 private:
210 Aws::String m_displayName;
211
212 Aws::String m_description;
213
214 Aws::String m_websiteUrl;
215
216 Aws::String m_logoUrl;
217
219
220 Aws::Vector<IndustrySegment> m_industrySegments;
221
222 Aws::String m_translationSourceLocale;
223
224 Aws::Vector<LocalizedContent> m_localizedContents;
225
226 Aws::String m_profileId;
227 bool m_displayNameHasBeenSet = false;
228 bool m_descriptionHasBeenSet = false;
229 bool m_websiteUrlHasBeenSet = false;
230 bool m_logoUrlHasBeenSet = false;
231 bool m_primarySolutionTypeHasBeenSet = false;
232 bool m_industrySegmentsHasBeenSet = false;
233 bool m_translationSourceLocaleHasBeenSet = false;
234 bool m_localizedContentsHasBeenSet = false;
235 bool m_profileIdHasBeenSet = false;
236};
237
238} // namespace Model
239} // namespace PartnerCentralAccount
240} // namespace Aws
PartnerProfile & WithDescription(DescriptionT &&value)
const Aws::String & GetTranslationSourceLocale() const
PartnerProfile & WithPrimarySolutionType(PrimarySolutionType value)
PartnerProfile & WithLocalizedContents(LocalizedContentsT &&value)
AWS_PARTNERCENTRALACCOUNT_API PartnerProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTranslationSourceLocale(TranslationSourceLocaleT &&value)
void SetLocalizedContents(LocalizedContentsT &&value)
PartnerProfile & WithTranslationSourceLocale(TranslationSourceLocaleT &&value)
void SetIndustrySegments(IndustrySegmentsT &&value)
AWS_PARTNERCENTRALACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const
PartnerProfile & WithDisplayName(DisplayNameT &&value)
PartnerProfile & WithProfileId(ProfileIdT &&value)
PartnerProfile & WithLogoUrl(LogoUrlT &&value)
void SetPrimarySolutionType(PrimarySolutionType value)
PartnerProfile & WithIndustrySegments(IndustrySegmentsT &&value)
PartnerProfile & WithWebsiteUrl(WebsiteUrlT &&value)
PartnerProfile & AddIndustrySegments(IndustrySegment value)
const Aws::Vector< IndustrySegment > & GetIndustrySegments() const
AWS_PARTNERCENTRALACCOUNT_API PartnerProfile()=default
PartnerProfile & AddLocalizedContents(LocalizedContentsT &&value)
AWS_PARTNERCENTRALACCOUNT_API PartnerProfile(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< LocalizedContent > & GetLocalizedContents() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue