AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DomainSummary.h
1
6#pragma once
7#include <aws/worklink/WorkLink_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/worklink/model/DomainStatus.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 WorkLink
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_WORKLINK_API DomainSummary() = default;
37 AWS_WORKLINK_API DomainSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WORKLINK_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 template<typename DomainNameT = Aws::String>
49 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
50 template<typename DomainNameT = Aws::String>
51 DomainSummary& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDisplayName() const { return m_displayName; }
59 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
60 template<typename DisplayNameT = Aws::String>
61 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
62 template<typename DisplayNameT = Aws::String>
63 DomainSummary& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
71 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
72 template<typename CreatedTimeT = Aws::Utils::DateTime>
73 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
74 template<typename CreatedTimeT = Aws::Utils::DateTime>
75 DomainSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
77
79
82 inline DomainStatus GetDomainStatus() const { return m_domainStatus; }
83 inline bool DomainStatusHasBeenSet() const { return m_domainStatusHasBeenSet; }
84 inline void SetDomainStatus(DomainStatus value) { m_domainStatusHasBeenSet = true; m_domainStatus = value; }
85 inline DomainSummary& WithDomainStatus(DomainStatus value) { SetDomainStatus(value); return *this;}
87 private:
88
89 Aws::String m_domainName;
90 bool m_domainNameHasBeenSet = false;
91
92 Aws::String m_displayName;
93 bool m_displayNameHasBeenSet = false;
94
95 Aws::Utils::DateTime m_createdTime{};
96 bool m_createdTimeHasBeenSet = false;
97
98 DomainStatus m_domainStatus{DomainStatus::NOT_SET};
99 bool m_domainStatusHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace WorkLink
104} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue