AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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