7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/evidently/model/ProjectAppConfigResource.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/evidently/model/ProjectDataDelivery.h>
12#include <aws/evidently/model/ProjectStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
26namespace CloudWatchEvidently
41 AWS_CLOUDWATCHEVIDENTLY_API
Project() =
default;
53 inline void SetActiveExperimentCount(
long long value) { m_activeExperimentCountHasBeenSet =
true; m_activeExperimentCount = value; }
63 inline void SetActiveLaunchCount(
long long value) { m_activeLaunchCountHasBeenSet =
true; m_activeLaunchCount = value; }
74 template<
typename AppConfigResourceT = ProjectAppConfigResource>
75 void SetAppConfigResource(AppConfigResourceT&& value) { m_appConfigResourceHasBeenSet =
true; m_appConfigResource = std::forward<AppConfigResourceT>(value); }
76 template<
typename AppConfigResourceT = ProjectAppConfigResource>
86 template<
typename ArnT = Aws::String>
87 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
88 template<
typename ArnT = Aws::String>
98 template<
typename CreatedTimeT = Aws::Utils::DateTime>
99 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
100 template<
typename CreatedTimeT = Aws::Utils::DateTime>
111 template<
typename DataDeliveryT = ProjectDataDelivery>
112 void SetDataDelivery(DataDeliveryT&& value) { m_dataDeliveryHasBeenSet =
true; m_dataDelivery = std::forward<DataDeliveryT>(value); }
113 template<
typename DataDeliveryT = ProjectDataDelivery>
123 template<
typename DescriptionT = Aws::String>
124 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
125 template<
typename DescriptionT = Aws::String>
137 inline void SetExperimentCount(
long long value) { m_experimentCountHasBeenSet =
true; m_experimentCount = value; }
147 inline void SetFeatureCount(
long long value) { m_featureCountHasBeenSet =
true; m_featureCount = value; }
157 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
158 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
159 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
170 inline void SetLaunchCount(
long long value) { m_launchCountHasBeenSet =
true; m_launchCount = value; }
180 template<
typename NameT = Aws::String>
181 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
182 template<
typename NameT = Aws::String>
202 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
203 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
204 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
206 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
208 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
213 long long m_activeExperimentCount{0};
214 bool m_activeExperimentCountHasBeenSet =
false;
216 long long m_activeLaunchCount{0};
217 bool m_activeLaunchCountHasBeenSet =
false;
219 ProjectAppConfigResource m_appConfigResource;
220 bool m_appConfigResourceHasBeenSet =
false;
223 bool m_arnHasBeenSet =
false;
226 bool m_createdTimeHasBeenSet =
false;
228 ProjectDataDelivery m_dataDelivery;
229 bool m_dataDeliveryHasBeenSet =
false;
232 bool m_descriptionHasBeenSet =
false;
234 long long m_experimentCount{0};
235 bool m_experimentCountHasBeenSet =
false;
237 long long m_featureCount{0};
238 bool m_featureCountHasBeenSet =
false;
241 bool m_lastUpdatedTimeHasBeenSet =
false;
243 long long m_launchCount{0};
244 bool m_launchCountHasBeenSet =
false;
247 bool m_nameHasBeenSet =
false;
250 bool m_statusHasBeenSet =
false;
253 bool m_tagsHasBeenSet =
false;
AWS_CLOUDWATCHEVIDENTLY_API Project()=default
long long GetLaunchCount() const
Project & WithFeatureCount(long long value)
long long GetActiveExperimentCount() const
bool TagsHasBeenSet() const
Project & WithActiveLaunchCount(long long value)
void SetExperimentCount(long long value)
const Aws::String & GetName() const
bool FeatureCountHasBeenSet() const
bool LaunchCountHasBeenSet() const
Project & WithName(NameT &&value)
void SetName(NameT &&value)
bool LastUpdatedTimeHasBeenSet() const
bool NameHasBeenSet() const
void SetArn(ArnT &&value)
void SetActiveExperimentCount(long long value)
void SetTags(TagsT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
Project & WithLaunchCount(long long value)
AWS_CLOUDWATCHEVIDENTLY_API Project & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
bool ExperimentCountHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Project & WithDescription(DescriptionT &&value)
Project & WithAppConfigResource(AppConfigResourceT &&value)
Project & WithLastUpdatedTime(LastUpdatedTimeT &&value)
Project & WithCreatedTime(CreatedTimeT &&value)
const ProjectAppConfigResource & GetAppConfigResource() const
long long GetFeatureCount() const
bool ArnHasBeenSet() const
bool AppConfigResourceHasBeenSet() const
Project & WithExperimentCount(long long value)
void SetFeatureCount(long long value)
long long GetExperimentCount() const
bool CreatedTimeHasBeenSet() const
Project & WithActiveExperimentCount(long long value)
void SetDescription(DescriptionT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Project(Aws::Utils::Json::JsonView jsonValue)
Project & WithTags(TagsT &&value)
bool StatusHasBeenSet() const
Project & WithDataDelivery(DataDeliveryT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
const Aws::String & GetDescription() const
Project & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetActiveLaunchCount(long long value)
void SetStatus(ProjectStatus value)
const Aws::String & GetArn() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const ProjectDataDelivery & GetDataDelivery() const
Project & WithArn(ArnT &&value)
bool ActiveExperimentCountHasBeenSet() const
ProjectStatus GetStatus() const
bool DataDeliveryHasBeenSet() const
void SetAppConfigResource(AppConfigResourceT &&value)
bool DescriptionHasBeenSet() const
Project & WithStatus(ProjectStatus value)
long long GetActiveLaunchCount() const
void SetCreatedTime(CreatedTimeT &&value)
void SetLaunchCount(long long value)
bool ActiveLaunchCountHasBeenSet() const
void SetDataDelivery(DataDeliveryT &&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