AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CustomIndicesInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
9#include <aws/sagemaker-geospatial/model/Operation.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMakerGeospatial {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKERGEOSPATIAL_API CustomIndicesInput() = default;
32 AWS_SAGEMAKERGEOSPATIAL_API CustomIndicesInput(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKERGEOSPATIAL_API CustomIndicesInput& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Operation>& GetOperations() const { return m_operations; }
41 inline bool OperationsHasBeenSet() const { return m_operationsHasBeenSet; }
42 template <typename OperationsT = Aws::Vector<Operation>>
43 void SetOperations(OperationsT&& value) {
44 m_operationsHasBeenSet = true;
45 m_operations = std::forward<OperationsT>(value);
46 }
47 template <typename OperationsT = Aws::Vector<Operation>>
48 CustomIndicesInput& WithOperations(OperationsT&& value) {
49 SetOperations(std::forward<OperationsT>(value));
50 return *this;
51 }
52 template <typename OperationsT = Operation>
53 CustomIndicesInput& AddOperations(OperationsT&& value) {
54 m_operationsHasBeenSet = true;
55 m_operations.emplace_back(std::forward<OperationsT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<Operation> m_operations;
61 bool m_operationsHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace SageMakerGeospatial
66} // namespace Aws
CustomIndicesInput & WithOperations(OperationsT &&value)
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKERGEOSPATIAL_API CustomIndicesInput(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERGEOSPATIAL_API CustomIndicesInput()=default
const Aws::Vector< Operation > & GetOperations() const
AWS_SAGEMAKERGEOSPATIAL_API CustomIndicesInput & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomIndicesInput & AddOperations(OperationsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue