AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDomainResult.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connectcases/model/DomainStatus.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 ConnectCases
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CONNECTCASES_API GetDomainResult();
36
37
39
42 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
43 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; }
44 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); }
45 inline GetDomainResult& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
46 inline GetDomainResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
48
50
53 inline const Aws::String& GetDomainArn() const{ return m_domainArn; }
54 inline void SetDomainArn(const Aws::String& value) { m_domainArn = value; }
55 inline void SetDomainArn(Aws::String&& value) { m_domainArn = std::move(value); }
56 inline void SetDomainArn(const char* value) { m_domainArn.assign(value); }
57 inline GetDomainResult& WithDomainArn(const Aws::String& value) { SetDomainArn(value); return *this;}
58 inline GetDomainResult& WithDomainArn(Aws::String&& value) { SetDomainArn(std::move(value)); return *this;}
59 inline GetDomainResult& WithDomainArn(const char* value) { SetDomainArn(value); return *this;}
61
63
66 inline const Aws::String& GetDomainId() const{ return m_domainId; }
67 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
68 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
69 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
70 inline GetDomainResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
71 inline GetDomainResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
72 inline GetDomainResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
74
76
79 inline const DomainStatus& GetDomainStatus() const{ return m_domainStatus; }
80 inline void SetDomainStatus(const DomainStatus& value) { m_domainStatus = value; }
81 inline void SetDomainStatus(DomainStatus&& value) { m_domainStatus = std::move(value); }
82 inline GetDomainResult& WithDomainStatus(const DomainStatus& value) { SetDomainStatus(value); return *this;}
83 inline GetDomainResult& WithDomainStatus(DomainStatus&& value) { SetDomainStatus(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetName() const{ return m_name; }
91 inline void SetName(const Aws::String& value) { m_name = value; }
92 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
93 inline void SetName(const char* value) { m_name.assign(value); }
94 inline GetDomainResult& WithName(const Aws::String& value) { SetName(value); return *this;}
95 inline GetDomainResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
96 inline GetDomainResult& WithName(const char* value) { SetName(value); return *this;}
98
100
104 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
105 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
106 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
107 inline GetDomainResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
108 inline GetDomainResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
109 inline GetDomainResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
110 inline GetDomainResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
111 inline GetDomainResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
112 inline GetDomainResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
113 inline GetDomainResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
114 inline GetDomainResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
115 inline GetDomainResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
117
119
120 inline const Aws::String& GetRequestId() const{ return m_requestId; }
121 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
122 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
123 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
124 inline GetDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
125 inline GetDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
126 inline GetDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
128 private:
129
130 Aws::Utils::DateTime m_createdTime;
131
132 Aws::String m_domainArn;
133
134 Aws::String m_domainId;
135
136 DomainStatus m_domainStatus;
137
138 Aws::String m_name;
139
141
142 Aws::String m_requestId;
143 };
144
145} // namespace Model
146} // namespace ConnectCases
147} // namespace Aws
GetDomainResult & WithName(Aws::String &&value)
GetDomainResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetDomainArn(const Aws::String &value)
GetDomainResult & WithRequestId(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetDomainArn() const
void SetRequestId(const Aws::String &value)
GetDomainResult & WithDomainArn(const Aws::String &value)
GetDomainResult & WithCreatedTime(const Aws::Utils::DateTime &value)
AWS_CONNECTCASES_API GetDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDomainResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const DomainStatus & GetDomainStatus() const
GetDomainResult & WithDomainArn(const char *value)
GetDomainResult & WithDomainStatus(const DomainStatus &value)
GetDomainResult & WithName(const char *value)
GetDomainResult & WithDomainId(const Aws::String &value)
GetDomainResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CONNECTCASES_API GetDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetDomainId(const Aws::String &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
void SetDomainStatus(const DomainStatus &value)
GetDomainResult & AddTags(Aws::String &&key, const Aws::String &value)
GetDomainResult & WithRequestId(const char *value)
GetDomainResult & WithRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTime() const
GetDomainResult & WithName(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetDomainId() const
GetDomainResult & AddTags(Aws::String &&key, Aws::String &&value)
GetDomainResult & WithCreatedTime(Aws::Utils::DateTime &&value)
GetDomainResult & AddTags(const char *key, const char *value)
GetDomainResult & WithDomainId(Aws::String &&value)
void SetName(const Aws::String &value)
GetDomainResult & WithDomainArn(Aws::String &&value)
GetDomainResult & WithDomainId(const char *value)
void SetDomainStatus(DomainStatus &&value)
GetDomainResult & AddTags(const Aws::String &key, const Aws::String &value)
GetDomainResult & WithDomainStatus(DomainStatus &&value)
GetDomainResult & AddTags(Aws::String &&key, const char *value)
GetDomainResult & AddTags(const char *key, Aws::String &&value)
const Aws::String & GetRequestId() 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