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/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/apprunner/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 AppRunner
24{
25namespace Model
26{
27
46 {
47 public:
48 AWS_APPRUNNER_API ServiceSummary();
49 AWS_APPRUNNER_API ServiceSummary(Aws::Utils::Json::JsonView jsonValue);
51 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
58 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
59 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
60 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
61 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
62 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
63 inline ServiceSummary& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
64 inline ServiceSummary& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
65 inline ServiceSummary& WithServiceName(const char* value) { SetServiceName(value); return *this;}
67
69
73 inline const Aws::String& GetServiceId() const{ return m_serviceId; }
74 inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; }
75 inline void SetServiceId(const Aws::String& value) { m_serviceIdHasBeenSet = true; m_serviceId = value; }
76 inline void SetServiceId(Aws::String&& value) { m_serviceIdHasBeenSet = true; m_serviceId = std::move(value); }
77 inline void SetServiceId(const char* value) { m_serviceIdHasBeenSet = true; m_serviceId.assign(value); }
78 inline ServiceSummary& WithServiceId(const Aws::String& value) { SetServiceId(value); return *this;}
79 inline ServiceSummary& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;}
80 inline ServiceSummary& WithServiceId(const char* value) { SetServiceId(value); return *this;}
82
84
87 inline const Aws::String& GetServiceArn() const{ return m_serviceArn; }
88 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
89 inline void SetServiceArn(const Aws::String& value) { m_serviceArnHasBeenSet = true; m_serviceArn = value; }
90 inline void SetServiceArn(Aws::String&& value) { m_serviceArnHasBeenSet = true; m_serviceArn = std::move(value); }
91 inline void SetServiceArn(const char* value) { m_serviceArnHasBeenSet = true; m_serviceArn.assign(value); }
92 inline ServiceSummary& WithServiceArn(const Aws::String& value) { SetServiceArn(value); return *this;}
93 inline ServiceSummary& WithServiceArn(Aws::String&& value) { SetServiceArn(std::move(value)); return *this;}
94 inline ServiceSummary& WithServiceArn(const char* value) { SetServiceArn(value); return *this;}
96
98
102 inline const Aws::String& GetServiceUrl() const{ return m_serviceUrl; }
103 inline bool ServiceUrlHasBeenSet() const { return m_serviceUrlHasBeenSet; }
104 inline void SetServiceUrl(const Aws::String& value) { m_serviceUrlHasBeenSet = true; m_serviceUrl = value; }
105 inline void SetServiceUrl(Aws::String&& value) { m_serviceUrlHasBeenSet = true; m_serviceUrl = std::move(value); }
106 inline void SetServiceUrl(const char* value) { m_serviceUrlHasBeenSet = true; m_serviceUrl.assign(value); }
107 inline ServiceSummary& WithServiceUrl(const Aws::String& value) { SetServiceUrl(value); return *this;}
108 inline ServiceSummary& WithServiceUrl(Aws::String&& value) { SetServiceUrl(std::move(value)); return *this;}
109 inline ServiceSummary& WithServiceUrl(const char* value) { SetServiceUrl(value); return *this;}
111
113
117 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
118 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
119 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
120 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
121 inline ServiceSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
122 inline ServiceSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
124
126
130 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
131 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
132 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
133 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
134 inline ServiceSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
135 inline ServiceSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
137
139
149 inline const ServiceStatus& GetStatus() const{ return m_status; }
150 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
151 inline void SetStatus(const ServiceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
152 inline void SetStatus(ServiceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
153 inline ServiceSummary& WithStatus(const ServiceStatus& value) { SetStatus(value); return *this;}
154 inline ServiceSummary& WithStatus(ServiceStatus&& value) { SetStatus(std::move(value)); return *this;}
156 private:
157
158 Aws::String m_serviceName;
159 bool m_serviceNameHasBeenSet = false;
160
161 Aws::String m_serviceId;
162 bool m_serviceIdHasBeenSet = false;
163
164 Aws::String m_serviceArn;
165 bool m_serviceArnHasBeenSet = false;
166
167 Aws::String m_serviceUrl;
168 bool m_serviceUrlHasBeenSet = false;
169
170 Aws::Utils::DateTime m_createdAt;
171 bool m_createdAtHasBeenSet = false;
172
173 Aws::Utils::DateTime m_updatedAt;
174 bool m_updatedAtHasBeenSet = false;
175
176 ServiceStatus m_status;
177 bool m_statusHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace AppRunner
182} // namespace Aws
void SetServiceId(const char *value)
ServiceSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
ServiceSummary & WithServiceArn(const Aws::String &value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServiceName(const char *value)
ServiceSummary & WithServiceId(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
ServiceSummary & WithServiceName(Aws::String &&value)
ServiceSummary & WithServiceUrl(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetServiceArn(const Aws::String &value)
const Aws::String & GetServiceName() const
void SetServiceUrl(const char *value)
const ServiceStatus & GetStatus() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetServiceArn(const char *value)
void SetServiceId(const Aws::String &value)
ServiceSummary & WithStatus(const ServiceStatus &value)
const Aws::String & GetServiceId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
ServiceSummary & WithServiceArn(const char *value)
ServiceSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
ServiceSummary & WithServiceId(Aws::String &&value)
AWS_APPRUNNER_API ServiceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceSummary & WithStatus(ServiceStatus &&value)
void SetServiceUrl(Aws::String &&value)
ServiceSummary & WithServiceUrl(const Aws::String &value)
void SetServiceUrl(const Aws::String &value)
ServiceSummary & WithServiceArn(Aws::String &&value)
void SetStatus(const ServiceStatus &value)
ServiceSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetServiceUrl() const
void SetServiceName(Aws::String &&value)
AWS_APPRUNNER_API ServiceSummary(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ServiceStatus &&value)
ServiceSummary & WithServiceName(const Aws::String &value)
ServiceSummary & WithServiceId(const char *value)
void SetServiceArn(Aws::String &&value)
ServiceSummary & WithServiceName(const char *value)
ServiceSummary & WithServiceUrl(const char *value)
const Aws::String & GetServiceArn() const
ServiceSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetServiceName(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetServiceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue