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/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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline DomainSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline DomainSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline DomainSummary& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline DomainSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline DomainSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline DomainSummary& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline DomainSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline DomainSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline DomainSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
88 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
89 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
90 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
91 inline DomainSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
92 inline DomainSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
100 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
101 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
102 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
103 inline DomainSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
104 inline DomainSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
106 private:
107
108 Aws::String m_arn;
109 bool m_arnHasBeenSet = false;
110
111 Aws::String m_name;
112 bool m_nameHasBeenSet = false;
113
114 Aws::String m_description;
115 bool m_descriptionHasBeenSet = false;
116
117 Aws::Utils::DateTime m_createTime;
118 bool m_createTimeHasBeenSet = false;
119
120 Aws::Utils::DateTime m_lastUpdateTime;
121 bool m_lastUpdateTimeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace ControlCatalog
126} // namespace Aws
void SetDescription(const Aws::String &value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
DomainSummary & WithDescription(const char *value)
void SetName(const Aws::String &value)
DomainSummary & WithLastUpdateTime(const Aws::Utils::DateTime &value)
DomainSummary & WithName(const char *value)
DomainSummary & WithArn(const Aws::String &value)
AWS_CONTROLCATALOG_API DomainSummary()
DomainSummary & WithName(Aws::String &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
DomainSummary & WithDescription(const Aws::String &value)
const Aws::String & GetDescription() const
DomainSummary & WithName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
DomainSummary & WithLastUpdateTime(Aws::Utils::DateTime &&value)
DomainSummary & WithCreateTime(Aws::Utils::DateTime &&value)
DomainSummary & WithArn(Aws::String &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
DomainSummary & WithCreateTime(const Aws::Utils::DateTime &value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
void SetDescription(Aws::String &&value)
void SetArn(const Aws::String &value)
DomainSummary & WithDescription(Aws::String &&value)
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
AWS_CONTROLCATALOG_API DomainSummary(Aws::Utils::Json::JsonView jsonValue)
DomainSummary & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue