AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetDomainLayoutResult.h
1
6#pragma once
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/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace CustomerProfiles
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CUSTOMERPROFILES_API GetDomainLayoutResult() = default;
36
37
39
42 inline const Aws::String& GetLayoutDefinitionName() const { return m_layoutDefinitionName; }
43 template<typename LayoutDefinitionNameT = Aws::String>
44 void SetLayoutDefinitionName(LayoutDefinitionNameT&& value) { m_layoutDefinitionNameHasBeenSet = true; m_layoutDefinitionName = std::forward<LayoutDefinitionNameT>(value); }
45 template<typename LayoutDefinitionNameT = Aws::String>
46 GetDomainLayoutResult& WithLayoutDefinitionName(LayoutDefinitionNameT&& value) { SetLayoutDefinitionName(std::forward<LayoutDefinitionNameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDescription() const { return m_description; }
54 template<typename DescriptionT = Aws::String>
55 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
56 template<typename DescriptionT = Aws::String>
57 GetDomainLayoutResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDisplayName() const { return m_displayName; }
65 template<typename DisplayNameT = Aws::String>
66 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
67 template<typename DisplayNameT = Aws::String>
68 GetDomainLayoutResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
70
72
77 inline bool GetIsDefault() const { return m_isDefault; }
78 inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; }
79 inline GetDomainLayoutResult& WithIsDefault(bool value) { SetIsDefault(value); return *this;}
81
83
87 inline LayoutType GetLayoutType() const { return m_layoutType; }
88 inline void SetLayoutType(LayoutType value) { m_layoutTypeHasBeenSet = true; m_layoutType = value; }
89 inline GetDomainLayoutResult& WithLayoutType(LayoutType value) { SetLayoutType(value); return *this;}
91
93
97 inline const Aws::String& GetLayout() const { return m_layout; }
98 template<typename LayoutT = Aws::String>
99 void SetLayout(LayoutT&& value) { m_layoutHasBeenSet = true; m_layout = std::forward<LayoutT>(value); }
100 template<typename LayoutT = Aws::String>
101 GetDomainLayoutResult& WithLayout(LayoutT&& value) { SetLayout(std::forward<LayoutT>(value)); return *this;}
103
105
108 inline const Aws::String& GetVersion() const { return m_version; }
109 template<typename VersionT = Aws::String>
110 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
111 template<typename VersionT = Aws::String>
112 GetDomainLayoutResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
114
116
119 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
120 template<typename CreatedAtT = Aws::Utils::DateTime>
121 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
122 template<typename CreatedAtT = Aws::Utils::DateTime>
123 GetDomainLayoutResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
131 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
132 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
133 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
134 GetDomainLayoutResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
136
138
141 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
142 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
144 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 GetDomainLayoutResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
146 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
147 GetDomainLayoutResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
148 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
149 }
151
153
154 inline const Aws::String& GetRequestId() const { return m_requestId; }
155 template<typename RequestIdT = Aws::String>
156 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
157 template<typename RequestIdT = Aws::String>
158 GetDomainLayoutResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
160 private:
161
162 Aws::String m_layoutDefinitionName;
163 bool m_layoutDefinitionNameHasBeenSet = false;
164
165 Aws::String m_description;
166 bool m_descriptionHasBeenSet = false;
167
168 Aws::String m_displayName;
169 bool m_displayNameHasBeenSet = false;
170
171 bool m_isDefault{false};
172 bool m_isDefaultHasBeenSet = false;
173
174 LayoutType m_layoutType{LayoutType::NOT_SET};
175 bool m_layoutTypeHasBeenSet = false;
176
177 Aws::String m_layout;
178 bool m_layoutHasBeenSet = false;
179
180 Aws::String m_version;
181 bool m_versionHasBeenSet = false;
182
183 Aws::Utils::DateTime m_createdAt{};
184 bool m_createdAtHasBeenSet = false;
185
186 Aws::Utils::DateTime m_lastUpdatedAt{};
187 bool m_lastUpdatedAtHasBeenSet = false;
188
190 bool m_tagsHasBeenSet = false;
191
192 Aws::String m_requestId;
193 bool m_requestIdHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace CustomerProfiles
198} // namespace Aws
GetDomainLayoutResult & WithDisplayName(DisplayNameT &&value)
GetDomainLayoutResult & WithDescription(DescriptionT &&value)
GetDomainLayoutResult & WithLayoutDefinitionName(LayoutDefinitionNameT &&value)
GetDomainLayoutResult & WithLayout(LayoutT &&value)
GetDomainLayoutResult & WithCreatedAt(CreatedAtT &&value)
AWS_CUSTOMERPROFILES_API GetDomainLayoutResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDomainLayoutResult & WithLayoutType(LayoutType value)
GetDomainLayoutResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetDomainLayoutResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_CUSTOMERPROFILES_API GetDomainLayoutResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDomainLayoutResult & WithVersion(VersionT &&value)
GetDomainLayoutResult & WithRequestId(RequestIdT &&value)
void SetLayoutDefinitionName(LayoutDefinitionNameT &&value)
AWS_CUSTOMERPROFILES_API GetDomainLayoutResult()=default
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