AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DomainSummary.h
1
6#pragma once
7#include <aws/controlcatalog/ControlCatalog_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ControlCatalog
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONTROLCATALOG_API DomainSummary() = default;
36 AWS_CONTROLCATALOG_API DomainSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONTROLCATALOG_API DomainSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const { return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 template<typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
49 template<typename ArnT = Aws::String>
50 DomainSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template<typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
61 template<typename NameT = Aws::String>
62 DomainSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetDescription() const { return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 template<typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
73 template<typename DescriptionT = Aws::String>
74 DomainSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
82 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
83 template<typename CreateTimeT = Aws::Utils::DateTime>
84 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
85 template<typename CreateTimeT = Aws::Utils::DateTime>
86 DomainSummary& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
94 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
95 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
96 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
97 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
98 DomainSummary& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
100 private:
101
102 Aws::String m_arn;
103 bool m_arnHasBeenSet = false;
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
108 Aws::String m_description;
109 bool m_descriptionHasBeenSet = false;
110
111 Aws::Utils::DateTime m_createTime{};
112 bool m_createTimeHasBeenSet = false;
113
114 Aws::Utils::DateTime m_lastUpdateTime{};
115 bool m_lastUpdateTimeHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace ControlCatalog
120} // namespace Aws
void SetDescription(DescriptionT &&value)
DomainSummary & WithLastUpdateTime(LastUpdateTimeT &&value)
void SetLastUpdateTime(LastUpdateTimeT &&value)
void SetCreateTime(CreateTimeT &&value)
DomainSummary & WithName(NameT &&value)
DomainSummary & WithArn(ArnT &&value)
DomainSummary & WithCreateTime(CreateTimeT &&value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetLastUpdateTime() const
AWS_CONTROLCATALOG_API DomainSummary()=default
AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONTROLCATALOG_API DomainSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetCreateTime() const
const Aws::String & GetName() const
DomainSummary & WithDescription(DescriptionT &&value)
AWS_CONTROLCATALOG_API DomainSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue