AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceSummary.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/proton/model/ServiceStatus.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 Proton
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_PROTON_API ServiceSummary();
37 AWS_PROTON_API ServiceSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline ServiceSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline ServiceSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline ServiceSummary& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
61 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
62 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
63 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
64 inline ServiceSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
65 inline ServiceSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline ServiceSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline ServiceSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline ServiceSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; }
87 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
88 inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; }
89 inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); }
90 inline ServiceSummary& WithLastModifiedAt(const Aws::Utils::DateTime& value) { SetLastModifiedAt(value); return *this;}
91 inline ServiceSummary& WithLastModifiedAt(Aws::Utils::DateTime&& value) { SetLastModifiedAt(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetName() const{ return m_name; }
99 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
100 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
101 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
102 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
103 inline ServiceSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
104 inline ServiceSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
105 inline ServiceSummary& WithName(const char* value) { SetName(value); return *this;}
107
109
112 inline const ServiceStatus& GetStatus() const{ return m_status; }
113 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
114 inline void SetStatus(const ServiceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
115 inline void SetStatus(ServiceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
116 inline ServiceSummary& WithStatus(const ServiceStatus& value) { SetStatus(value); return *this;}
117 inline ServiceSummary& WithStatus(ServiceStatus&& value) { SetStatus(std::move(value)); return *this;}
119
121
124 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
125 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
126 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
127 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
128 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
129 inline ServiceSummary& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
130 inline ServiceSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
131 inline ServiceSummary& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
133
135
138 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
139 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
140 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
141 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
142 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
143 inline ServiceSummary& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
144 inline ServiceSummary& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
145 inline ServiceSummary& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
147 private:
148
149 Aws::String m_arn;
150 bool m_arnHasBeenSet = false;
151
152 Aws::Utils::DateTime m_createdAt;
153 bool m_createdAtHasBeenSet = false;
154
155 Aws::String m_description;
156 bool m_descriptionHasBeenSet = false;
157
158 Aws::Utils::DateTime m_lastModifiedAt;
159 bool m_lastModifiedAtHasBeenSet = false;
160
161 Aws::String m_name;
162 bool m_nameHasBeenSet = false;
163
164 ServiceStatus m_status;
165 bool m_statusHasBeenSet = false;
166
167 Aws::String m_statusMessage;
168 bool m_statusMessageHasBeenSet = false;
169
170 Aws::String m_templateName;
171 bool m_templateNameHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace Proton
176} // namespace Aws
void SetTemplateName(const char *value)
void SetArn(const Aws::String &value)
ServiceSummary & WithStatusMessage(const char *value)
ServiceSummary & WithTemplateName(const char *value)
void SetDescription(Aws::String &&value)
ServiceSummary & WithArn(const Aws::String &value)
void SetName(const char *value)
void SetDescription(const Aws::String &value)
ServiceSummary & WithLastModifiedAt(Aws::Utils::DateTime &&value)
ServiceSummary & WithTemplateName(const Aws::String &value)
const Aws::String & GetStatusMessage() const
const Aws::Utils::DateTime & GetLastModifiedAt() const
void SetStatusMessage(const Aws::String &value)
void SetArn(Aws::String &&value)
ServiceSummary & WithDescription(const Aws::String &value)
ServiceSummary & WithName(Aws::String &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const ServiceStatus & GetStatus() const
void SetStatus(const ServiceStatus &value)
void SetTemplateName(const Aws::String &value)
const Aws::String & GetTemplateName() const
void SetStatusMessage(const char *value)
AWS_PROTON_API ServiceSummary(Aws::Utils::Json::JsonView jsonValue)
ServiceSummary & WithTemplateName(Aws::String &&value)
ServiceSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetArn() const
void SetDescription(const char *value)
void SetStatusMessage(Aws::String &&value)
void SetLastModifiedAt(Aws::Utils::DateTime &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceSummary & WithName(const char *value)
ServiceSummary & WithStatusMessage(const Aws::String &value)
ServiceSummary & WithArn(Aws::String &&value)
ServiceSummary & WithArn(const char *value)
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
void SetArn(const char *value)
void SetName(Aws::String &&value)
ServiceSummary & WithDescription(const char *value)
ServiceSummary & WithStatus(ServiceStatus &&value)
ServiceSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetTemplateName(Aws::String &&value)
ServiceSummary & WithDescription(Aws::String &&value)
const Aws::String & GetName() const
ServiceSummary & WithStatusMessage(Aws::String &&value)
AWS_PROTON_API ServiceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ServiceStatus &&value)
const Aws::String & GetDescription() const
ServiceSummary & WithLastModifiedAt(const Aws::Utils::DateTime &value)
ServiceSummary & WithName(const Aws::String &value)
ServiceSummary & WithStatus(const ServiceStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue