AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
LocalizedContent.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PartnerCentralAccount {
20namespace Model {
21
29 public:
30 AWS_PARTNERCENTRALACCOUNT_API LocalizedContent() = default;
31 AWS_PARTNERCENTRALACCOUNT_API LocalizedContent(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PARTNERCENTRALACCOUNT_API LocalizedContent& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetDisplayName() const { return m_displayName; }
40 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
41 template <typename DisplayNameT = Aws::String>
42 void SetDisplayName(DisplayNameT&& value) {
43 m_displayNameHasBeenSet = true;
44 m_displayName = std::forward<DisplayNameT>(value);
45 }
46 template <typename DisplayNameT = Aws::String>
47 LocalizedContent& WithDisplayName(DisplayNameT&& value) {
48 SetDisplayName(std::forward<DisplayNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template <typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) {
61 m_descriptionHasBeenSet = true;
62 m_description = std::forward<DescriptionT>(value);
63 }
64 template <typename DescriptionT = Aws::String>
65 LocalizedContent& WithDescription(DescriptionT&& value) {
66 SetDescription(std::forward<DescriptionT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetWebsiteUrl() const { return m_websiteUrl; }
76 inline bool WebsiteUrlHasBeenSet() const { return m_websiteUrlHasBeenSet; }
77 template <typename WebsiteUrlT = Aws::String>
78 void SetWebsiteUrl(WebsiteUrlT&& value) {
79 m_websiteUrlHasBeenSet = true;
80 m_websiteUrl = std::forward<WebsiteUrlT>(value);
81 }
82 template <typename WebsiteUrlT = Aws::String>
83 LocalizedContent& WithWebsiteUrl(WebsiteUrlT&& value) {
84 SetWebsiteUrl(std::forward<WebsiteUrlT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetLogoUrl() const { return m_logoUrl; }
94 inline bool LogoUrlHasBeenSet() const { return m_logoUrlHasBeenSet; }
95 template <typename LogoUrlT = Aws::String>
96 void SetLogoUrl(LogoUrlT&& value) {
97 m_logoUrlHasBeenSet = true;
98 m_logoUrl = std::forward<LogoUrlT>(value);
99 }
100 template <typename LogoUrlT = Aws::String>
101 LocalizedContent& WithLogoUrl(LogoUrlT&& value) {
102 SetLogoUrl(std::forward<LogoUrlT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetLocale() const { return m_locale; }
112 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
113 template <typename LocaleT = Aws::String>
114 void SetLocale(LocaleT&& value) {
115 m_localeHasBeenSet = true;
116 m_locale = std::forward<LocaleT>(value);
117 }
118 template <typename LocaleT = Aws::String>
119 LocalizedContent& WithLocale(LocaleT&& value) {
120 SetLocale(std::forward<LocaleT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_displayName;
126
127 Aws::String m_description;
128
129 Aws::String m_websiteUrl;
130
131 Aws::String m_logoUrl;
132
133 Aws::String m_locale;
134 bool m_displayNameHasBeenSet = false;
135 bool m_descriptionHasBeenSet = false;
136 bool m_websiteUrlHasBeenSet = false;
137 bool m_logoUrlHasBeenSet = false;
138 bool m_localeHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace PartnerCentralAccount
143} // namespace Aws
LocalizedContent & WithLocale(LocaleT &&value)
LocalizedContent & WithLogoUrl(LogoUrlT &&value)
LocalizedContent & WithWebsiteUrl(WebsiteUrlT &&value)
LocalizedContent & WithDescription(DescriptionT &&value)
AWS_PARTNERCENTRALACCOUNT_API LocalizedContent(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALACCOUNT_API LocalizedContent()=default
AWS_PARTNERCENTRALACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const
LocalizedContent & WithDisplayName(DisplayNameT &&value)
AWS_PARTNERCENTRALACCOUNT_API LocalizedContent & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue