AWS SDK for C++

AWS SDK for C++ Version 1.11.908

Loading...
Searching...
No Matches
BrandProfileInfo.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/endusermessaging/EndUserMessaging_EXPORTS.h>
10#include <aws/endusermessaging/model/Status.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EndUserMessaging {
22namespace Model {
23
30 public:
31 AWS_ENDUSERMESSAGING_API BrandProfileInfo() = default;
32 AWS_ENDUSERMESSAGING_API BrandProfileInfo(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ENDUSERMESSAGING_API BrandProfileInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetBrandProfileId() const { return m_brandProfileId; }
41 inline bool BrandProfileIdHasBeenSet() const { return m_brandProfileIdHasBeenSet; }
42 template <typename BrandProfileIdT = Aws::String>
43 void SetBrandProfileId(BrandProfileIdT&& value) {
44 m_brandProfileIdHasBeenSet = true;
45 m_brandProfileId = std::forward<BrandProfileIdT>(value);
46 }
47 template <typename BrandProfileIdT = Aws::String>
48 BrandProfileInfo& WithBrandProfileId(BrandProfileIdT&& value) {
49 SetBrandProfileId(std::forward<BrandProfileIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetBrandProfileArn() const { return m_brandProfileArn; }
59 inline bool BrandProfileArnHasBeenSet() const { return m_brandProfileArnHasBeenSet; }
60 template <typename BrandProfileArnT = Aws::String>
61 void SetBrandProfileArn(BrandProfileArnT&& value) {
62 m_brandProfileArnHasBeenSet = true;
63 m_brandProfileArn = std::forward<BrandProfileArnT>(value);
64 }
65 template <typename BrandProfileArnT = Aws::String>
66 BrandProfileInfo& WithBrandProfileArn(BrandProfileArnT&& value) {
67 SetBrandProfileArn(std::forward<BrandProfileArnT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetBrandProfileName() const { return m_brandProfileName; }
78 inline bool BrandProfileNameHasBeenSet() const { return m_brandProfileNameHasBeenSet; }
79 template <typename BrandProfileNameT = Aws::String>
80 void SetBrandProfileName(BrandProfileNameT&& value) {
81 m_brandProfileNameHasBeenSet = true;
82 m_brandProfileName = std::forward<BrandProfileNameT>(value);
83 }
84 template <typename BrandProfileNameT = Aws::String>
85 BrandProfileInfo& WithBrandProfileName(BrandProfileNameT&& value) {
86 SetBrandProfileName(std::forward<BrandProfileNameT>(value));
87 return *this;
88 }
90
92
95 inline Status GetStatus() const { return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(Status value) {
98 m_statusHasBeenSet = true;
99 m_status = value;
100 }
102 SetStatus(value);
103 return *this;
104 }
106
108
112 inline bool GetDeletionProtectionEnabled() const { return m_deletionProtectionEnabled; }
113 inline bool DeletionProtectionEnabledHasBeenSet() const { return m_deletionProtectionEnabledHasBeenSet; }
114 inline void SetDeletionProtectionEnabled(bool value) {
115 m_deletionProtectionEnabledHasBeenSet = true;
116 m_deletionProtectionEnabled = value;
117 }
120 return *this;
121 }
123
125
128 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
129 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
130 template <typename CreatedAtT = Aws::Utils::DateTime>
131 void SetCreatedAt(CreatedAtT&& value) {
132 m_createdAtHasBeenSet = true;
133 m_createdAt = std::forward<CreatedAtT>(value);
134 }
135 template <typename CreatedAtT = Aws::Utils::DateTime>
136 BrandProfileInfo& WithCreatedAt(CreatedAtT&& value) {
137 SetCreatedAt(std::forward<CreatedAtT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
147 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
148 template <typename UpdatedAtT = Aws::Utils::DateTime>
149 void SetUpdatedAt(UpdatedAtT&& value) {
150 m_updatedAtHasBeenSet = true;
151 m_updatedAt = std::forward<UpdatedAtT>(value);
152 }
153 template <typename UpdatedAtT = Aws::Utils::DateTime>
154 BrandProfileInfo& WithUpdatedAt(UpdatedAtT&& value) {
155 SetUpdatedAt(std::forward<UpdatedAtT>(value));
156 return *this;
157 }
159 private:
160 Aws::String m_brandProfileId;
161
162 Aws::String m_brandProfileArn;
163
164 Aws::String m_brandProfileName;
165
166 Status m_status{Status::NOT_SET};
167
168 bool m_deletionProtectionEnabled{false};
169
170 Aws::Utils::DateTime m_createdAt{};
171
172 Aws::Utils::DateTime m_updatedAt{};
173 bool m_brandProfileIdHasBeenSet = false;
174 bool m_brandProfileArnHasBeenSet = false;
175 bool m_brandProfileNameHasBeenSet = false;
176 bool m_statusHasBeenSet = false;
177 bool m_deletionProtectionEnabledHasBeenSet = false;
178 bool m_createdAtHasBeenSet = false;
179 bool m_updatedAtHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace EndUserMessaging
184} // namespace Aws
void SetBrandProfileArn(BrandProfileArnT &&value)
void SetBrandProfileId(BrandProfileIdT &&value)
BrandProfileInfo & WithDeletionProtectionEnabled(bool value)
BrandProfileInfo & WithUpdatedAt(UpdatedAtT &&value)
BrandProfileInfo & WithStatus(Status value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_ENDUSERMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ENDUSERMESSAGING_API BrandProfileInfo(Aws::Utils::Json::JsonView jsonValue)
BrandProfileInfo & WithBrandProfileArn(BrandProfileArnT &&value)
BrandProfileInfo & WithCreatedAt(CreatedAtT &&value)
AWS_ENDUSERMESSAGING_API BrandProfileInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
BrandProfileInfo & WithBrandProfileId(BrandProfileIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
BrandProfileInfo & WithBrandProfileName(BrandProfileNameT &&value)
AWS_ENDUSERMESSAGING_API BrandProfileInfo()=default
void SetBrandProfileName(BrandProfileNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue