AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
TaskDetails.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/Headquarters.h>
11#include <aws/partnercentral-account/model/IndustrySegment.h>
12#include <aws/partnercentral-account/model/LocalizedContent.h>
13#include <aws/partnercentral-account/model/PrimarySolutionType.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace PartnerCentralAccount {
25namespace Model {
26
34 public:
35 AWS_PARTNERCENTRALACCOUNT_API TaskDetails() = default;
36 AWS_PARTNERCENTRALACCOUNT_API TaskDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PARTNERCENTRALACCOUNT_API TaskDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PARTNERCENTRALACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetDisplayName() const { return m_displayName; }
45 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
46 template <typename DisplayNameT = Aws::String>
47 void SetDisplayName(DisplayNameT&& value) {
48 m_displayNameHasBeenSet = true;
49 m_displayName = std::forward<DisplayNameT>(value);
50 }
51 template <typename DisplayNameT = Aws::String>
52 TaskDetails& WithDisplayName(DisplayNameT&& value) {
53 SetDisplayName(std::forward<DisplayNameT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetDescription() const { return m_description; }
63 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
64 template <typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) {
66 m_descriptionHasBeenSet = true;
67 m_description = std::forward<DescriptionT>(value);
68 }
69 template <typename DescriptionT = Aws::String>
70 TaskDetails& WithDescription(DescriptionT&& value) {
71 SetDescription(std::forward<DescriptionT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetWebsiteUrl() const { return m_websiteUrl; }
81 inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; }
82 template <typename WebsiteUrlT = Aws::String>
83 void SetWebsiteUrl(WebsiteUrlT&& value) {
84 m_websiteUrlHasBeenSet = true;
85 m_websiteUrl = std::forward<WebsiteUrlT>(value);
86 }
87 template <typename WebsiteUrlT = Aws::String>
88 TaskDetails& WithWebsiteUrl(WebsiteUrlT&& value) {
89 SetWebsiteUrl(std::forward<WebsiteUrlT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetLogoUrl() const { return m_logoUrl; }
99 inline bool LogoUrlHasBeenSet() const { return m_logoUrlHasBeenSet; }
100 template <typename LogoUrlT = Aws::String>
101 void SetLogoUrl(LogoUrlT&& value) {
102 m_logoUrlHasBeenSet = true;
103 m_logoUrl = std::forward<LogoUrlT>(value);
104 }
105 template <typename LogoUrlT = Aws::String>
106 TaskDetails& WithLogoUrl(LogoUrlT&& value) {
107 SetLogoUrl(std::forward<LogoUrlT>(value));
108 return *this;
109 }
111
113
116 inline PrimarySolutionType GetPrimarySolutionType() const { return m_primarySolutionType; }
117 inline bool PrimarySolutionTypeHasBeenSet() const { return m_primarySolutionTypeHasBeenSet; }
119 m_primarySolutionTypeHasBeenSet = true;
120 m_primarySolutionType = value;
121 }
124 return *this;
125 }
127
129
132 inline const Aws::Vector<IndustrySegment>& GetIndustrySegments() const { return m_industrySegments; }
133 inline bool IndustrySegmentsHasBeenSet() const { return m_industrySegmentsHasBeenSet; }
134 template <typename IndustrySegmentsT = Aws::Vector<IndustrySegment>>
135 void SetIndustrySegments(IndustrySegmentsT&& value) {
136 m_industrySegmentsHasBeenSet = true;
137 m_industrySegments = std::forward<IndustrySegmentsT>(value);
138 }
139 template <typename IndustrySegmentsT = Aws::Vector<IndustrySegment>>
140 TaskDetails& WithIndustrySegments(IndustrySegmentsT&& value) {
141 SetIndustrySegments(std::forward<IndustrySegmentsT>(value));
142 return *this;
143 }
145 m_industrySegmentsHasBeenSet = true;
146 m_industrySegments.push_back(value);
147 return *this;
148 }
150
152
155 inline const Aws::String& GetTranslationSourceLocale() const { return m_translationSourceLocale; }
156 inline bool TranslationSourceLocaleHasBeenSet() const { return m_translationSourceLocaleHasBeenSet; }
157 template <typename TranslationSourceLocaleT = Aws::String>
158 void SetTranslationSourceLocale(TranslationSourceLocaleT&& value) {
159 m_translationSourceLocaleHasBeenSet = true;
160 m_translationSourceLocale = std::forward<TranslationSourceLocaleT>(value);
161 }
162 template <typename TranslationSourceLocaleT = Aws::String>
163 TaskDetails& WithTranslationSourceLocale(TranslationSourceLocaleT&& value) {
164 SetTranslationSourceLocale(std::forward<TranslationSourceLocaleT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::Vector<LocalizedContent>& GetLocalizedContents() const { return m_localizedContents; }
174 inline bool LocalizedContentsHasBeenSet() const { return m_localizedContentsHasBeenSet; }
175 template <typename LocalizedContentsT = Aws::Vector<LocalizedContent>>
176 void SetLocalizedContents(LocalizedContentsT&& value) {
177 m_localizedContentsHasBeenSet = true;
178 m_localizedContents = std::forward<LocalizedContentsT>(value);
179 }
180 template <typename LocalizedContentsT = Aws::Vector<LocalizedContent>>
181 TaskDetails& WithLocalizedContents(LocalizedContentsT&& value) {
182 SetLocalizedContents(std::forward<LocalizedContentsT>(value));
183 return *this;
184 }
185 template <typename LocalizedContentsT = LocalizedContent>
186 TaskDetails& AddLocalizedContents(LocalizedContentsT&& value) {
187 m_localizedContentsHasBeenSet = true;
188 m_localizedContents.emplace_back(std::forward<LocalizedContentsT>(value));
189 return *this;
190 }
192
194
199 inline const Headquarters& GetHeadquarters() const { return m_headquarters; }
200 inline bool HeadquartersHasBeenSet() const { return m_headquartersHasBeenSet; }
201 template <typename HeadquartersT = Headquarters>
202 void SetHeadquarters(HeadquartersT&& value) {
203 m_headquartersHasBeenSet = true;
204 m_headquarters = std::forward<HeadquartersT>(value);
205 }
206 template <typename HeadquartersT = Headquarters>
207 TaskDetails& WithHeadquarters(HeadquartersT&& value) {
208 SetHeadquarters(std::forward<HeadquartersT>(value));
209 return *this;
210 }
212 private:
213 Aws::String m_displayName;
214
215 Aws::String m_description;
216
217 Aws::String m_websiteUrl;
218
219 Aws::String m_logoUrl;
220
222
223 Aws::Vector<IndustrySegment> m_industrySegments;
224
225 Aws::String m_translationSourceLocale;
226
227 Aws::Vector<LocalizedContent> m_localizedContents;
228
229 Headquarters m_headquarters;
230 bool m_displayNameHasBeenSet = false;
231 bool m_descriptionHasBeenSet = false;
232 bool m_websiteUrlHasBeenSet = false;
233 bool m_logoUrlHasBeenSet = false;
234 bool m_primarySolutionTypeHasBeenSet = false;
235 bool m_industrySegmentsHasBeenSet = false;
236 bool m_translationSourceLocaleHasBeenSet = false;
237 bool m_localizedContentsHasBeenSet = false;
238 bool m_headquartersHasBeenSet = false;
239};
240
241} // namespace Model
242} // namespace PartnerCentralAccount
243} // namespace Aws
TaskDetails & WithIndustrySegments(IndustrySegmentsT &&value)
const Aws::String & GetTranslationSourceLocale() const
TaskDetails & WithWebsiteUrl(WebsiteUrlT &&value)
Definition TaskDetails.h:88
const Aws::Vector< LocalizedContent > & GetLocalizedContents() const
const Headquarters & GetHeadquarters() const
AWS_PARTNERCENTRALACCOUNT_API TaskDetails()=default
const Aws::String & GetWebsiteUrl() const
Definition TaskDetails.h:80
TaskDetails & AddLocalizedContents(LocalizedContentsT &&value)
const Aws::String & GetDescription() const
Definition TaskDetails.h:62
void SetIndustrySegments(IndustrySegmentsT &&value)
void SetTranslationSourceLocale(TranslationSourceLocaleT &&value)
TaskDetails & AddIndustrySegments(IndustrySegment value)
void SetHeadquarters(HeadquartersT &&value)
AWS_PARTNERCENTRALACCOUNT_API TaskDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskDetails & WithLocalizedContents(LocalizedContentsT &&value)
void SetDescription(DescriptionT &&value)
Definition TaskDetails.h:65
const Aws::Vector< IndustrySegment > & GetIndustrySegments() const
TaskDetails & WithPrimarySolutionType(PrimarySolutionType value)
void SetLocalizedContents(LocalizedContentsT &&value)
TaskDetails & WithHeadquarters(HeadquartersT &&value)
void SetDisplayName(DisplayNameT &&value)
Definition TaskDetails.h:47
AWS_PARTNERCENTRALACCOUNT_API TaskDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDisplayName() const
Definition TaskDetails.h:44
TaskDetails & WithTranslationSourceLocale(TranslationSourceLocaleT &&value)
TaskDetails & WithDisplayName(DisplayNameT &&value)
Definition TaskDetails.h:52
TaskDetails & WithDescription(DescriptionT &&value)
Definition TaskDetails.h:70
AWS_PARTNERCENTRALACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const
PrimarySolutionType GetPrimarySolutionType() const
TaskDetails & WithLogoUrl(LogoUrlT &&value)
void SetPrimarySolutionType(PrimarySolutionType 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