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/fis/model/ExperimentActionState.h>
12#include <aws/core/utils/DateTime.h>
52 inline void SetActionId(
const char* value) { m_actionIdHasBeenSet =
true; m_actionId.assign(value); }
66 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
88 inline ExperimentAction&
AddParameters(
const char* key,
const char* value) { m_parametersHasBeenSet =
true; m_parameters.emplace(key, value);
return *
this; }
107 inline ExperimentAction&
AddTargets(
const char* key,
const char* value) { m_targetsHasBeenSet =
true; m_targets.emplace(key, value);
return *
this; }
163 bool m_actionIdHasBeenSet =
false;
166 bool m_descriptionHasBeenSet =
false;
169 bool m_parametersHasBeenSet =
false;
172 bool m_targetsHasBeenSet =
false;
175 bool m_startAfterHasBeenSet =
false;
178 bool m_stateHasBeenSet =
false;
181 bool m_startTimeHasBeenSet =
false;
184 bool m_endTimeHasBeenSet =
false;
ExperimentAction & AddTargets(const char *key, const char *value)
void SetDescription(Aws::String &&value)
bool TargetsHasBeenSet() const
void SetStartAfter(const Aws::Vector< Aws::String > &value)
AWS_FIS_API ExperimentAction(Aws::Utils::Json::JsonView jsonValue)
bool ParametersHasBeenSet() const
void SetTargets(const Aws::Map< Aws::String, Aws::String > &value)
void SetState(const ExperimentActionState &value)
ExperimentAction & AddParameters(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
ExperimentAction & AddParameters(const char *key, Aws::String &&value)
ExperimentAction & AddStartAfter(const char *value)
void SetDescription(const char *value)
void SetStartTime(Aws::Utils::DateTime &&value)
ExperimentAction & WithStartTime(Aws::Utils::DateTime &&value)
AWS_FIS_API ExperimentAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetActionId(const Aws::String &value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
bool StateHasBeenSet() const
ExperimentAction & WithStartAfter(Aws::Vector< Aws::String > &&value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetEndTime() const
ExperimentAction & WithState(const ExperimentActionState &value)
ExperimentAction & WithDescription(const char *value)
void SetActionId(const char *value)
const Aws::Vector< Aws::String > & GetStartAfter() const
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
ExperimentAction & AddTargets(const Aws::String &key, const Aws::String &value)
ExperimentAction & WithStartAfter(const Aws::Vector< Aws::String > &value)
void SetStartTime(const Aws::Utils::DateTime &value)
const Aws::Map< Aws::String, Aws::String > & GetTargets() const
AWS_FIS_API ExperimentAction()
bool StartAfterHasBeenSet() const
ExperimentAction & WithDescription(const Aws::String &value)
ExperimentAction & AddStartAfter(const Aws::String &value)
ExperimentAction & WithActionId(const char *value)
void SetActionId(Aws::String &&value)
ExperimentAction & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
bool ActionIdHasBeenSet() const
ExperimentAction & WithTargets(const Aws::Map< Aws::String, Aws::String > &value)
ExperimentAction & WithEndTime(const Aws::Utils::DateTime &value)
void SetState(ExperimentActionState &&value)
ExperimentAction & AddStartAfter(Aws::String &&value)
ExperimentAction & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
ExperimentAction & AddTargets(const char *key, Aws::String &&value)
void SetDescription(const Aws::String &value)
bool StartTimeHasBeenSet() const
void SetTargets(Aws::Map< Aws::String, Aws::String > &&value)
ExperimentAction & AddParameters(const Aws::String &key, const Aws::String &value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
ExperimentAction & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
bool DescriptionHasBeenSet() const
ExperimentAction & AddParameters(Aws::String &&key, const Aws::String &value)
ExperimentAction & WithState(ExperimentActionState &&value)
void SetStartAfter(Aws::Vector< Aws::String > &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
ExperimentAction & AddTargets(Aws::String &&key, const char *value)
ExperimentAction & AddParameters(Aws::String &&key, const char *value)
ExperimentAction & WithActionId(const Aws::String &value)
ExperimentAction & AddTargets(Aws::String &&key, Aws::String &&value)
ExperimentAction & WithEndTime(Aws::Utils::DateTime &&value)
ExperimentAction & AddParameters(const Aws::String &key, Aws::String &&value)
ExperimentAction & AddParameters(const char *key, const char *value)
ExperimentAction & AddTargets(const Aws::String &key, Aws::String &&value)
const Aws::String & GetActionId() const
ExperimentAction & AddTargets(Aws::String &&key, const Aws::String &value)
ExperimentAction & WithActionId(Aws::String &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
ExperimentAction & WithTargets(Aws::Map< Aws::String, Aws::String > &&value)
const ExperimentActionState & GetState() const
bool EndTimeHasBeenSet() const
ExperimentAction & WithStartTime(const 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