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/core/utils/memory/stl/AWSMap.h>
23namespace CloudWatchEvidently
52 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
53 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
79 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
92 inline void SetExperimentCount(
long long value) { m_experimentCountHasBeenSet =
true; m_experimentCount = value; }
115 inline void SetLaunchCount(
long long value) { m_launchCountHasBeenSet =
true; m_launchCount = value; }
127 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
145 inline void SetPattern(
const char* value) { m_patternHasBeenSet =
true; m_pattern.assign(value); }
165 inline Segment&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
166 inline Segment&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
167 inline Segment&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
172 bool m_arnHasBeenSet =
false;
175 bool m_createdTimeHasBeenSet =
false;
178 bool m_descriptionHasBeenSet =
false;
180 long long m_experimentCount;
181 bool m_experimentCountHasBeenSet =
false;
184 bool m_lastUpdatedTimeHasBeenSet =
false;
186 long long m_launchCount;
187 bool m_launchCountHasBeenSet =
false;
190 bool m_nameHasBeenSet =
false;
193 bool m_patternHasBeenSet =
false;
196 bool m_tagsHasBeenSet =
false;
const Aws::String & GetPattern() const
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Segment & WithArn(Aws::String &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Segment & WithDescription(const char *value)
AWS_CLOUDWATCHEVIDENTLY_API Segment()
void SetArn(const Aws::String &value)
void SetPattern(Aws::String &&value)
void SetName(Aws::String &&value)
Segment & WithArn(const char *value)
Segment & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDescription(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(Aws::String &&value)
Segment & AddTags(Aws::String &&key, Aws::String &&value)
void SetPattern(const char *value)
const Aws::Utils::DateTime & GetCreatedTime() const
bool PatternHasBeenSet() const
Segment & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Segment & WithLaunchCount(long long value)
Segment & WithName(const char *value)
Segment & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetExperimentCount(long long value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
bool CreatedTimeHasBeenSet() const
const Aws::String & GetName() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetDescription() const
Segment & WithCreatedTime(Aws::Utils::DateTime &&value)
bool TagsHasBeenSet() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
Segment & AddTags(Aws::String &&key, const char *value)
Segment & WithName(Aws::String &&value)
void SetDescription(const Aws::String &value)
Segment & WithArn(const Aws::String &value)
void SetDescription(const char *value)
bool ExperimentCountHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API Segment(Aws::Utils::Json::JsonView jsonValue)
Segment & WithPattern(Aws::String &&value)
Segment & AddTags(Aws::String &&key, const Aws::String &value)
bool NameHasBeenSet() const
Segment & WithExperimentCount(long long value)
long long GetLaunchCount() const
Segment & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Segment & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetPattern(const Aws::String &value)
Segment & AddTags(const char *key, Aws::String &&value)
Segment & WithPattern(const char *value)
void SetName(const char *value)
void SetName(const Aws::String &value)
const Aws::String & GetArn() const
AWS_CLOUDWATCHEVIDENTLY_API Segment & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
Segment & WithPattern(const Aws::String &value)
Segment & AddTags(const Aws::String &key, Aws::String &&value)
Segment & AddTags(const Aws::String &key, const Aws::String &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
bool LaunchCountHasBeenSet() const
void SetLaunchCount(long long value)
void SetArn(const char *value)
long long GetExperimentCount() const
bool ArnHasBeenSet() const
Segment & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Segment & WithDescription(Aws::String &&value)
Segment & WithName(const Aws::String &value)
bool LastUpdatedTimeHasBeenSet() const
Segment & AddTags(const char *key, const char *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