AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
DomainSummary.h
1
6#pragma once
7#include <aws/controlcatalog/ControlCatalog_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ControlCatalog {
21namespace Model {
22
29 public:
30 AWS_CONTROLCATALOG_API DomainSummary() = default;
31 AWS_CONTROLCATALOG_API DomainSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONTROLCATALOG_API DomainSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
47 DomainSummary& WithArn(ArnT&& value) {
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
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) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
65 DomainSummary& WithName(NameT&& value) {
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
83 DomainSummary& WithDescription(DescriptionT&& value) {
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
94 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
95 template <typename CreateTimeT = Aws::Utils::DateTime>
96 void SetCreateTime(CreateTimeT&& value) {
97 m_createTimeHasBeenSet = true;
98 m_createTime = std::forward<CreateTimeT>(value);
99 }
100 template <typename CreateTimeT = Aws::Utils::DateTime>
101 DomainSummary& WithCreateTime(CreateTimeT&& value) {
102 SetCreateTime(std::forward<CreateTimeT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
112 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
113 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
114 void SetLastUpdateTime(LastUpdateTimeT&& value) {
115 m_lastUpdateTimeHasBeenSet = true;
116 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
117 }
118 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
119 DomainSummary& WithLastUpdateTime(LastUpdateTimeT&& value) {
120 SetLastUpdateTime(std::forward<LastUpdateTimeT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_arn;
126
127 Aws::String m_name;
128
129 Aws::String m_description;
130
131 Aws::Utils::DateTime m_createTime{};
132
133 Aws::Utils::DateTime m_lastUpdateTime{};
134 bool m_arnHasBeenSet = false;
135 bool m_nameHasBeenSet = false;
136 bool m_descriptionHasBeenSet = false;
137 bool m_createTimeHasBeenSet = false;
138 bool m_lastUpdateTimeHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace ControlCatalog
143} // 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