7#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace EMRServerless
52 template<
typename ClassificationT = Aws::String>
53 void SetClassification(ClassificationT&& value) { m_classificationHasBeenSet =
true; m_classification = std::forward<ClassificationT>(value); }
54 template<
typename ClassificationT = Aws::String>
64 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
65 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
66 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
68 template<
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
70 m_propertiesHasBeenSet =
true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
return *
this;
81 template<
typename ConfigurationsT = Aws::Vector<Configuration>>
82 void SetConfigurations(ConfigurationsT&& value) { m_configurationsHasBeenSet =
true; m_configurations = std::forward<ConfigurationsT>(value); }
83 template<
typename ConfigurationsT = Aws::Vector<Configuration>>
85 template<
typename ConfigurationsT = Configuration>
86 Configuration&
AddConfigurations(ConfigurationsT&& value) { m_configurationsHasBeenSet =
true; m_configurations.emplace_back(std::forward<ConfigurationsT>(value));
return *
this; }
91 bool m_classificationHasBeenSet =
false;
94 bool m_propertiesHasBeenSet =
false;
97 bool m_configurationsHasBeenSet =
false;
Configuration & WithConfigurations(ConfigurationsT &&value)
AWS_EMRSERVERLESS_API Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProperties(PropertiesT &&value)
const Aws::String & GetClassification() const
const Aws::Vector< Configuration > & GetConfigurations() const
void SetClassification(ClassificationT &&value)
void SetConfigurations(ConfigurationsT &&value)
bool ConfigurationsHasBeenSet() const
Configuration & WithProperties(PropertiesT &&value)
bool PropertiesHasBeenSet() const
AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMRSERVERLESS_API Configuration(Aws::Utils::Json::JsonView jsonValue)
AWS_EMRSERVERLESS_API Configuration()=default
Configuration & AddConfigurations(ConfigurationsT &&value)
bool ClassificationHasBeenSet() const
Configuration & WithClassification(ClassificationT &&value)
Configuration & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() 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