AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
BandMathConfigInput.h
1
6#pragma once
7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/sagemaker-geospatial/model/CustomIndicesInput.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMakerGeospatial
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKERGEOSPATIAL_API BandMathConfigInput() = default;
38 AWS_SAGEMAKERGEOSPATIAL_API BandMathConfigInput(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKERGEOSPATIAL_API BandMathConfigInput& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const CustomIndicesInput& GetCustomIndices() const { return m_customIndices; }
48 inline bool CustomIndicesHasBeenSet() const { return m_customIndicesHasBeenSet; }
49 template<typename CustomIndicesT = CustomIndicesInput>
50 void SetCustomIndices(CustomIndicesT&& value) { m_customIndicesHasBeenSet = true; m_customIndices = std::forward<CustomIndicesT>(value); }
51 template<typename CustomIndicesT = CustomIndicesInput>
52 BandMathConfigInput& WithCustomIndices(CustomIndicesT&& value) { SetCustomIndices(std::forward<CustomIndicesT>(value)); return *this;}
54
56
61 inline const Aws::Vector<Aws::String>& GetPredefinedIndices() const { return m_predefinedIndices; }
62 inline bool PredefinedIndicesHasBeenSet() const { return m_predefinedIndicesHasBeenSet; }
63 template<typename PredefinedIndicesT = Aws::Vector<Aws::String>>
64 void SetPredefinedIndices(PredefinedIndicesT&& value) { m_predefinedIndicesHasBeenSet = true; m_predefinedIndices = std::forward<PredefinedIndicesT>(value); }
65 template<typename PredefinedIndicesT = Aws::Vector<Aws::String>>
66 BandMathConfigInput& WithPredefinedIndices(PredefinedIndicesT&& value) { SetPredefinedIndices(std::forward<PredefinedIndicesT>(value)); return *this;}
67 template<typename PredefinedIndicesT = Aws::String>
68 BandMathConfigInput& AddPredefinedIndices(PredefinedIndicesT&& value) { m_predefinedIndicesHasBeenSet = true; m_predefinedIndices.emplace_back(std::forward<PredefinedIndicesT>(value)); return *this; }
70 private:
71
72 CustomIndicesInput m_customIndices;
73 bool m_customIndicesHasBeenSet = false;
74
75 Aws::Vector<Aws::String> m_predefinedIndices;
76 bool m_predefinedIndicesHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SageMakerGeospatial
81} // namespace Aws
AWS_SAGEMAKERGEOSPATIAL_API BandMathConfigInput()=default
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
BandMathConfigInput & WithCustomIndices(CustomIndicesT &&value)
AWS_SAGEMAKERGEOSPATIAL_API BandMathConfigInput & operator=(Aws::Utils::Json::JsonView jsonValue)
BandMathConfigInput & WithPredefinedIndices(PredefinedIndicesT &&value)
AWS_SAGEMAKERGEOSPATIAL_API BandMathConfigInput(Aws::Utils::Json::JsonView jsonValue)
BandMathConfigInput & AddPredefinedIndices(PredefinedIndicesT &&value)
const Aws::Vector< Aws::String > & GetPredefinedIndices() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue