AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetOperations(const Aws::Vector<Operation>& value) { m_operationsHasBeenSet = true; m_operations = value; }
49 inline void SetOperations(Aws::Vector<Operation>&& value) { m_operationsHasBeenSet = true; m_operations = std::move(value); }
50 inline CustomIndicesInput& WithOperations(const Aws::Vector<Operation>& value) { SetOperations(value); return *this;}
51 inline CustomIndicesInput& WithOperations(Aws::Vector<Operation>&& value) { SetOperations(std::move(value)); return *this;}
52 inline CustomIndicesInput& AddOperations(const Operation& value) { m_operationsHasBeenSet = true; m_operations.push_back(value); return *this; }
53 inline CustomIndicesInput& AddOperations(Operation&& value) { m_operationsHasBeenSet = true; m_operations.push_back(std::move(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 & AddOperations(Operation &&value)
CustomIndicesInput & WithOperations(Aws::Vector< Operation > &&value)
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKERGEOSPATIAL_API CustomIndicesInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Operation > & GetOperations() const
AWS_SAGEMAKERGEOSPATIAL_API CustomIndicesInput()
void SetOperations(const Aws::Vector< Operation > &value)
CustomIndicesInput & WithOperations(const Aws::Vector< Operation > &value)
CustomIndicesInput & AddOperations(const Operation &value)
AWS_SAGEMAKERGEOSPATIAL_API CustomIndicesInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOperations(Aws::Vector< Operation > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue