7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/fis/model/ExperimentTemplateLogConfiguration.h>
13#include <aws/fis/model/ExperimentTemplateExperimentOptions.h>
14#include <aws/fis/model/ExperimentTemplateTarget.h>
15#include <aws/fis/model/ExperimentTemplateAction.h>
16#include <aws/fis/model/ExperimentTemplateStopCondition.h>
55 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
56 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
69 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
70 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
84 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
172 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
194 inline ExperimentTemplate&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
233 bool m_idHasBeenSet =
false;
236 bool m_arnHasBeenSet =
false;
239 bool m_descriptionHasBeenSet =
false;
242 bool m_targetsHasBeenSet =
false;
245 bool m_actionsHasBeenSet =
false;
248 bool m_stopConditionsHasBeenSet =
false;
251 bool m_creationTimeHasBeenSet =
false;
254 bool m_lastUpdateTimeHasBeenSet =
false;
257 bool m_roleArnHasBeenSet =
false;
260 bool m_tagsHasBeenSet =
false;
263 bool m_logConfigurationHasBeenSet =
false;
266 bool m_experimentOptionsHasBeenSet =
false;
268 long long m_targetAccountConfigurationsCount;
269 bool m_targetAccountConfigurationsCountHasBeenSet =
false;
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ExperimentTemplate & AddActions(Aws::String &&key, ExperimentTemplateAction &&value)
bool StopConditionsHasBeenSet() const
AWS_FIS_API ExperimentTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
ExperimentTemplate & WithActions(const Aws::Map< Aws::String, ExperimentTemplateAction > &value)
ExperimentTemplate & WithLogConfiguration(ExperimentTemplateLogConfiguration &&value)
ExperimentTemplate & AddTags(Aws::String &&key, const char *value)
bool TargetsHasBeenSet() const
void SetArn(const Aws::String &value)
ExperimentTemplate & WithRoleArn(Aws::String &&value)
ExperimentTemplate & WithDescription(const char *value)
ExperimentTemplate & AddTags(const char *key, const char *value)
const Aws::Map< Aws::String, ExperimentTemplateTarget > & GetTargets() const
ExperimentTemplate & AddTags(Aws::String &&key, const Aws::String &value)
ExperimentTemplate & AddTargets(const Aws::String &key, ExperimentTemplateTarget &&value)
void SetStopConditions(Aws::Vector< ExperimentTemplateStopCondition > &&value)
ExperimentTemplate & AddTargets(const char *key, ExperimentTemplateTarget &&value)
const Aws::String & GetId() const
void SetDescription(Aws::String &&value)
ExperimentTemplate & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool TargetAccountConfigurationsCountHasBeenSet() const
bool RoleArnHasBeenSet() const
bool LogConfigurationHasBeenSet() const
ExperimentTemplate & AddTags(const Aws::String &key, Aws::String &&value)
ExperimentTemplate & WithArn(const char *value)
void SetTargets(Aws::Map< Aws::String, ExperimentTemplateTarget > &&value)
void SetStopConditions(const Aws::Vector< ExperimentTemplateStopCondition > &value)
void SetLogConfiguration(const ExperimentTemplateLogConfiguration &value)
const Aws::String & GetRoleArn() const
ExperimentTemplate & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ExperimentTemplate & AddActions(const Aws::String &key, ExperimentTemplateAction &&value)
ExperimentTemplate & AddStopConditions(const ExperimentTemplateStopCondition &value)
const ExperimentTemplateExperimentOptions & GetExperimentOptions() const
void SetId(const Aws::String &value)
bool DescriptionHasBeenSet() const
const Aws::Vector< ExperimentTemplateStopCondition > & GetStopConditions() const
bool CreationTimeHasBeenSet() const
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
ExperimentTemplate & WithActions(Aws::Map< Aws::String, ExperimentTemplateAction > &&value)
void SetRoleArn(const char *value)
void SetArn(const char *value)
ExperimentTemplate & WithLastUpdateTime(Aws::Utils::DateTime &&value)
void SetRoleArn(Aws::String &&value)
bool LastUpdateTimeHasBeenSet() const
ExperimentTemplate & WithDescription(const Aws::String &value)
ExperimentTemplate & AddTargets(const Aws::String &key, const ExperimentTemplateTarget &value)
ExperimentTemplate & WithArn(Aws::String &&value)
ExperimentTemplate & AddTags(Aws::String &&key, Aws::String &&value)
void SetTargets(const Aws::Map< Aws::String, ExperimentTemplateTarget > &value)
ExperimentTemplate & AddTargets(Aws::String &&key, const ExperimentTemplateTarget &value)
const Aws::String & GetArn() const
ExperimentTemplate & WithTargetAccountConfigurationsCount(long long value)
bool TagsHasBeenSet() const
ExperimentTemplate & WithId(const Aws::String &value)
const Aws::String & GetDescription() const
bool IdHasBeenSet() const
ExperimentTemplate & WithRoleArn(const Aws::String &value)
ExperimentTemplate & WithId(Aws::String &&value)
ExperimentTemplate & WithId(const char *value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
AWS_FIS_API ExperimentTemplate()
const Aws::Map< Aws::String, ExperimentTemplateAction > & GetActions() const
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
ExperimentTemplate & WithStopConditions(Aws::Vector< ExperimentTemplateStopCondition > &&value)
void SetDescription(const char *value)
long long GetTargetAccountConfigurationsCount() const
ExperimentTemplate & AddActions(const char *key, ExperimentTemplateAction &&value)
ExperimentTemplate & AddTargets(Aws::String &&key, ExperimentTemplateTarget &&value)
ExperimentTemplate & WithLastUpdateTime(const Aws::Utils::DateTime &value)
ExperimentTemplate & AddActions(Aws::String &&key, const ExperimentTemplateAction &value)
ExperimentTemplate & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ExperimentTemplate & AddActions(const char *key, const ExperimentTemplateAction &value)
void SetActions(const Aws::Map< Aws::String, ExperimentTemplateAction > &value)
ExperimentTemplate & WithTargets(Aws::Map< Aws::String, ExperimentTemplateTarget > &&value)
void SetTargetAccountConfigurationsCount(long long value)
ExperimentTemplate & AddActions(const Aws::String &key, const ExperimentTemplateAction &value)
ExperimentTemplate & AddStopConditions(ExperimentTemplateStopCondition &&value)
ExperimentTemplate & WithExperimentOptions(ExperimentTemplateExperimentOptions &&value)
ExperimentTemplate & WithStopConditions(const Aws::Vector< ExperimentTemplateStopCondition > &value)
ExperimentTemplate & AddTargets(const char *key, const ExperimentTemplateTarget &value)
void SetArn(Aws::String &&value)
ExperimentTemplate & WithArn(const Aws::String &value)
ExperimentTemplate & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ExperimentTemplate & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetId(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetId(Aws::String &&value)
bool ArnHasBeenSet() const
const ExperimentTemplateLogConfiguration & GetLogConfiguration() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
AWS_FIS_API ExperimentTemplate(Aws::Utils::Json::JsonView jsonValue)
ExperimentTemplate & WithLogConfiguration(const ExperimentTemplateLogConfiguration &value)
bool ExperimentOptionsHasBeenSet() const
bool ActionsHasBeenSet() const
void SetActions(Aws::Map< Aws::String, ExperimentTemplateAction > &&value)
ExperimentTemplate & WithTargets(const Aws::Map< Aws::String, ExperimentTemplateTarget > &value)
ExperimentTemplate & WithRoleArn(const char *value)
ExperimentTemplate & WithExperimentOptions(const ExperimentTemplateExperimentOptions &value)
ExperimentTemplate & AddTags(const char *key, Aws::String &&value)
void SetLogConfiguration(ExperimentTemplateLogConfiguration &&value)
void SetExperimentOptions(ExperimentTemplateExperimentOptions &&value)
void SetExperimentOptions(const ExperimentTemplateExperimentOptions &value)
ExperimentTemplate & WithCreationTime(const Aws::Utils::DateTime &value)
void SetRoleArn(const Aws::String &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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue