AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Configuration.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace EMR
24{
25namespace Model
26{
27
42 {
43 public:
44 AWS_EMR_API Configuration();
48
49
51
54 inline const Aws::String& GetClassification() const{ return m_classification; }
55 inline bool ClassificationHasBeenSet() const { return m_classificationHasBeenSet; }
56 inline void SetClassification(const Aws::String& value) { m_classificationHasBeenSet = true; m_classification = value; }
57 inline void SetClassification(Aws::String&& value) { m_classificationHasBeenSet = true; m_classification = std::move(value); }
58 inline void SetClassification(const char* value) { m_classificationHasBeenSet = true; m_classification.assign(value); }
59 inline Configuration& WithClassification(const Aws::String& value) { SetClassification(value); return *this;}
60 inline Configuration& WithClassification(Aws::String&& value) { SetClassification(std::move(value)); return *this;}
61 inline Configuration& WithClassification(const char* value) { SetClassification(value); return *this;}
63
65
69 inline const Aws::Vector<Configuration>& GetConfigurations() const{ return m_configurations; }
70 inline bool ConfigurationsHasBeenSet() const { return m_configurationsHasBeenSet; }
71 inline void SetConfigurations(const Aws::Vector<Configuration>& value) { m_configurationsHasBeenSet = true; m_configurations = value; }
72 inline void SetConfigurations(Aws::Vector<Configuration>&& value) { m_configurationsHasBeenSet = true; m_configurations = std::move(value); }
74 inline Configuration& WithConfigurations(Aws::Vector<Configuration>&& value) { SetConfigurations(std::move(value)); return *this;}
75 inline Configuration& AddConfigurations(const Configuration& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(value); return *this; }
76 inline Configuration& AddConfigurations(Configuration&& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(std::move(value)); return *this; }
78
80
83 inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const{ return m_properties; }
84 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
85 inline void SetProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_propertiesHasBeenSet = true; m_properties = value; }
86 inline void SetProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
88 inline Configuration& WithProperties(Aws::Map<Aws::String, Aws::String>&& value) { SetProperties(std::move(value)); return *this;}
89 inline Configuration& AddProperties(const Aws::String& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
90 inline Configuration& AddProperties(Aws::String&& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
91 inline Configuration& AddProperties(const Aws::String& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
92 inline Configuration& AddProperties(Aws::String&& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), std::move(value)); return *this; }
93 inline Configuration& AddProperties(const char* key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
94 inline Configuration& AddProperties(Aws::String&& key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
95 inline Configuration& AddProperties(const char* key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
97 private:
98
99 Aws::String m_classification;
100 bool m_classificationHasBeenSet = false;
101
102 Aws::Vector<Configuration> m_configurations;
103 bool m_configurationsHasBeenSet = false;
104
106 bool m_propertiesHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace EMR
111} // namespace Aws
AWS_EMR_API Configuration(Aws::Utils::Json::JsonView jsonValue)
Configuration & WithClassification(const Aws::String &value)
Configuration & AddProperties(Aws::String &&key, const Aws::String &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
Configuration & WithClassification(Aws::String &&value)
const Aws::Vector< Configuration > & GetConfigurations() const
const Aws::String & GetClassification() const
Configuration & AddProperties(Aws::String &&key, Aws::String &&value)
Configuration & AddConfigurations(Configuration &&value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
Configuration & WithConfigurations(Aws::Vector< Configuration > &&value)
Configuration & AddProperties(const char *key, const char *value)
Configuration & AddProperties(const Aws::String &key, const Aws::String &value)
void SetProperties(Aws::Map< Aws::String, Aws::String > &&value)
Configuration & AddProperties(Aws::String &&key, const char *value)
void SetClassification(const char *value)
void SetClassification(Aws::String &&value)
void SetClassification(const Aws::String &value)
Configuration & WithProperties(const Aws::Map< Aws::String, Aws::String > &value)
Configuration & AddConfigurations(const Configuration &value)
void SetConfigurations(Aws::Vector< Configuration > &&value)
Configuration & WithProperties(Aws::Map< Aws::String, Aws::String > &&value)
Configuration & AddProperties(const char *key, Aws::String &&value)
Configuration & WithConfigurations(const Aws::Vector< Configuration > &value)
Configuration & AddProperties(const Aws::String &key, Aws::String &&value)
void SetProperties(const Aws::Map< Aws::String, Aws::String > &value)
Configuration & WithClassification(const char *value)
void SetConfigurations(const Aws::Vector< Configuration > &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
Aws::Utils::Json::JsonValue JsonValue