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/fis/model/ActionParameter.h>
11#include <aws/fis/model/ActionTarget.h>
53 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
54 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
67 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
68 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
82 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
120 inline Action&
AddTargets(
const char* key,
ActionTarget&& value) { m_targetsHasBeenSet =
true; m_targets.emplace(key, std::move(value));
return *
this; }
138 inline Action&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
139 inline Action&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
140 inline Action&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
145 bool m_idHasBeenSet =
false;
148 bool m_arnHasBeenSet =
false;
151 bool m_descriptionHasBeenSet =
false;
154 bool m_parametersHasBeenSet =
false;
157 bool m_targetsHasBeenSet =
false;
160 bool m_tagsHasBeenSet =
false;
Action & WithDescription(const char *value)
Action & AddParameters(const Aws::String &key, const ActionParameter &value)
Action & AddTargets(const Aws::String &key, const ActionTarget &value)
Action & AddParameters(const char *key, const ActionParameter &value)
const Aws::Map< Aws::String, ActionParameter > & GetParameters() const
void SetId(const char *value)
Action & AddTags(const char *key, Aws::String &&value)
Action & AddTargets(const char *key, const ActionTarget &value)
void SetId(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Action & AddTargets(const char *key, ActionTarget &&value)
Action & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetArn(const Aws::String &value)
Action & AddParameters(const char *key, ActionParameter &&value)
void SetTargets(const Aws::Map< Aws::String, ActionTarget > &value)
Action & AddParameters(Aws::String &&key, const ActionParameter &value)
Action & WithId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Action & AddTags(const Aws::String &key, const Aws::String &value)
void SetId(const Aws::String &value)
Action & AddParameters(const Aws::String &key, ActionParameter &&value)
bool IdHasBeenSet() const
bool TagsHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetTargets(Aws::Map< Aws::String, ActionTarget > &&value)
Action & WithArn(const Aws::String &value)
Action & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetArn() const
Action & WithDescription(Aws::String &&value)
Action & AddTags(Aws::String &&key, Aws::String &&value)
void SetParameters(const Aws::Map< Aws::String, ActionParameter > &value)
const Aws::String & GetDescription() const
Action & AddTargets(const Aws::String &key, ActionTarget &&value)
Action & AddParameters(Aws::String &&key, ActionParameter &&value)
Action & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ParametersHasBeenSet() const
Action & WithId(Aws::String &&value)
void SetParameters(Aws::Map< Aws::String, ActionParameter > &&value)
Action & WithArn(Aws::String &&value)
void SetArn(const char *value)
void SetArn(Aws::String &&value)
Action & WithTargets(const Aws::Map< Aws::String, ActionTarget > &value)
void SetDescription(const Aws::String &value)
Action & WithDescription(const Aws::String &value)
Action & AddTargets(Aws::String &&key, ActionTarget &&value)
void SetDescription(Aws::String &&value)
Action & AddTags(const char *key, const char *value)
Action & AddTargets(Aws::String &&key, const ActionTarget &value)
AWS_FIS_API Action(Aws::Utils::Json::JsonView jsonValue)
bool TargetsHasBeenSet() const
bool ArnHasBeenSet() const
Action & WithTargets(Aws::Map< Aws::String, ActionTarget > &&value)
Action & WithArn(const char *value)
void SetDescription(const char *value)
const Aws::Map< Aws::String, ActionTarget > & GetTargets() const
Action & AddTags(const Aws::String &key, Aws::String &&value)
AWS_FIS_API Action & operator=(Aws::Utils::Json::JsonView jsonValue)
Action & WithParameters(const Aws::Map< Aws::String, ActionParameter > &value)
const Aws::String & GetId() const
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
Action & AddTags(Aws::String &&key, const Aws::String &value)
Action & WithId(const char *value)
Action & WithParameters(Aws::Map< Aws::String, ActionParameter > &&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