AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
TelemetryPipelineSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
10#include <aws/observabilityadmin/model/ConfigurationSummary.h>
11#include <aws/observabilityadmin/model/TelemetryPipelineStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ObservabilityAdmin {
23namespace Model {
24
32 public:
33 AWS_OBSERVABILITYADMIN_API TelemetryPipelineSummary() = default;
34 AWS_OBSERVABILITYADMIN_API TelemetryPipelineSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_OBSERVABILITYADMIN_API TelemetryPipelineSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline long long GetCreatedTimeStamp() const { return m_createdTimeStamp; }
43 inline bool CreatedTimeStampHasBeenSet() const { return m_createdTimeStampHasBeenSet; }
44 inline void SetCreatedTimeStamp(long long value) {
45 m_createdTimeStampHasBeenSet = true;
46 m_createdTimeStamp = value;
47 }
50 return *this;
51 }
53
55
58 inline long long GetLastUpdateTimeStamp() const { return m_lastUpdateTimeStamp; }
59 inline bool LastUpdateTimeStampHasBeenSet() const { return m_lastUpdateTimeStampHasBeenSet; }
60 inline void SetLastUpdateTimeStamp(long long value) {
61 m_lastUpdateTimeStampHasBeenSet = true;
62 m_lastUpdateTimeStamp = value;
63 }
66 return *this;
67 }
69
71
74 inline const Aws::String& GetArn() const { return m_arn; }
75 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
76 template <typename ArnT = Aws::String>
77 void SetArn(ArnT&& value) {
78 m_arnHasBeenSet = true;
79 m_arn = std::forward<ArnT>(value);
80 }
81 template <typename ArnT = Aws::String>
83 SetArn(std::forward<ArnT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetName() const { return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 template <typename NameT = Aws::String>
95 void SetName(NameT&& value) {
96 m_nameHasBeenSet = true;
97 m_name = std::forward<NameT>(value);
98 }
99 template <typename NameT = Aws::String>
101 SetName(std::forward<NameT>(value));
102 return *this;
103 }
105
107
110 inline TelemetryPipelineStatus GetStatus() const { return m_status; }
111 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
113 m_statusHasBeenSet = true;
114 m_status = value;
115 }
117 SetStatus(value);
118 return *this;
119 }
121
123
126 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
127 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
128 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
129 void SetTags(TagsT&& value) {
130 m_tagsHasBeenSet = true;
131 m_tags = std::forward<TagsT>(value);
132 }
133 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
135 SetTags(std::forward<TagsT>(value));
136 return *this;
137 }
138 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
139 TelemetryPipelineSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
140 m_tagsHasBeenSet = true;
141 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
142 return *this;
143 }
145
147
150 inline const ConfigurationSummary& GetConfigurationSummary() const { return m_configurationSummary; }
151 inline bool ConfigurationSummaryHasBeenSet() const { return m_configurationSummaryHasBeenSet; }
152 template <typename ConfigurationSummaryT = ConfigurationSummary>
153 void SetConfigurationSummary(ConfigurationSummaryT&& value) {
154 m_configurationSummaryHasBeenSet = true;
155 m_configurationSummary = std::forward<ConfigurationSummaryT>(value);
156 }
157 template <typename ConfigurationSummaryT = ConfigurationSummary>
158 TelemetryPipelineSummary& WithConfigurationSummary(ConfigurationSummaryT&& value) {
159 SetConfigurationSummary(std::forward<ConfigurationSummaryT>(value));
160 return *this;
161 }
163 private:
164 long long m_createdTimeStamp{0};
165
166 long long m_lastUpdateTimeStamp{0};
167
168 Aws::String m_arn;
169
170 Aws::String m_name;
171
173
175
176 ConfigurationSummary m_configurationSummary;
177 bool m_createdTimeStampHasBeenSet = false;
178 bool m_lastUpdateTimeStampHasBeenSet = false;
179 bool m_arnHasBeenSet = false;
180 bool m_nameHasBeenSet = false;
181 bool m_statusHasBeenSet = false;
182 bool m_tagsHasBeenSet = false;
183 bool m_configurationSummaryHasBeenSet = false;
184};
185
186} // namespace Model
187} // namespace ObservabilityAdmin
188} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_OBSERVABILITYADMIN_API TelemetryPipelineSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_OBSERVABILITYADMIN_API TelemetryPipelineSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TelemetryPipelineSummary & WithCreatedTimeStamp(long long value)
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
TelemetryPipelineSummary & WithConfigurationSummary(ConfigurationSummaryT &&value)
AWS_OBSERVABILITYADMIN_API TelemetryPipelineSummary()=default
TelemetryPipelineSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
TelemetryPipelineSummary & WithLastUpdateTimeStamp(long long value)
TelemetryPipelineSummary & WithStatus(TelemetryPipelineStatus value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue