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/emr-containers/EMRContainers_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>
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 EMRContainers
24{
25namespace Model
26{
27
39 {
40 public:
41 AWS_EMRCONTAINERS_API Configuration();
42 AWS_EMRCONTAINERS_API Configuration(Aws::Utils::Json::JsonView jsonValue);
43 AWS_EMRCONTAINERS_API Configuration& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetClassification() const{ return m_classification; }
52 inline bool ClassificationHasBeenSet() const { return m_classificationHasBeenSet; }
53 inline void SetClassification(const Aws::String& value) { m_classificationHasBeenSet = true; m_classification = value; }
54 inline void SetClassification(Aws::String&& value) { m_classificationHasBeenSet = true; m_classification = std::move(value); }
55 inline void SetClassification(const char* value) { m_classificationHasBeenSet = true; m_classification.assign(value); }
56 inline Configuration& WithClassification(const Aws::String& value) { SetClassification(value); return *this;}
57 inline Configuration& WithClassification(Aws::String&& value) { SetClassification(std::move(value)); return *this;}
58 inline Configuration& WithClassification(const char* value) { SetClassification(value); return *this;}
60
62
65 inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const{ return m_properties; }
66 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
67 inline void SetProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_propertiesHasBeenSet = true; m_properties = value; }
68 inline void SetProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
70 inline Configuration& WithProperties(Aws::Map<Aws::String, Aws::String>&& value) { SetProperties(std::move(value)); return *this;}
71 inline Configuration& AddProperties(const Aws::String& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
72 inline Configuration& AddProperties(Aws::String&& key, const Aws::String& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
73 inline Configuration& AddProperties(const Aws::String& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
74 inline Configuration& AddProperties(Aws::String&& key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), std::move(value)); return *this; }
75 inline Configuration& AddProperties(const char* key, Aws::String&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
76 inline Configuration& AddProperties(Aws::String&& key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
77 inline Configuration& AddProperties(const char* key, const char* value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
79
81
85 inline const Aws::Vector<Configuration>& GetConfigurations() const{ return m_configurations; }
86 inline bool ConfigurationsHasBeenSet() const { return m_configurationsHasBeenSet; }
87 inline void SetConfigurations(const Aws::Vector<Configuration>& value) { m_configurationsHasBeenSet = true; m_configurations = value; }
88 inline void SetConfigurations(Aws::Vector<Configuration>&& value) { m_configurationsHasBeenSet = true; m_configurations = std::move(value); }
90 inline Configuration& WithConfigurations(Aws::Vector<Configuration>&& value) { SetConfigurations(std::move(value)); return *this;}
91 inline Configuration& AddConfigurations(const Configuration& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(value); return *this; }
92 inline Configuration& AddConfigurations(Configuration&& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(std::move(value)); return *this; }
94 private:
95
96 Aws::String m_classification;
97 bool m_classificationHasBeenSet = false;
98
100 bool m_propertiesHasBeenSet = false;
101
102 Aws::Vector<Configuration> m_configurations;
103 bool m_configurationsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace EMRContainers
108} // namespace Aws
Configuration & WithProperties(const Aws::Map< Aws::String, Aws::String > &value)
Configuration & AddConfigurations(Configuration &&value)
AWS_EMRCONTAINERS_API Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
Configuration & AddProperties(Aws::String &&key, const Aws::String &value)
Configuration & AddProperties(const Aws::String &key, Aws::String &&value)
Configuration & AddProperties(const char *key, Aws::String &&value)
const Aws::Vector< Configuration > & GetConfigurations() const
Configuration & WithClassification(const char *value)
Configuration & AddConfigurations(const Configuration &value)
Configuration & WithClassification(const Aws::String &value)
AWS_EMRCONTAINERS_API Configuration(Aws::Utils::Json::JsonView jsonValue)
Configuration & WithConfigurations(Aws::Vector< Configuration > &&value)
Configuration & WithConfigurations(const Aws::Vector< Configuration > &value)
void SetConfigurations(const Aws::Vector< Configuration > &value)
void SetConfigurations(Aws::Vector< Configuration > &&value)
const Aws::String & GetClassification() const
void SetProperties(Aws::Map< Aws::String, Aws::String > &&value)
Configuration & WithClassification(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
Configuration & AddProperties(const char *key, const char *value)
Configuration & WithProperties(Aws::Map< Aws::String, Aws::String > &&value)
Configuration & AddProperties(const Aws::String &key, const Aws::String &value)
void SetProperties(const Aws::Map< Aws::String, Aws::String > &value)
AWS_EMRCONTAINERS_API Configuration()
Configuration & AddProperties(Aws::String &&key, const char *value)
void SetClassification(const char *value)
void SetClassification(const Aws::String &value)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetClassification(Aws::String &&value)
Configuration & AddProperties(Aws::String &&key, Aws::String &&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