7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/clouddirectory/model/RuleType.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace CloudDirectory
37 AWS_CLOUDDIRECTORY_API
Rule();
49 inline void SetType(
const RuleType& value) { m_typeHasBeenSet =
true; m_type = value; }
50 inline void SetType(
RuleType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
69 inline Rule&
AddParameters(
const char* key,
Aws::String&& value) { m_parametersHasBeenSet =
true; m_parameters.emplace(key, std::move(value));
return *
this; }
70 inline Rule&
AddParameters(
Aws::String&& key,
const char* value) { m_parametersHasBeenSet =
true; m_parameters.emplace(std::move(key), value);
return *
this; }
71 inline Rule&
AddParameters(
const char* key,
const char* value) { m_parametersHasBeenSet =
true; m_parameters.emplace(key, value);
return *
this; }
76 bool m_typeHasBeenSet =
false;
79 bool m_parametersHasBeenSet =
false;
Rule & AddParameters(Aws::String &&key, const Aws::String &value)
AWS_CLOUDDIRECTORY_API Rule()
Rule & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
Rule & AddParameters(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
Rule & AddParameters(Aws::String &&key, const char *value)
Rule & AddParameters(const Aws::String &key, const Aws::String &value)
void SetType(RuleType &&value)
Rule & WithType(const RuleType &value)
Rule & AddParameters(const char *key, const char *value)
Rule & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
bool TypeHasBeenSet() const
void SetType(const RuleType &value)
bool ParametersHasBeenSet() const
Rule & AddParameters(const Aws::String &key, Aws::String &&value)
Rule & WithType(RuleType &&value)
AWS_CLOUDDIRECTORY_API Rule(Aws::Utils::Json::JsonView jsonValue)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
Rule & AddParameters(const char *key, Aws::String &&value)
AWS_CLOUDDIRECTORY_API Rule & operator=(Aws::Utils::Json::JsonView jsonValue)
const RuleType & GetType() const
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