AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
Capabilities.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/AuthenticationType.h>
10#include <aws/glue/model/ComputeEnvironment.h>
11#include <aws/glue/model/DataOperation.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue {
23namespace Model {
24
32 public:
33 AWS_GLUE_API Capabilities() = default;
37
39
42 inline const Aws::Vector<AuthenticationType>& GetSupportedAuthenticationTypes() const { return m_supportedAuthenticationTypes; }
43 inline bool SupportedAuthenticationTypesHasBeenSet() const { return m_supportedAuthenticationTypesHasBeenSet; }
44 template <typename SupportedAuthenticationTypesT = Aws::Vector<AuthenticationType>>
45 void SetSupportedAuthenticationTypes(SupportedAuthenticationTypesT&& value) {
46 m_supportedAuthenticationTypesHasBeenSet = true;
47 m_supportedAuthenticationTypes = std::forward<SupportedAuthenticationTypesT>(value);
48 }
49 template <typename SupportedAuthenticationTypesT = Aws::Vector<AuthenticationType>>
50 Capabilities& WithSupportedAuthenticationTypes(SupportedAuthenticationTypesT&& value) {
51 SetSupportedAuthenticationTypes(std::forward<SupportedAuthenticationTypesT>(value));
52 return *this;
53 }
55 m_supportedAuthenticationTypesHasBeenSet = true;
56 m_supportedAuthenticationTypes.push_back(value);
57 return *this;
58 }
60
62
65 inline const Aws::Vector<DataOperation>& GetSupportedDataOperations() const { return m_supportedDataOperations; }
66 inline bool SupportedDataOperationsHasBeenSet() const { return m_supportedDataOperationsHasBeenSet; }
67 template <typename SupportedDataOperationsT = Aws::Vector<DataOperation>>
68 void SetSupportedDataOperations(SupportedDataOperationsT&& value) {
69 m_supportedDataOperationsHasBeenSet = true;
70 m_supportedDataOperations = std::forward<SupportedDataOperationsT>(value);
71 }
72 template <typename SupportedDataOperationsT = Aws::Vector<DataOperation>>
73 Capabilities& WithSupportedDataOperations(SupportedDataOperationsT&& value) {
74 SetSupportedDataOperations(std::forward<SupportedDataOperationsT>(value));
75 return *this;
76 }
78 m_supportedDataOperationsHasBeenSet = true;
79 m_supportedDataOperations.push_back(value);
80 return *this;
81 }
83
85
88 inline const Aws::Vector<ComputeEnvironment>& GetSupportedComputeEnvironments() const { return m_supportedComputeEnvironments; }
89 inline bool SupportedComputeEnvironmentsHasBeenSet() const { return m_supportedComputeEnvironmentsHasBeenSet; }
90 template <typename SupportedComputeEnvironmentsT = Aws::Vector<ComputeEnvironment>>
91 void SetSupportedComputeEnvironments(SupportedComputeEnvironmentsT&& value) {
92 m_supportedComputeEnvironmentsHasBeenSet = true;
93 m_supportedComputeEnvironments = std::forward<SupportedComputeEnvironmentsT>(value);
94 }
95 template <typename SupportedComputeEnvironmentsT = Aws::Vector<ComputeEnvironment>>
96 Capabilities& WithSupportedComputeEnvironments(SupportedComputeEnvironmentsT&& value) {
97 SetSupportedComputeEnvironments(std::forward<SupportedComputeEnvironmentsT>(value));
98 return *this;
99 }
101 m_supportedComputeEnvironmentsHasBeenSet = true;
102 m_supportedComputeEnvironments.push_back(value);
103 return *this;
104 }
106 private:
107 Aws::Vector<AuthenticationType> m_supportedAuthenticationTypes;
108
109 Aws::Vector<DataOperation> m_supportedDataOperations;
110
111 Aws::Vector<ComputeEnvironment> m_supportedComputeEnvironments;
112 bool m_supportedAuthenticationTypesHasBeenSet = false;
113 bool m_supportedDataOperationsHasBeenSet = false;
114 bool m_supportedComputeEnvironmentsHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace Glue
119} // 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