AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 DomainSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
52 inline DomainSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
53 inline DomainSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;}
55
57
60 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
61 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
62 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
63 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
64 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
65 inline DomainSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
66 inline DomainSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
67 inline DomainSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
75 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
76 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
77 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
78 inline DomainSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
79 inline DomainSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
81
83
86 inline const DomainStatus& GetDomainStatus() const{ return m_domainStatus; }
87 inline bool DomainStatusHasBeenSet() const { return m_domainStatusHasBeenSet; }
88 inline void SetDomainStatus(const DomainStatus& value) { m_domainStatusHasBeenSet = true; m_domainStatus = value; }
89 inline void SetDomainStatus(DomainStatus&& value) { m_domainStatusHasBeenSet = true; m_domainStatus = std::move(value); }
90 inline DomainSummary& WithDomainStatus(const DomainStatus& value) { SetDomainStatus(value); return *this;}
91 inline DomainSummary& WithDomainStatus(DomainStatus&& value) { SetDomainStatus(std::move(value)); return *this;}
93 private:
94
95 Aws::String m_domainName;
96 bool m_domainNameHasBeenSet = false;
97
98 Aws::String m_displayName;
99 bool m_displayNameHasBeenSet = false;
100
101 Aws::Utils::DateTime m_createdTime;
102 bool m_createdTimeHasBeenSet = false;
103
104 DomainStatus m_domainStatus;
105 bool m_domainStatusHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace WorkLink
110} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue