AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
ListDomainItem.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CustomerProfiles {
22namespace Model {
23
30 public:
31 AWS_CUSTOMERPROFILES_API ListDomainItem() = default;
32 AWS_CUSTOMERPROFILES_API ListDomainItem(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CUSTOMERPROFILES_API ListDomainItem& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetDomainName() const { return m_domainName; }
41 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
42 template <typename DomainNameT = Aws::String>
43 void SetDomainName(DomainNameT&& value) {
44 m_domainNameHasBeenSet = true;
45 m_domainName = std::forward<DomainNameT>(value);
46 }
47 template <typename DomainNameT = Aws::String>
48 ListDomainItem& WithDomainName(DomainNameT&& value) {
49 SetDomainName(std::forward<DomainNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
59 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
60 template <typename CreatedAtT = Aws::Utils::DateTime>
61 void SetCreatedAt(CreatedAtT&& value) {
62 m_createdAtHasBeenSet = true;
63 m_createdAt = std::forward<CreatedAtT>(value);
64 }
65 template <typename CreatedAtT = Aws::Utils::DateTime>
66 ListDomainItem& WithCreatedAt(CreatedAtT&& value) {
67 SetCreatedAt(std::forward<CreatedAtT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
77 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
78 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
79 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
80 m_lastUpdatedAtHasBeenSet = true;
81 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
82 }
83 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
84 ListDomainItem& WithLastUpdatedAt(LastUpdatedAtT&& value) {
85 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
95 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
96 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
97 void SetTags(TagsT&& value) {
98 m_tagsHasBeenSet = true;
99 m_tags = std::forward<TagsT>(value);
100 }
101 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
102 ListDomainItem& WithTags(TagsT&& value) {
103 SetTags(std::forward<TagsT>(value));
104 return *this;
105 }
106 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
107 ListDomainItem& AddTags(TagsKeyT&& key, TagsValueT&& value) {
108 m_tagsHasBeenSet = true;
109 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_domainName;
115 bool m_domainNameHasBeenSet = false;
116
117 Aws::Utils::DateTime m_createdAt{};
118 bool m_createdAtHasBeenSet = false;
119
120 Aws::Utils::DateTime m_lastUpdatedAt{};
121 bool m_lastUpdatedAtHasBeenSet = false;
122
124 bool m_tagsHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace CustomerProfiles
129} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetDomainName() const
AWS_CUSTOMERPROFILES_API ListDomainItem(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
ListDomainItem & WithTags(TagsT &&value)
AWS_CUSTOMERPROFILES_API ListDomainItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
AWS_CUSTOMERPROFILES_API ListDomainItem()=default
ListDomainItem & WithLastUpdatedAt(LastUpdatedAtT &&value)
ListDomainItem & WithCreatedAt(CreatedAtT &&value)
ListDomainItem & AddTags(TagsKeyT &&key, TagsValueT &&value)
ListDomainItem & WithDomainName(DomainNameT &&value)
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