AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ProfileConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/ConfigurationObject.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue {
22namespace Model {
23
31 public:
32 AWS_GLUE_API ProfileConfiguration() = default;
36
38
41 inline const Aws::Map<Aws::String, ConfigurationObject>& GetSessionConfiguration() const { return m_sessionConfiguration; }
42 inline bool SessionConfigurationHasBeenSet() const { return m_sessionConfigurationHasBeenSet; }
43 template <typename SessionConfigurationT = Aws::Map<Aws::String, ConfigurationObject>>
44 void SetSessionConfiguration(SessionConfigurationT&& value) {
45 m_sessionConfigurationHasBeenSet = true;
46 m_sessionConfiguration = std::forward<SessionConfigurationT>(value);
47 }
48 template <typename SessionConfigurationT = Aws::Map<Aws::String, ConfigurationObject>>
49 ProfileConfiguration& WithSessionConfiguration(SessionConfigurationT&& value) {
50 SetSessionConfiguration(std::forward<SessionConfigurationT>(value));
51 return *this;
52 }
53 template <typename SessionConfigurationKeyT = Aws::String, typename SessionConfigurationValueT = ConfigurationObject>
54 ProfileConfiguration& AddSessionConfiguration(SessionConfigurationKeyT&& key, SessionConfigurationValueT&& value) {
55 m_sessionConfigurationHasBeenSet = true;
56 m_sessionConfiguration.emplace(std::forward<SessionConfigurationKeyT>(key), std::forward<SessionConfigurationValueT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::Map<Aws::String, ConfigurationObject>& GetJobConfiguration() const { return m_jobConfiguration; }
66 inline bool JobConfigurationHasBeenSet() const { return m_jobConfigurationHasBeenSet; }
67 template <typename JobConfigurationT = Aws::Map<Aws::String, ConfigurationObject>>
68 void SetJobConfiguration(JobConfigurationT&& value) {
69 m_jobConfigurationHasBeenSet = true;
70 m_jobConfiguration = std::forward<JobConfigurationT>(value);
71 }
72 template <typename JobConfigurationT = Aws::Map<Aws::String, ConfigurationObject>>
73 ProfileConfiguration& WithJobConfiguration(JobConfigurationT&& value) {
74 SetJobConfiguration(std::forward<JobConfigurationT>(value));
75 return *this;
76 }
77 template <typename JobConfigurationKeyT = Aws::String, typename JobConfigurationValueT = ConfigurationObject>
78 ProfileConfiguration& AddJobConfiguration(JobConfigurationKeyT&& key, JobConfigurationValueT&& value) {
79 m_jobConfigurationHasBeenSet = true;
80 m_jobConfiguration.emplace(std::forward<JobConfigurationKeyT>(key), std::forward<JobConfigurationValueT>(value));
81 return *this;
82 }
84 private:
85 Aws::Map<Aws::String, ConfigurationObject> m_sessionConfiguration;
86
88 bool m_sessionConfigurationHasBeenSet = false;
89 bool m_jobConfigurationHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace Glue
94} // namespace Aws
void SetJobConfiguration(JobConfigurationT &&value)
const Aws::Map< Aws::String, ConfigurationObject > & GetJobConfiguration() const
ProfileConfiguration & AddJobConfiguration(JobConfigurationKeyT &&key, JobConfigurationValueT &&value)
ProfileConfiguration & WithJobConfiguration(JobConfigurationT &&value)
AWS_GLUE_API ProfileConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API ProfileConfiguration()=default
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API ProfileConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, ConfigurationObject > & GetSessionConfiguration() const
ProfileConfiguration & AddSessionConfiguration(SessionConfigurationKeyT &&key, SessionConfigurationValueT &&value)
ProfileConfiguration & WithSessionConfiguration(SessionConfigurationT &&value)
void SetSessionConfiguration(SessionConfigurationT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue