7#include <aws/controltower/ControlTowerRequest.h>
8#include <aws/controltower/ControlTower_EXPORTS.h>
9#include <aws/controltower/model/EnabledBaselineParameter.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17namespace ControlTower {
40 template <
typename BaselineVersionT = Aws::String>
42 m_baselineVersionHasBeenSet =
true;
43 m_baselineVersion = std::forward<BaselineVersionT>(value);
45 template <
typename BaselineVersionT = Aws::String>
60 template <
typename ParametersT = Aws::Vector<EnabledBaselineParameter>>
62 m_parametersHasBeenSet =
true;
63 m_parameters = std::forward<ParametersT>(value);
65 template <
typename ParametersT = Aws::Vector<EnabledBaselineParameter>>
70 template <
typename ParametersT = EnabledBaselineParameter>
72 m_parametersHasBeenSet =
true;
73 m_parameters.emplace_back(std::forward<ParametersT>(value));
84 template <
typename BaselineIdentifierT = Aws::String>
86 m_baselineIdentifierHasBeenSet =
true;
87 m_baselineIdentifier = std::forward<BaselineIdentifierT>(value);
89 template <
typename BaselineIdentifierT = Aws::String>
103 template <
typename TargetIdentifierT = Aws::String>
105 m_targetIdentifierHasBeenSet =
true;
106 m_targetIdentifier = std::forward<TargetIdentifierT>(value);
108 template <
typename TargetIdentifierT = Aws::String>
121 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
123 m_tagsHasBeenSet =
true;
124 m_tags = std::forward<TagsT>(value);
126 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 SetTags(std::forward<TagsT>(value));
131 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
133 m_tagsHasBeenSet =
true;
134 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
148 bool m_baselineVersionHasBeenSet =
false;
149 bool m_parametersHasBeenSet =
false;
150 bool m_baselineIdentifierHasBeenSet =
false;
151 bool m_targetIdentifierHasBeenSet =
false;
152 bool m_tagsHasBeenSet =
false;
const Aws::String & GetBaselineVersion() const
void SetBaselineVersion(BaselineVersionT &&value)
void SetBaselineIdentifier(BaselineIdentifierT &&value)
const Aws::Vector< EnabledBaselineParameter > & GetParameters() const
EnableBaselineRequest & WithParameters(ParametersT &&value)
bool TargetIdentifierHasBeenSet() const
bool BaselineVersionHasBeenSet() const
void SetTargetIdentifier(TargetIdentifierT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
EnableBaselineRequest & WithBaselineVersion(BaselineVersionT &&value)
bool ParametersHasBeenSet() const
virtual const char * GetServiceRequestName() const override
EnableBaselineRequest & WithBaselineIdentifier(BaselineIdentifierT &&value)
EnableBaselineRequest & WithTargetIdentifier(TargetIdentifierT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetTargetIdentifier() const
const Aws::String & GetBaselineIdentifier() const
bool TagsHasBeenSet() const
AWS_CONTROLTOWER_API EnableBaselineRequest()=default
bool BaselineIdentifierHasBeenSet() const
EnableBaselineRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetParameters(ParametersT &&value)
EnableBaselineRequest & AddParameters(ParametersT &&value)
AWS_CONTROLTOWER_API Aws::String SerializePayload() const override
EnableBaselineRequest & WithTags(TagsT &&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