7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fis/model/ExperimentState.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/fis/model/ExperimentLogConfiguration.h>
14#include <aws/fis/model/ExperimentOptions.h>
15#include <aws/fis/model/ExperimentTarget.h>
16#include <aws/fis/model/ExperimentAction.h>
17#include <aws/fis/model/ExperimentStopCondition.h>
56 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
57 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
70 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
71 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
85 inline void SetExperimentTemplateId(
const char* value) { m_experimentTemplateIdHasBeenSet =
true; m_experimentTemplateId.assign(value); }
100 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
220 inline Experiment&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
259 bool m_idHasBeenSet =
false;
262 bool m_arnHasBeenSet =
false;
265 bool m_experimentTemplateIdHasBeenSet =
false;
268 bool m_roleArnHasBeenSet =
false;
271 bool m_stateHasBeenSet =
false;
274 bool m_targetsHasBeenSet =
false;
277 bool m_actionsHasBeenSet =
false;
280 bool m_stopConditionsHasBeenSet =
false;
283 bool m_creationTimeHasBeenSet =
false;
286 bool m_startTimeHasBeenSet =
false;
289 bool m_endTimeHasBeenSet =
false;
292 bool m_tagsHasBeenSet =
false;
295 bool m_logConfigurationHasBeenSet =
false;
298 bool m_experimentOptionsHasBeenSet =
false;
300 long long m_targetAccountConfigurationsCount;
301 bool m_targetAccountConfigurationsCountHasBeenSet =
false;
Experiment & WithTargetAccountConfigurationsCount(long long value)
Experiment & WithState(const ExperimentState &value)
Experiment & AddTags(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Map< Aws::String, ExperimentTarget > & GetTargets() const
void SetStopConditions(Aws::Vector< ExperimentStopCondition > &&value)
Experiment & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Experiment & WithId(const char *value)
void SetRoleArn(Aws::String &&value)
void SetTargets(Aws::Map< Aws::String, ExperimentTarget > &&value)
void SetActions(const Aws::Map< Aws::String, ExperimentAction > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
void SetId(Aws::String &&value)
Experiment & AddActions(Aws::String &&key, const ExperimentAction &value)
void SetRoleArn(const Aws::String &value)
Experiment & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetState(ExperimentState &&value)
bool ExperimentOptionsHasBeenSet() const
Experiment & WithRoleArn(Aws::String &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetExperimentOptions(const ExperimentOptions &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetStopConditions(const Aws::Vector< ExperimentStopCondition > &value)
void SetRoleArn(const char *value)
bool EndTimeHasBeenSet() const
Experiment & AddActions(const char *key, const ExperimentAction &value)
Experiment & AddTargets(const Aws::String &key, const ExperimentTarget &value)
Experiment & WithArn(const Aws::String &value)
Experiment & WithExperimentTemplateId(Aws::String &&value)
Experiment & WithId(const Aws::String &value)
bool StateHasBeenSet() const
Experiment & AddActions(Aws::String &&key, ExperimentAction &&value)
Experiment & WithTargets(const Aws::Map< Aws::String, ExperimentTarget > &value)
const ExperimentLogConfiguration & GetLogConfiguration() const
bool CreationTimeHasBeenSet() const
Experiment & WithArn(const char *value)
Experiment & AddTargets(const Aws::String &key, ExperimentTarget &&value)
Experiment & WithLogConfiguration(ExperimentLogConfiguration &&value)
bool TargetsHasBeenSet() const
bool StartTimeHasBeenSet() const
Experiment & AddTags(const Aws::String &key, Aws::String &&value)
Experiment & WithActions(Aws::Map< Aws::String, ExperimentAction > &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
Experiment & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetRoleArn() const
bool IdHasBeenSet() const
Experiment & AddTags(Aws::String &&key, const char *value)
const ExperimentOptions & GetExperimentOptions() const
void SetId(const char *value)
void SetTargets(const Aws::Map< Aws::String, ExperimentTarget > &value)
bool TagsHasBeenSet() const
Experiment & WithCreationTime(const Aws::Utils::DateTime &value)
Experiment & AddTargets(const char *key, ExperimentTarget &&value)
Experiment & WithTargets(Aws::Map< Aws::String, ExperimentTarget > &&value)
const Aws::String & GetArn() const
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetTargetAccountConfigurationsCount() const
const Aws::String & GetId() const
void SetExperimentTemplateId(const Aws::String &value)
const Aws::Utils::DateTime & GetEndTime() const
Experiment & AddTags(const char *key, Aws::String &&value)
void SetActions(Aws::Map< Aws::String, ExperimentAction > &&value)
const ExperimentState & GetState() const
const Aws::String & GetExperimentTemplateId() const
void SetCreationTime(Aws::Utils::DateTime &&value)
bool StopConditionsHasBeenSet() const
Experiment & WithStartTime(const Aws::Utils::DateTime &value)
void SetArn(Aws::String &&value)
void SetState(const ExperimentState &value)
Experiment & WithRoleArn(const Aws::String &value)
Experiment & WithId(Aws::String &&value)
void SetExperimentTemplateId(Aws::String &&value)
Experiment & AddTags(Aws::String &&key, const Aws::String &value)
Experiment & WithArn(Aws::String &&value)
void SetId(const Aws::String &value)
Experiment & WithRoleArn(const char *value)
bool LogConfigurationHasBeenSet() const
Experiment & AddActions(const char *key, ExperimentAction &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Experiment & WithStopConditions(Aws::Vector< ExperimentStopCondition > &&value)
Experiment & AddActions(const Aws::String &key, ExperimentAction &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetArn(const char *value)
void SetLogConfiguration(const ExperimentLogConfiguration &value)
bool TargetAccountConfigurationsCountHasBeenSet() const
Experiment & WithExperimentTemplateId(const Aws::String &value)
bool RoleArnHasBeenSet() const
void SetExperimentTemplateId(const char *value)
Experiment & WithActions(const Aws::Map< Aws::String, ExperimentAction > &value)
Experiment & WithExperimentOptions(ExperimentOptions &&value)
AWS_FIS_API Experiment(Aws::Utils::Json::JsonView jsonValue)
Experiment & WithExperimentTemplateId(const char *value)
void SetExperimentOptions(ExperimentOptions &&value)
Experiment & AddStopConditions(const ExperimentStopCondition &value)
bool ExperimentTemplateIdHasBeenSet() const
Experiment & AddActions(const Aws::String &key, const ExperimentAction &value)
Experiment & AddTags(Aws::String &&key, Aws::String &&value)
Experiment & AddTargets(Aws::String &&key, ExperimentTarget &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
Experiment & WithState(ExperimentState &&value)
void SetLogConfiguration(ExperimentLogConfiguration &&value)
void SetArn(const Aws::String &value)
bool ArnHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
Experiment & WithEndTime(const Aws::Utils::DateTime &value)
Experiment & AddStopConditions(ExperimentStopCondition &&value)
Experiment & AddTargets(Aws::String &&key, const ExperimentTarget &value)
const Aws::Vector< ExperimentStopCondition > & GetStopConditions() const
Experiment & AddTargets(const char *key, const ExperimentTarget &value)
void SetTargetAccountConfigurationsCount(long long value)
Experiment & WithStopConditions(const Aws::Vector< ExperimentStopCondition > &value)
Experiment & WithCreationTime(Aws::Utils::DateTime &&value)
Experiment & WithLogConfiguration(const ExperimentLogConfiguration &value)
bool ActionsHasBeenSet() const
Experiment & WithExperimentOptions(const ExperimentOptions &value)
Experiment & WithEndTime(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, ExperimentAction > & GetActions() const
AWS_FIS_API Experiment & operator=(Aws::Utils::Json::JsonView jsonValue)
Experiment & WithStartTime(Aws::Utils::DateTime &&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