AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDomainResult.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectcases/model/DomainStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ConnectCases
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CONNECTCASES_API CreateDomainResult();
34
35
37
40 inline const Aws::String& GetDomainArn() const{ return m_domainArn; }
41 inline void SetDomainArn(const Aws::String& value) { m_domainArn = value; }
42 inline void SetDomainArn(Aws::String&& value) { m_domainArn = std::move(value); }
43 inline void SetDomainArn(const char* value) { m_domainArn.assign(value); }
44 inline CreateDomainResult& WithDomainArn(const Aws::String& value) { SetDomainArn(value); return *this;}
45 inline CreateDomainResult& WithDomainArn(Aws::String&& value) { SetDomainArn(std::move(value)); return *this;}
46 inline CreateDomainResult& WithDomainArn(const char* value) { SetDomainArn(value); return *this;}
48
50
53 inline const Aws::String& GetDomainId() const{ return m_domainId; }
54 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
55 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
56 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
57 inline CreateDomainResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
58 inline CreateDomainResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
59 inline CreateDomainResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
61
63
66 inline const DomainStatus& GetDomainStatus() const{ return m_domainStatus; }
67 inline void SetDomainStatus(const DomainStatus& value) { m_domainStatus = value; }
68 inline void SetDomainStatus(DomainStatus&& value) { m_domainStatus = std::move(value); }
69 inline CreateDomainResult& WithDomainStatus(const DomainStatus& value) { SetDomainStatus(value); return *this;}
70 inline CreateDomainResult& WithDomainStatus(DomainStatus&& value) { SetDomainStatus(std::move(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline CreateDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline CreateDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline CreateDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_domainArn;
86
87 Aws::String m_domainId;
88
89 DomainStatus m_domainStatus;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace ConnectCases
96} // namespace Aws
CreateDomainResult & WithDomainArn(const char *value)
CreateDomainResult & WithDomainId(const Aws::String &value)
CreateDomainResult & WithDomainId(Aws::String &&value)
CreateDomainResult & WithDomainArn(Aws::String &&value)
CreateDomainResult & WithRequestId(const char *value)
CreateDomainResult & WithDomainStatus(const DomainStatus &value)
CreateDomainResult & WithRequestId(const Aws::String &value)
void SetDomainStatus(const DomainStatus &value)
void SetRequestId(const Aws::String &value)
CreateDomainResult & WithDomainArn(const Aws::String &value)
void SetDomainArn(const Aws::String &value)
AWS_CONNECTCASES_API CreateDomainResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDomainResult & WithDomainId(const char *value)
CreateDomainResult & WithDomainStatus(DomainStatus &&value)
AWS_CONNECTCASES_API CreateDomainResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDomainResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue