AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ObservabilityConfiguration.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apprunner/model/TraceConfiguration.h>
10#include <aws/apprunner/model/ObservabilityConfigurationStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AppRunner
25{
26namespace Model
27{
28
42 {
43 public:
44 AWS_APPRUNNER_API ObservabilityConfiguration();
47 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetObservabilityConfigurationArn() const{ return m_observabilityConfigurationArn; }
55 inline bool ObservabilityConfigurationArnHasBeenSet() const { return m_observabilityConfigurationArnHasBeenSet; }
56 inline void SetObservabilityConfigurationArn(const Aws::String& value) { m_observabilityConfigurationArnHasBeenSet = true; m_observabilityConfigurationArn = value; }
57 inline void SetObservabilityConfigurationArn(Aws::String&& value) { m_observabilityConfigurationArnHasBeenSet = true; m_observabilityConfigurationArn = std::move(value); }
58 inline void SetObservabilityConfigurationArn(const char* value) { m_observabilityConfigurationArnHasBeenSet = true; m_observabilityConfigurationArn.assign(value); }
63
65
69 inline const Aws::String& GetObservabilityConfigurationName() const{ return m_observabilityConfigurationName; }
70 inline bool ObservabilityConfigurationNameHasBeenSet() const { return m_observabilityConfigurationNameHasBeenSet; }
71 inline void SetObservabilityConfigurationName(const Aws::String& value) { m_observabilityConfigurationNameHasBeenSet = true; m_observabilityConfigurationName = value; }
72 inline void SetObservabilityConfigurationName(Aws::String&& value) { m_observabilityConfigurationNameHasBeenSet = true; m_observabilityConfigurationName = std::move(value); }
73 inline void SetObservabilityConfigurationName(const char* value) { m_observabilityConfigurationNameHasBeenSet = true; m_observabilityConfigurationName.assign(value); }
78
80
84 inline const TraceConfiguration& GetTraceConfiguration() const{ return m_traceConfiguration; }
85 inline bool TraceConfigurationHasBeenSet() const { return m_traceConfigurationHasBeenSet; }
86 inline void SetTraceConfiguration(const TraceConfiguration& value) { m_traceConfigurationHasBeenSet = true; m_traceConfiguration = value; }
87 inline void SetTraceConfiguration(TraceConfiguration&& value) { m_traceConfigurationHasBeenSet = true; m_traceConfiguration = std::move(value); }
91
93
98 inline int GetObservabilityConfigurationRevision() const{ return m_observabilityConfigurationRevision; }
99 inline bool ObservabilityConfigurationRevisionHasBeenSet() const { return m_observabilityConfigurationRevisionHasBeenSet; }
100 inline void SetObservabilityConfigurationRevision(int value) { m_observabilityConfigurationRevisionHasBeenSet = true; m_observabilityConfigurationRevision = value; }
103
105
111 inline bool GetLatest() const{ return m_latest; }
112 inline bool LatestHasBeenSet() const { return m_latestHasBeenSet; }
113 inline void SetLatest(bool value) { m_latestHasBeenSet = true; m_latest = value; }
114 inline ObservabilityConfiguration& WithLatest(bool value) { SetLatest(value); return *this;}
116
118
124 inline const ObservabilityConfigurationStatus& GetStatus() const{ return m_status; }
125 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
126 inline void SetStatus(const ObservabilityConfigurationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
127 inline void SetStatus(ObservabilityConfigurationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
129 inline ObservabilityConfiguration& WithStatus(ObservabilityConfigurationStatus&& value) { SetStatus(std::move(value)); return *this;}
131
133
137 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
138 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
139 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
140 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
141 inline ObservabilityConfiguration& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
142 inline ObservabilityConfiguration& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
144
146
150 inline const Aws::Utils::DateTime& GetDeletedAt() const{ return m_deletedAt; }
151 inline bool DeletedAtHasBeenSet() const { return m_deletedAtHasBeenSet; }
152 inline void SetDeletedAt(const Aws::Utils::DateTime& value) { m_deletedAtHasBeenSet = true; m_deletedAt = value; }
153 inline void SetDeletedAt(Aws::Utils::DateTime&& value) { m_deletedAtHasBeenSet = true; m_deletedAt = std::move(value); }
154 inline ObservabilityConfiguration& WithDeletedAt(const Aws::Utils::DateTime& value) { SetDeletedAt(value); return *this;}
155 inline ObservabilityConfiguration& WithDeletedAt(Aws::Utils::DateTime&& value) { SetDeletedAt(std::move(value)); return *this;}
157 private:
158
159 Aws::String m_observabilityConfigurationArn;
160 bool m_observabilityConfigurationArnHasBeenSet = false;
161
162 Aws::String m_observabilityConfigurationName;
163 bool m_observabilityConfigurationNameHasBeenSet = false;
164
165 TraceConfiguration m_traceConfiguration;
166 bool m_traceConfigurationHasBeenSet = false;
167
168 int m_observabilityConfigurationRevision;
169 bool m_observabilityConfigurationRevisionHasBeenSet = false;
170
171 bool m_latest;
172 bool m_latestHasBeenSet = false;
173
175 bool m_statusHasBeenSet = false;
176
177 Aws::Utils::DateTime m_createdAt;
178 bool m_createdAtHasBeenSet = false;
179
180 Aws::Utils::DateTime m_deletedAt;
181 bool m_deletedAtHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace AppRunner
186} // namespace Aws
ObservabilityConfiguration & WithStatus(const ObservabilityConfigurationStatus &value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
ObservabilityConfiguration & WithCreatedAt(Aws::Utils::DateTime &&value)
const ObservabilityConfigurationStatus & GetStatus() const
void SetStatus(ObservabilityConfigurationStatus &&value)
ObservabilityConfiguration & WithTraceConfiguration(TraceConfiguration &&value)
ObservabilityConfiguration & WithObservabilityConfigurationArn(Aws::String &&value)
void SetTraceConfiguration(const TraceConfiguration &value)
ObservabilityConfiguration & WithObservabilityConfigurationName(Aws::String &&value)
ObservabilityConfiguration & WithStatus(ObservabilityConfigurationStatus &&value)
ObservabilityConfiguration & WithDeletedAt(Aws::Utils::DateTime &&value)
ObservabilityConfiguration & WithDeletedAt(const Aws::Utils::DateTime &value)
ObservabilityConfiguration & WithLatest(bool value)
AWS_APPRUNNER_API ObservabilityConfiguration(Aws::Utils::Json::JsonView jsonValue)
ObservabilityConfiguration & WithTraceConfiguration(const TraceConfiguration &value)
ObservabilityConfiguration & WithObservabilityConfigurationName(const Aws::String &value)
AWS_APPRUNNER_API ObservabilityConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ObservabilityConfiguration & WithCreatedAt(const Aws::Utils::DateTime &value)
ObservabilityConfiguration & WithObservabilityConfigurationRevision(int value)
ObservabilityConfiguration & WithObservabilityConfigurationName(const char *value)
ObservabilityConfiguration & WithObservabilityConfigurationArn(const char *value)
ObservabilityConfiguration & WithObservabilityConfigurationArn(const Aws::String &value)
void SetStatus(const ObservabilityConfigurationStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue