7#include <aws/elasticmapreduce/EMR_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>
56 template<
typename ClassificationT = Aws::String>
57 void SetClassification(ClassificationT&& value) { m_classificationHasBeenSet =
true; m_classification = std::forward<ClassificationT>(value); }
58 template<
typename ClassificationT = Aws::String>
69 template<
typename ConfigurationsT = Aws::Vector<Configuration>>
70 void SetConfigurations(ConfigurationsT&& value) { m_configurationsHasBeenSet =
true; m_configurations = std::forward<ConfigurationsT>(value); }
71 template<
typename ConfigurationsT = Aws::Vector<Configuration>>
73 template<
typename ConfigurationsT = Configuration>
74 Configuration&
AddConfigurations(ConfigurationsT&& value) { m_configurationsHasBeenSet =
true; m_configurations.emplace_back(std::forward<ConfigurationsT>(value));
return *
this; }
83 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
84 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
85 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
87 template<
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
89 m_propertiesHasBeenSet =
true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
return *
this;
95 bool m_classificationHasBeenSet =
false;
98 bool m_configurationsHasBeenSet =
false;
101 bool m_propertiesHasBeenSet =
false;
AWS_EMR_API Configuration(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Configuration > & GetConfigurations() const
const Aws::String & GetClassification() const
Configuration & AddConfigurations(ConfigurationsT &&value)
Configuration & WithClassification(ClassificationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
Configuration & WithConfigurations(ConfigurationsT &&value)
bool ClassificationHasBeenSet() const
Configuration & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
bool ConfigurationsHasBeenSet() const
Configuration & WithProperties(PropertiesT &&value)
void SetConfigurations(ConfigurationsT &&value)
void SetProperties(PropertiesT &&value)
void SetClassification(ClassificationT &&value)
AWS_EMR_API Configuration()=default
bool PropertiesHasBeenSet() 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
Aws::Utils::Json::JsonValue JsonValue