7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/fis/model/ExperimentTargetFilter.h>
51 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
88 inline ExperimentTarget&
AddResourceTags(
const char* key,
const char* value) { m_resourceTagsHasBeenSet =
true; m_resourceTags.emplace(key, value);
return *
this; }
114 inline void SetSelectionMode(
const char* value) { m_selectionModeHasBeenSet =
true; m_selectionMode.assign(value); }
136 inline ExperimentTarget&
AddParameters(
const char* key,
const char* value) { m_parametersHasBeenSet =
true; m_parameters.emplace(key, value);
return *
this; }
141 bool m_resourceTypeHasBeenSet =
false;
144 bool m_resourceArnsHasBeenSet =
false;
147 bool m_resourceTagsHasBeenSet =
false;
150 bool m_filtersHasBeenSet =
false;
153 bool m_selectionModeHasBeenSet =
false;
156 bool m_parametersHasBeenSet =
false;
ExperimentTarget & WithFilters(Aws::Vector< ExperimentTargetFilter > &&value)
const Aws::Vector< Aws::String > & GetResourceArns() const
void SetResourceArns(Aws::Vector< Aws::String > &&value)
bool ResourceArnsHasBeenSet() const
ExperimentTarget & AddParameters(Aws::String &&key, Aws::String &&value)
const Aws::Vector< ExperimentTargetFilter > & GetFilters() const
void SetResourceTags(Aws::Map< Aws::String, Aws::String > &&value)
ExperimentTarget & WithSelectionMode(Aws::String &&value)
ExperimentTarget & WithResourceType(Aws::String &&value)
ExperimentTarget & AddFilters(const ExperimentTargetFilter &value)
ExperimentTarget & WithSelectionMode(const char *value)
void SetFilters(const Aws::Vector< ExperimentTargetFilter > &value)
ExperimentTarget & WithFilters(const Aws::Vector< ExperimentTargetFilter > &value)
ExperimentTarget & AddParameters(Aws::String &&key, const Aws::String &value)
ExperimentTarget & WithResourceTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_FIS_API ExperimentTarget()
ExperimentTarget & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
ExperimentTarget & AddResourceArns(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
const Aws::String & GetResourceType() const
ExperimentTarget & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
ExperimentTarget & WithResourceType(const Aws::String &value)
bool ResourceTypeHasBeenSet() const
void SetFilters(Aws::Vector< ExperimentTargetFilter > &&value)
bool FiltersHasBeenSet() const
ExperimentTarget & AddParameters(const Aws::String &key, Aws::String &&value)
void SetSelectionMode(const Aws::String &value)
ExperimentTarget & AddParameters(Aws::String &&key, const char *value)
ExperimentTarget & AddFilters(ExperimentTargetFilter &&value)
ExperimentTarget & AddResourceTags(const Aws::String &key, const Aws::String &value)
ExperimentTarget & WithResourceType(const char *value)
ExperimentTarget & AddParameters(const Aws::String &key, const Aws::String &value)
ExperimentTarget & AddResourceTags(Aws::String &&key, const Aws::String &value)
ExperimentTarget & AddResourceTags(Aws::String &&key, Aws::String &&value)
bool SelectionModeHasBeenSet() const
bool ResourceTagsHasBeenSet() const
const Aws::String & GetSelectionMode() const
ExperimentTarget & AddResourceTags(Aws::String &&key, const char *value)
void SetSelectionMode(const char *value)
ExperimentTarget & AddParameters(const char *key, const char *value)
ExperimentTarget & WithResourceTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetResourceType(Aws::String &&value)
ExperimentTarget & WithResourceArns(const Aws::Vector< Aws::String > &value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIS_API ExperimentTarget(Aws::Utils::Json::JsonView jsonValue)
ExperimentTarget & AddResourceTags(const char *key, Aws::String &&value)
ExperimentTarget & WithResourceArns(Aws::Vector< Aws::String > &&value)
void SetResourceType(const char *value)
AWS_FIS_API ExperimentTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
ExperimentTarget & AddResourceTags(const Aws::String &key, Aws::String &&value)
ExperimentTarget & AddResourceTags(const char *key, const char *value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetResourceTags(const Aws::Map< Aws::String, Aws::String > &value)
ExperimentTarget & AddResourceArns(const Aws::String &value)
bool ParametersHasBeenSet() const
void SetResourceArns(const Aws::Vector< Aws::String > &value)
void SetResourceType(const Aws::String &value)
ExperimentTarget & AddParameters(const char *key, Aws::String &&value)
void SetSelectionMode(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetResourceTags() const
ExperimentTarget & WithSelectionMode(const Aws::String &value)
ExperimentTarget & AddResourceArns(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