AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ProfileConfiguration.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/ConfigurationObject.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 Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API ProfileConfiguration() = default;
41
42
44
47 inline const Aws::Map<Aws::String, ConfigurationObject>& GetSessionConfiguration() const { return m_sessionConfiguration; }
48 inline bool SessionConfigurationHasBeenSet() const { return m_sessionConfigurationHasBeenSet; }
49 template<typename SessionConfigurationT = Aws::Map<Aws::String, ConfigurationObject>>
50 void SetSessionConfiguration(SessionConfigurationT&& value) { m_sessionConfigurationHasBeenSet = true; m_sessionConfiguration = std::forward<SessionConfigurationT>(value); }
51 template<typename SessionConfigurationT = Aws::Map<Aws::String, ConfigurationObject>>
52 ProfileConfiguration& WithSessionConfiguration(SessionConfigurationT&& value) { SetSessionConfiguration(std::forward<SessionConfigurationT>(value)); return *this;}
53 template<typename SessionConfigurationKeyT = Aws::String, typename SessionConfigurationValueT = ConfigurationObject>
54 ProfileConfiguration& AddSessionConfiguration(SessionConfigurationKeyT&& key, SessionConfigurationValueT&& value) {
55 m_sessionConfigurationHasBeenSet = true; m_sessionConfiguration.emplace(std::forward<SessionConfigurationKeyT>(key), std::forward<SessionConfigurationValueT>(value)); return *this;
56 }
58
60
63 inline const Aws::Map<Aws::String, ConfigurationObject>& GetJobConfiguration() const { return m_jobConfiguration; }
64 inline bool JobConfigurationHasBeenSet() const { return m_jobConfigurationHasBeenSet; }
65 template<typename JobConfigurationT = Aws::Map<Aws::String, ConfigurationObject>>
66 void SetJobConfiguration(JobConfigurationT&& value) { m_jobConfigurationHasBeenSet = true; m_jobConfiguration = std::forward<JobConfigurationT>(value); }
67 template<typename JobConfigurationT = Aws::Map<Aws::String, ConfigurationObject>>
68 ProfileConfiguration& WithJobConfiguration(JobConfigurationT&& value) { SetJobConfiguration(std::forward<JobConfigurationT>(value)); return *this;}
69 template<typename JobConfigurationKeyT = Aws::String, typename JobConfigurationValueT = ConfigurationObject>
70 ProfileConfiguration& AddJobConfiguration(JobConfigurationKeyT&& key, JobConfigurationValueT&& value) {
71 m_jobConfigurationHasBeenSet = true; m_jobConfiguration.emplace(std::forward<JobConfigurationKeyT>(key), std::forward<JobConfigurationValueT>(value)); return *this;
72 }
74 private:
75
76 Aws::Map<Aws::String, ConfigurationObject> m_sessionConfiguration;
77 bool m_sessionConfigurationHasBeenSet = false;
78
80 bool m_jobConfigurationHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Glue
85} // 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