AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Capabilities.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/model/AuthenticationType.h>
10#include <aws/glue/model/DataOperation.h>
11#include <aws/glue/model/ComputeEnvironment.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Glue
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GLUE_API Capabilities() = default;
42
43
45
48 inline const Aws::Vector<AuthenticationType>& GetSupportedAuthenticationTypes() const { return m_supportedAuthenticationTypes; }
49 inline bool SupportedAuthenticationTypesHasBeenSet() const { return m_supportedAuthenticationTypesHasBeenSet; }
50 template<typename SupportedAuthenticationTypesT = Aws::Vector<AuthenticationType>>
51 void SetSupportedAuthenticationTypes(SupportedAuthenticationTypesT&& value) { m_supportedAuthenticationTypesHasBeenSet = true; m_supportedAuthenticationTypes = std::forward<SupportedAuthenticationTypesT>(value); }
52 template<typename SupportedAuthenticationTypesT = Aws::Vector<AuthenticationType>>
53 Capabilities& WithSupportedAuthenticationTypes(SupportedAuthenticationTypesT&& value) { SetSupportedAuthenticationTypes(std::forward<SupportedAuthenticationTypesT>(value)); return *this;}
54 inline Capabilities& AddSupportedAuthenticationTypes(AuthenticationType value) { m_supportedAuthenticationTypesHasBeenSet = true; m_supportedAuthenticationTypes.push_back(value); return *this; }
56
58
61 inline const Aws::Vector<DataOperation>& GetSupportedDataOperations() const { return m_supportedDataOperations; }
62 inline bool SupportedDataOperationsHasBeenSet() const { return m_supportedDataOperationsHasBeenSet; }
63 template<typename SupportedDataOperationsT = Aws::Vector<DataOperation>>
64 void SetSupportedDataOperations(SupportedDataOperationsT&& value) { m_supportedDataOperationsHasBeenSet = true; m_supportedDataOperations = std::forward<SupportedDataOperationsT>(value); }
65 template<typename SupportedDataOperationsT = Aws::Vector<DataOperation>>
66 Capabilities& WithSupportedDataOperations(SupportedDataOperationsT&& value) { SetSupportedDataOperations(std::forward<SupportedDataOperationsT>(value)); return *this;}
67 inline Capabilities& AddSupportedDataOperations(DataOperation value) { m_supportedDataOperationsHasBeenSet = true; m_supportedDataOperations.push_back(value); return *this; }
69
71
74 inline const Aws::Vector<ComputeEnvironment>& GetSupportedComputeEnvironments() const { return m_supportedComputeEnvironments; }
75 inline bool SupportedComputeEnvironmentsHasBeenSet() const { return m_supportedComputeEnvironmentsHasBeenSet; }
76 template<typename SupportedComputeEnvironmentsT = Aws::Vector<ComputeEnvironment>>
77 void SetSupportedComputeEnvironments(SupportedComputeEnvironmentsT&& value) { m_supportedComputeEnvironmentsHasBeenSet = true; m_supportedComputeEnvironments = std::forward<SupportedComputeEnvironmentsT>(value); }
78 template<typename SupportedComputeEnvironmentsT = Aws::Vector<ComputeEnvironment>>
79 Capabilities& WithSupportedComputeEnvironments(SupportedComputeEnvironmentsT&& value) { SetSupportedComputeEnvironments(std::forward<SupportedComputeEnvironmentsT>(value)); return *this;}
80 inline Capabilities& AddSupportedComputeEnvironments(ComputeEnvironment value) { m_supportedComputeEnvironmentsHasBeenSet = true; m_supportedComputeEnvironments.push_back(value); return *this; }
82 private:
83
84 Aws::Vector<AuthenticationType> m_supportedAuthenticationTypes;
85 bool m_supportedAuthenticationTypesHasBeenSet = false;
86
87 Aws::Vector<DataOperation> m_supportedDataOperations;
88 bool m_supportedDataOperationsHasBeenSet = false;
89
90 Aws::Vector<ComputeEnvironment> m_supportedComputeEnvironments;
91 bool m_supportedComputeEnvironmentsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Glue
96} // namespace Aws
AWS_GLUE_API Capabilities(Aws::Utils::Json::JsonView jsonValue)
Capabilities & WithSupportedAuthenticationTypes(SupportedAuthenticationTypesT &&value)
AWS_GLUE_API Capabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SupportedDataOperationsHasBeenSet() const
const Aws::Vector< DataOperation > & GetSupportedDataOperations() const
Capabilities & AddSupportedComputeEnvironments(ComputeEnvironment value)
void SetSupportedDataOperations(SupportedDataOperationsT &&value)
Capabilities & WithSupportedDataOperations(SupportedDataOperationsT &&value)
bool SupportedAuthenticationTypesHasBeenSet() const
bool SupportedComputeEnvironmentsHasBeenSet() const
void SetSupportedComputeEnvironments(SupportedComputeEnvironmentsT &&value)
void SetSupportedAuthenticationTypes(SupportedAuthenticationTypesT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Capabilities & AddSupportedDataOperations(DataOperation value)
const Aws::Vector< ComputeEnvironment > & GetSupportedComputeEnvironments() const
Capabilities & AddSupportedAuthenticationTypes(AuthenticationType value)
const Aws::Vector< AuthenticationType > & GetSupportedAuthenticationTypes() const
AWS_GLUE_API Capabilities()=default
Capabilities & WithSupportedComputeEnvironments(SupportedComputeEnvironmentsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue