AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BatchGetTableOptimizerResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/BatchGetTableOptimizerError.h>
11#include <aws/glue/model/BatchTableOptimizer.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Glue {
25namespace Model {
27 public:
28 AWS_GLUE_API BatchGetTableOptimizerResult() = default;
31
33
36 inline const Aws::Vector<BatchTableOptimizer>& GetTableOptimizers() const { return m_tableOptimizers; }
37 template <typename TableOptimizersT = Aws::Vector<BatchTableOptimizer>>
38 void SetTableOptimizers(TableOptimizersT&& value) {
39 m_tableOptimizersHasBeenSet = true;
40 m_tableOptimizers = std::forward<TableOptimizersT>(value);
41 }
42 template <typename TableOptimizersT = Aws::Vector<BatchTableOptimizer>>
44 SetTableOptimizers(std::forward<TableOptimizersT>(value));
45 return *this;
46 }
47 template <typename TableOptimizersT = BatchTableOptimizer>
49 m_tableOptimizersHasBeenSet = true;
50 m_tableOptimizers.emplace_back(std::forward<TableOptimizersT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<BatchGetTableOptimizerError>& GetFailures() const { return m_failures; }
60 template <typename FailuresT = Aws::Vector<BatchGetTableOptimizerError>>
61 void SetFailures(FailuresT&& value) {
62 m_failuresHasBeenSet = true;
63 m_failures = std::forward<FailuresT>(value);
64 }
65 template <typename FailuresT = Aws::Vector<BatchGetTableOptimizerError>>
67 SetFailures(std::forward<FailuresT>(value));
68 return *this;
69 }
70 template <typename FailuresT = BatchGetTableOptimizerError>
72 m_failuresHasBeenSet = true;
73 m_failures.emplace_back(std::forward<FailuresT>(value));
74 return *this;
75 }
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template <typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) {
83 m_requestIdHasBeenSet = true;
84 m_requestId = std::forward<RequestIdT>(value);
85 }
86 template <typename RequestIdT = Aws::String>
88 SetRequestId(std::forward<RequestIdT>(value));
89 return *this;
90 }
92 private:
93 Aws::Vector<BatchTableOptimizer> m_tableOptimizers;
94
96
97 Aws::String m_requestId;
98 bool m_tableOptimizersHasBeenSet = false;
99 bool m_failuresHasBeenSet = false;
100 bool m_requestIdHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace Glue
105} // namespace Aws
BatchGetTableOptimizerResult & WithRequestId(RequestIdT &&value)
AWS_GLUE_API BatchGetTableOptimizerResult()=default
const Aws::Vector< BatchTableOptimizer > & GetTableOptimizers() const
BatchGetTableOptimizerResult & AddFailures(FailuresT &&value)
AWS_GLUE_API BatchGetTableOptimizerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLUE_API BatchGetTableOptimizerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BatchGetTableOptimizerError > & GetFailures() const
BatchGetTableOptimizerResult & WithTableOptimizers(TableOptimizersT &&value)
BatchGetTableOptimizerResult & AddTableOptimizers(TableOptimizersT &&value)
BatchGetTableOptimizerResult & WithFailures(FailuresT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue