7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/controltower/ControlTowerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/controltower/model/EnabledControlParameter.h>
50 inline void SetControlIdentifier(
const char* value) { m_controlIdentifierHasBeenSet =
true; m_controlIdentifier.assign(value); }
87 inline EnableControlRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
101 inline void SetTargetIdentifier(
const char* value) { m_targetIdentifierHasBeenSet =
true; m_targetIdentifier.assign(value); }
109 bool m_controlIdentifierHasBeenSet =
false;
112 bool m_parametersHasBeenSet =
false;
115 bool m_tagsHasBeenSet =
false;
118 bool m_targetIdentifierHasBeenSet =
false;
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
EnableControlRequest & AddTags(Aws::String &&key, const char *value)
EnableControlRequest & WithControlIdentifier(Aws::String &&value)
bool ControlIdentifierHasBeenSet() const
const Aws::String & GetControlIdentifier() const
void SetControlIdentifier(Aws::String &&value)
EnableControlRequest & WithParameters(Aws::Vector< EnabledControlParameter > &&value)
void SetControlIdentifier(const char *value)
virtual const char * GetServiceRequestName() const override
EnableControlRequest & WithTargetIdentifier(Aws::String &&value)
bool TargetIdentifierHasBeenSet() const
AWS_CONTROLTOWER_API EnableControlRequest()
const Aws::Vector< EnabledControlParameter > & GetParameters() const
EnableControlRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
EnableControlRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTargetIdentifier(Aws::String &&value)
EnableControlRequest & WithParameters(const Aws::Vector< EnabledControlParameter > &value)
AWS_CONTROLTOWER_API Aws::String SerializePayload() const override
EnableControlRequest & WithControlIdentifier(const char *value)
EnableControlRequest & WithTargetIdentifier(const Aws::String &value)
void SetControlIdentifier(const Aws::String &value)
EnableControlRequest & AddTags(const Aws::String &key, const Aws::String &value)
EnableControlRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetParameters(Aws::Vector< EnabledControlParameter > &&value)
void SetParameters(const Aws::Vector< EnabledControlParameter > &value)
EnableControlRequest & WithControlIdentifier(const Aws::String &value)
EnableControlRequest & AddTags(const char *key, const char *value)
EnableControlRequest & WithTargetIdentifier(const char *value)
EnableControlRequest & AddParameters(EnabledControlParameter &&value)
void SetTargetIdentifier(const Aws::String &value)
EnableControlRequest & AddTags(const Aws::String &key, Aws::String &&value)
EnableControlRequest & AddTags(Aws::String &&key, const Aws::String &value)
bool ParametersHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
EnableControlRequest & AddParameters(const EnabledControlParameter &value)
const Aws::String & GetTargetIdentifier() const
EnableControlRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTargetIdentifier(const char *value)
bool TagsHasBeenSet() 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
std::vector< T, Aws::Allocator< T > > Vector