AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDomainItem.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/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CustomerProfiles
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CUSTOMERPROFILES_API ListDomainItem();
37 AWS_CUSTOMERPROFILES_API ListDomainItem(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CUSTOMERPROFILES_API ListDomainItem& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDomainName() const{ return m_domainName; }
47 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
48 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
49 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
50 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
51 inline ListDomainItem& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
52 inline ListDomainItem& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
53 inline ListDomainItem& WithDomainName(const char* value) { SetDomainName(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
61 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
62 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
63 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
64 inline ListDomainItem& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
65 inline ListDomainItem& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
73 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
74 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
75 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
76 inline ListDomainItem& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
77 inline ListDomainItem& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
79
81
84 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
85 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
86 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
87 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
88 inline ListDomainItem& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
89 inline ListDomainItem& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
90 inline ListDomainItem& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
91 inline ListDomainItem& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
92 inline ListDomainItem& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
93 inline ListDomainItem& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
94 inline ListDomainItem& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
95 inline ListDomainItem& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
96 inline ListDomainItem& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
98 private:
99
100 Aws::String m_domainName;
101 bool m_domainNameHasBeenSet = false;
102
103 Aws::Utils::DateTime m_createdAt;
104 bool m_createdAtHasBeenSet = false;
105
106 Aws::Utils::DateTime m_lastUpdatedAt;
107 bool m_lastUpdatedAtHasBeenSet = false;
108
110 bool m_tagsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace CustomerProfiles
115} // namespace Aws
ListDomainItem & AddTags(const char *key, Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
ListDomainItem & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetDomainName(const Aws::String &value)
ListDomainItem & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
ListDomainItem & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ListDomainItem & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::String & GetDomainName() const
AWS_CUSTOMERPROFILES_API ListDomainItem(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CUSTOMERPROFILES_API ListDomainItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ListDomainItem & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
ListDomainItem & WithCreatedAt(Aws::Utils::DateTime &&value)
ListDomainItem & AddTags(Aws::String &&key, const char *value)
ListDomainItem & WithDomainName(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ListDomainItem & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ListDomainItem & AddTags(const Aws::String &key, const Aws::String &value)
ListDomainItem & AddTags(Aws::String &&key, const Aws::String &value)
ListDomainItem & WithDomainName(const char *value)
ListDomainItem & AddTags(const char *key, const char *value)
AWS_CUSTOMERPROFILES_API ListDomainItem()
ListDomainItem & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
ListDomainItem & WithDomainName(Aws::String &&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