AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProjectSummary.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/evidently/model/ProjectStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.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 CloudWatchEvidently
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CLOUDWATCHEVIDENTLY_API ProjectSummary() = default;
39 AWS_CLOUDWATCHEVIDENTLY_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLOUDWATCHEVIDENTLY_API ProjectSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline long long GetActiveExperimentCount() const { return m_activeExperimentCount; }
49 inline bool ActiveExperimentCountHasBeenSet() const { return m_activeExperimentCountHasBeenSet; }
50 inline void SetActiveExperimentCount(long long value) { m_activeExperimentCountHasBeenSet = true; m_activeExperimentCount = value; }
51 inline ProjectSummary& WithActiveExperimentCount(long long value) { SetActiveExperimentCount(value); return *this;}
53
55
58 inline long long GetActiveLaunchCount() const { return m_activeLaunchCount; }
59 inline bool ActiveLaunchCountHasBeenSet() const { return m_activeLaunchCountHasBeenSet; }
60 inline void SetActiveLaunchCount(long long value) { m_activeLaunchCountHasBeenSet = true; m_activeLaunchCount = value; }
61 inline ProjectSummary& WithActiveLaunchCount(long long value) { SetActiveLaunchCount(value); return *this;}
63
65
68 inline const Aws::String& GetArn() const { return m_arn; }
69 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
70 template<typename ArnT = Aws::String>
71 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
72 template<typename ArnT = Aws::String>
73 ProjectSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
75
77
80 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
81 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
82 template<typename CreatedTimeT = Aws::Utils::DateTime>
83 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
84 template<typename CreatedTimeT = Aws::Utils::DateTime>
85 ProjectSummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
87
89
92 inline const Aws::String& GetDescription() const { return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 template<typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
96 template<typename DescriptionT = Aws::String>
97 ProjectSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
99
101
104 inline long long GetExperimentCount() const { return m_experimentCount; }
105 inline bool ExperimentCountHasBeenSet() const { return m_experimentCountHasBeenSet; }
106 inline void SetExperimentCount(long long value) { m_experimentCountHasBeenSet = true; m_experimentCount = value; }
107 inline ProjectSummary& WithExperimentCount(long long value) { SetExperimentCount(value); return *this;}
109
111
114 inline long long GetFeatureCount() const { return m_featureCount; }
115 inline bool FeatureCountHasBeenSet() const { return m_featureCountHasBeenSet; }
116 inline void SetFeatureCount(long long value) { m_featureCountHasBeenSet = true; m_featureCount = value; }
117 inline ProjectSummary& WithFeatureCount(long long value) { SetFeatureCount(value); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
125 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
126 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
127 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
128 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
129 ProjectSummary& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
131
133
137 inline long long GetLaunchCount() const { return m_launchCount; }
138 inline bool LaunchCountHasBeenSet() const { return m_launchCountHasBeenSet; }
139 inline void SetLaunchCount(long long value) { m_launchCountHasBeenSet = true; m_launchCount = value; }
140 inline ProjectSummary& WithLaunchCount(long long value) { SetLaunchCount(value); return *this;}
142
144
147 inline const Aws::String& GetName() const { return m_name; }
148 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
149 template<typename NameT = Aws::String>
150 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
151 template<typename NameT = Aws::String>
152 ProjectSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
154
156
159 inline ProjectStatus GetStatus() const { return m_status; }
160 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
161 inline void SetStatus(ProjectStatus value) { m_statusHasBeenSet = true; m_status = value; }
162 inline ProjectSummary& WithStatus(ProjectStatus value) { SetStatus(value); return *this;}
164
166
169 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
170 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
171 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
172 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
173 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
174 ProjectSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
175 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
176 ProjectSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
177 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
178 }
180 private:
181
182 long long m_activeExperimentCount{0};
183 bool m_activeExperimentCountHasBeenSet = false;
184
185 long long m_activeLaunchCount{0};
186 bool m_activeLaunchCountHasBeenSet = false;
187
188 Aws::String m_arn;
189 bool m_arnHasBeenSet = false;
190
191 Aws::Utils::DateTime m_createdTime{};
192 bool m_createdTimeHasBeenSet = false;
193
194 Aws::String m_description;
195 bool m_descriptionHasBeenSet = false;
196
197 long long m_experimentCount{0};
198 bool m_experimentCountHasBeenSet = false;
199
200 long long m_featureCount{0};
201 bool m_featureCountHasBeenSet = false;
202
203 Aws::Utils::DateTime m_lastUpdatedTime{};
204 bool m_lastUpdatedTimeHasBeenSet = false;
205
206 long long m_launchCount{0};
207 bool m_launchCountHasBeenSet = false;
208
209 Aws::String m_name;
210 bool m_nameHasBeenSet = false;
211
213 bool m_statusHasBeenSet = false;
214
216 bool m_tagsHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace CloudWatchEvidently
221} // namespace Aws
ProjectSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectSummary & WithDescription(DescriptionT &&value)
ProjectSummary & WithFeatureCount(long long value)
ProjectSummary & WithActiveLaunchCount(long long value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
ProjectSummary & WithCreatedTime(CreatedTimeT &&value)
ProjectSummary & WithLaunchCount(long long value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
AWS_CLOUDWATCHEVIDENTLY_API ProjectSummary()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_CLOUDWATCHEVIDENTLY_API ProjectSummary(Aws::Utils::Json::JsonView jsonValue)
ProjectSummary & WithStatus(ProjectStatus value)
AWS_CLOUDWATCHEVIDENTLY_API ProjectSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectSummary & WithActiveExperimentCount(long long value)
ProjectSummary & WithExperimentCount(long long value)
ProjectSummary & WithLastUpdatedTime(LastUpdatedTimeT &&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