7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/model/LayoutType.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.h>
24namespace CustomerProfiles
51 template<
typename LayoutDefinitionNameT = Aws::String>
52 void SetLayoutDefinitionName(LayoutDefinitionNameT&& value) { m_layoutDefinitionNameHasBeenSet =
true; m_layoutDefinitionName = std::forward<LayoutDefinitionNameT>(value); }
53 template<
typename LayoutDefinitionNameT = Aws::String>
63 template<
typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
65 template<
typename DescriptionT = Aws::String>
75 template<
typename DisplayNameT = Aws::String>
76 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
77 template<
typename DisplayNameT = Aws::String>
89 inline void SetIsDefault(
bool value) { m_isDefaultHasBeenSet =
true; m_isDefault = value; }
110 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
111 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
112 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
116 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
126 template<
typename CreatedAtT = Aws::Utils::DateTime>
127 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
128 template<
typename CreatedAtT = Aws::Utils::DateTime>
138 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
139 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
140 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
146 bool m_layoutDefinitionNameHasBeenSet =
false;
149 bool m_descriptionHasBeenSet =
false;
152 bool m_displayNameHasBeenSet =
false;
154 bool m_isDefault{
false};
155 bool m_isDefaultHasBeenSet =
false;
158 bool m_layoutTypeHasBeenSet =
false;
161 bool m_tagsHasBeenSet =
false;
164 bool m_createdAtHasBeenSet =
false;
167 bool m_lastUpdatedAtHasBeenSet =
false;
const Aws::String & GetLayoutDefinitionName() const
bool LayoutDefinitionNameHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
LayoutItem & WithCreatedAt(CreatedAtT &&value)
AWS_CUSTOMERPROFILES_API LayoutItem(Aws::Utils::Json::JsonView jsonValue)
LayoutItem & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool LastUpdatedAtHasBeenSet() const
const Aws::String & GetDescription() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
LayoutType GetLayoutType() const
const Aws::String & GetDisplayName() const
void SetDisplayName(DisplayNameT &&value)
LayoutItem & WithDisplayName(DisplayNameT &&value)
LayoutItem & WithLayoutDefinitionName(LayoutDefinitionNameT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
bool TagsHasBeenSet() const
LayoutItem & WithLayoutType(LayoutType value)
bool IsDefaultHasBeenSet() const
void SetIsDefault(bool value)
bool GetIsDefault() const
bool CreatedAtHasBeenSet() const
void SetLayoutType(LayoutType value)
const Aws::Utils::DateTime & GetCreatedAt() const
bool DisplayNameHasBeenSet() const
LayoutItem & WithTags(TagsT &&value)
AWS_CUSTOMERPROFILES_API LayoutItem & operator=(Aws::Utils::Json::JsonView jsonValue)
LayoutItem & WithIsDefault(bool value)
LayoutItem & WithDescription(DescriptionT &&value)
AWS_CUSTOMERPROFILES_API LayoutItem()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetLayoutDefinitionName(LayoutDefinitionNameT &&value)
void SetTags(TagsT &&value)
LayoutItem & WithLastUpdatedAt(LastUpdatedAtT &&value)
bool LayoutTypeHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue