AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ComputeEnvironmentConfiguration.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/ComputeEnvironment.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/glue/model/AuthenticationType.h>
13#include <aws/glue/model/Property.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Glue
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_GLUE_API ComputeEnvironmentConfiguration() = default;
45
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 ComputeEnvironmentConfiguration& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetDescription() const { return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 template<typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
67 template<typename DescriptionT = Aws::String>
68 ComputeEnvironmentConfiguration& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
70
72
75 inline ComputeEnvironment GetComputeEnvironment() const { return m_computeEnvironment; }
76 inline bool ComputeEnvironmentHasBeenSet() const { return m_computeEnvironmentHasBeenSet; }
77 inline void SetComputeEnvironment(ComputeEnvironment value) { m_computeEnvironmentHasBeenSet = true; m_computeEnvironment = value; }
80
82
85 inline const Aws::Vector<AuthenticationType>& GetSupportedAuthenticationTypes() const { return m_supportedAuthenticationTypes; }
86 inline bool SupportedAuthenticationTypesHasBeenSet() const { return m_supportedAuthenticationTypesHasBeenSet; }
87 template<typename SupportedAuthenticationTypesT = Aws::Vector<AuthenticationType>>
88 void SetSupportedAuthenticationTypes(SupportedAuthenticationTypesT&& value) { m_supportedAuthenticationTypesHasBeenSet = true; m_supportedAuthenticationTypes = std::forward<SupportedAuthenticationTypesT>(value); }
89 template<typename SupportedAuthenticationTypesT = Aws::Vector<AuthenticationType>>
90 ComputeEnvironmentConfiguration& WithSupportedAuthenticationTypes(SupportedAuthenticationTypesT&& value) { SetSupportedAuthenticationTypes(std::forward<SupportedAuthenticationTypesT>(value)); return *this;}
91 inline ComputeEnvironmentConfiguration& AddSupportedAuthenticationTypes(AuthenticationType value) { m_supportedAuthenticationTypesHasBeenSet = true; m_supportedAuthenticationTypes.push_back(value); return *this; }
93
95
98 inline const Aws::Map<Aws::String, Property>& GetConnectionOptions() const { return m_connectionOptions; }
99 inline bool ConnectionOptionsHasBeenSet() const { return m_connectionOptionsHasBeenSet; }
100 template<typename ConnectionOptionsT = Aws::Map<Aws::String, Property>>
101 void SetConnectionOptions(ConnectionOptionsT&& value) { m_connectionOptionsHasBeenSet = true; m_connectionOptions = std::forward<ConnectionOptionsT>(value); }
102 template<typename ConnectionOptionsT = Aws::Map<Aws::String, Property>>
103 ComputeEnvironmentConfiguration& WithConnectionOptions(ConnectionOptionsT&& value) { SetConnectionOptions(std::forward<ConnectionOptionsT>(value)); return *this;}
104 template<typename ConnectionOptionsKeyT = Aws::String, typename ConnectionOptionsValueT = Property>
105 ComputeEnvironmentConfiguration& AddConnectionOptions(ConnectionOptionsKeyT&& key, ConnectionOptionsValueT&& value) {
106 m_connectionOptionsHasBeenSet = true; m_connectionOptions.emplace(std::forward<ConnectionOptionsKeyT>(key), std::forward<ConnectionOptionsValueT>(value)); return *this;
107 }
109
111
114 inline const Aws::Map<Aws::String, Aws::String>& GetConnectionPropertyNameOverrides() const { return m_connectionPropertyNameOverrides; }
115 inline bool ConnectionPropertyNameOverridesHasBeenSet() const { return m_connectionPropertyNameOverridesHasBeenSet; }
116 template<typename ConnectionPropertyNameOverridesT = Aws::Map<Aws::String, Aws::String>>
117 void SetConnectionPropertyNameOverrides(ConnectionPropertyNameOverridesT&& value) { m_connectionPropertyNameOverridesHasBeenSet = true; m_connectionPropertyNameOverrides = std::forward<ConnectionPropertyNameOverridesT>(value); }
118 template<typename ConnectionPropertyNameOverridesT = Aws::Map<Aws::String, Aws::String>>
119 ComputeEnvironmentConfiguration& WithConnectionPropertyNameOverrides(ConnectionPropertyNameOverridesT&& value) { SetConnectionPropertyNameOverrides(std::forward<ConnectionPropertyNameOverridesT>(value)); return *this;}
120 template<typename ConnectionPropertyNameOverridesKeyT = Aws::String, typename ConnectionPropertyNameOverridesValueT = Aws::String>
121 ComputeEnvironmentConfiguration& AddConnectionPropertyNameOverrides(ConnectionPropertyNameOverridesKeyT&& key, ConnectionPropertyNameOverridesValueT&& value) {
122 m_connectionPropertyNameOverridesHasBeenSet = true; m_connectionPropertyNameOverrides.emplace(std::forward<ConnectionPropertyNameOverridesKeyT>(key), std::forward<ConnectionPropertyNameOverridesValueT>(value)); return *this;
123 }
125
127
130 inline const Aws::Map<Aws::String, Aws::String>& GetConnectionOptionNameOverrides() const { return m_connectionOptionNameOverrides; }
131 inline bool ConnectionOptionNameOverridesHasBeenSet() const { return m_connectionOptionNameOverridesHasBeenSet; }
132 template<typename ConnectionOptionNameOverridesT = Aws::Map<Aws::String, Aws::String>>
133 void SetConnectionOptionNameOverrides(ConnectionOptionNameOverridesT&& value) { m_connectionOptionNameOverridesHasBeenSet = true; m_connectionOptionNameOverrides = std::forward<ConnectionOptionNameOverridesT>(value); }
134 template<typename ConnectionOptionNameOverridesT = Aws::Map<Aws::String, Aws::String>>
135 ComputeEnvironmentConfiguration& WithConnectionOptionNameOverrides(ConnectionOptionNameOverridesT&& value) { SetConnectionOptionNameOverrides(std::forward<ConnectionOptionNameOverridesT>(value)); return *this;}
136 template<typename ConnectionOptionNameOverridesKeyT = Aws::String, typename ConnectionOptionNameOverridesValueT = Aws::String>
137 ComputeEnvironmentConfiguration& AddConnectionOptionNameOverrides(ConnectionOptionNameOverridesKeyT&& key, ConnectionOptionNameOverridesValueT&& value) {
138 m_connectionOptionNameOverridesHasBeenSet = true; m_connectionOptionNameOverrides.emplace(std::forward<ConnectionOptionNameOverridesKeyT>(key), std::forward<ConnectionOptionNameOverridesValueT>(value)); return *this;
139 }
141
143
147 inline const Aws::Vector<Aws::String>& GetConnectionPropertiesRequiredOverrides() const { return m_connectionPropertiesRequiredOverrides; }
148 inline bool ConnectionPropertiesRequiredOverridesHasBeenSet() const { return m_connectionPropertiesRequiredOverridesHasBeenSet; }
149 template<typename ConnectionPropertiesRequiredOverridesT = Aws::Vector<Aws::String>>
150 void SetConnectionPropertiesRequiredOverrides(ConnectionPropertiesRequiredOverridesT&& value) { m_connectionPropertiesRequiredOverridesHasBeenSet = true; m_connectionPropertiesRequiredOverrides = std::forward<ConnectionPropertiesRequiredOverridesT>(value); }
151 template<typename ConnectionPropertiesRequiredOverridesT = Aws::Vector<Aws::String>>
152 ComputeEnvironmentConfiguration& WithConnectionPropertiesRequiredOverrides(ConnectionPropertiesRequiredOverridesT&& value) { SetConnectionPropertiesRequiredOverrides(std::forward<ConnectionPropertiesRequiredOverridesT>(value)); return *this;}
153 template<typename ConnectionPropertiesRequiredOverridesT = Aws::String>
154 ComputeEnvironmentConfiguration& AddConnectionPropertiesRequiredOverrides(ConnectionPropertiesRequiredOverridesT&& value) { m_connectionPropertiesRequiredOverridesHasBeenSet = true; m_connectionPropertiesRequiredOverrides.emplace_back(std::forward<ConnectionPropertiesRequiredOverridesT>(value)); return *this; }
156
158
162 inline bool GetPhysicalConnectionPropertiesRequired() const { return m_physicalConnectionPropertiesRequired; }
163 inline bool PhysicalConnectionPropertiesRequiredHasBeenSet() const { return m_physicalConnectionPropertiesRequiredHasBeenSet; }
164 inline void SetPhysicalConnectionPropertiesRequired(bool value) { m_physicalConnectionPropertiesRequiredHasBeenSet = true; m_physicalConnectionPropertiesRequired = value; }
167 private:
168
169 Aws::String m_name;
170 bool m_nameHasBeenSet = false;
171
172 Aws::String m_description;
173 bool m_descriptionHasBeenSet = false;
174
176 bool m_computeEnvironmentHasBeenSet = false;
177
178 Aws::Vector<AuthenticationType> m_supportedAuthenticationTypes;
179 bool m_supportedAuthenticationTypesHasBeenSet = false;
180
181 Aws::Map<Aws::String, Property> m_connectionOptions;
182 bool m_connectionOptionsHasBeenSet = false;
183
184 Aws::Map<Aws::String, Aws::String> m_connectionPropertyNameOverrides;
185 bool m_connectionPropertyNameOverridesHasBeenSet = false;
186
187 Aws::Map<Aws::String, Aws::String> m_connectionOptionNameOverrides;
188 bool m_connectionOptionNameOverridesHasBeenSet = false;
189
190 Aws::Vector<Aws::String> m_connectionPropertiesRequiredOverrides;
191 bool m_connectionPropertiesRequiredOverridesHasBeenSet = false;
192
193 bool m_physicalConnectionPropertiesRequired{false};
194 bool m_physicalConnectionPropertiesRequiredHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace Glue
199} // namespace Aws
ComputeEnvironmentConfiguration & WithComputeEnvironment(ComputeEnvironment value)
const Aws::Vector< Aws::String > & GetConnectionPropertiesRequiredOverrides() const
const Aws::Map< Aws::String, Property > & GetConnectionOptions() const
ComputeEnvironmentConfiguration & AddConnectionOptionNameOverrides(ConnectionOptionNameOverridesKeyT &&key, ConnectionOptionNameOverridesValueT &&value)
ComputeEnvironmentConfiguration & AddConnectionPropertiesRequiredOverrides(ConnectionPropertiesRequiredOverridesT &&value)
const Aws::Vector< AuthenticationType > & GetSupportedAuthenticationTypes() const
AWS_GLUE_API ComputeEnvironmentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API ComputeEnvironmentConfiguration(Aws::Utils::Json::JsonView jsonValue)
ComputeEnvironmentConfiguration & WithPhysicalConnectionPropertiesRequired(bool value)
ComputeEnvironmentConfiguration & WithDescription(DescriptionT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ComputeEnvironmentConfiguration & WithConnectionOptions(ConnectionOptionsT &&value)
ComputeEnvironmentConfiguration & AddConnectionPropertyNameOverrides(ConnectionPropertyNameOverridesKeyT &&key, ConnectionPropertyNameOverridesValueT &&value)
ComputeEnvironmentConfiguration & WithName(NameT &&value)
ComputeEnvironmentConfiguration & AddConnectionOptions(ConnectionOptionsKeyT &&key, ConnectionOptionsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetConnectionPropertyNameOverrides() const
void SetConnectionPropertyNameOverrides(ConnectionPropertyNameOverridesT &&value)
ComputeEnvironmentConfiguration & WithConnectionOptionNameOverrides(ConnectionOptionNameOverridesT &&value)
void SetConnectionOptionNameOverrides(ConnectionOptionNameOverridesT &&value)
ComputeEnvironmentConfiguration & WithConnectionPropertyNameOverrides(ConnectionPropertyNameOverridesT &&value)
void SetSupportedAuthenticationTypes(SupportedAuthenticationTypesT &&value)
ComputeEnvironmentConfiguration & WithSupportedAuthenticationTypes(SupportedAuthenticationTypesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetConnectionOptionNameOverrides() const
ComputeEnvironmentConfiguration & AddSupportedAuthenticationTypes(AuthenticationType value)
ComputeEnvironmentConfiguration & WithConnectionPropertiesRequiredOverrides(ConnectionPropertiesRequiredOverridesT &&value)
void SetConnectionPropertiesRequiredOverrides(ConnectionPropertiesRequiredOverridesT &&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