AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
BandMathConfigInput.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/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
10#include <aws/sagemaker-geospatial/model/CustomIndicesInput.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMakerGeospatial {
22namespace Model {
23
31 public:
32 AWS_SAGEMAKERGEOSPATIAL_API BandMathConfigInput() = default;
33 AWS_SAGEMAKERGEOSPATIAL_API BandMathConfigInput(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKERGEOSPATIAL_API BandMathConfigInput& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const CustomIndicesInput& GetCustomIndices() const { return m_customIndices; }
42 inline bool CustomIndicesHasBeenSet() const { return m_customIndicesHasBeenSet; }
43 template <typename CustomIndicesT = CustomIndicesInput>
44 void SetCustomIndices(CustomIndicesT&& value) {
45 m_customIndicesHasBeenSet = true;
46 m_customIndices = std::forward<CustomIndicesT>(value);
47 }
48 template <typename CustomIndicesT = CustomIndicesInput>
49 BandMathConfigInput& WithCustomIndices(CustomIndicesT&& value) {
50 SetCustomIndices(std::forward<CustomIndicesT>(value));
51 return *this;
52 }
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) {
65 m_predefinedIndicesHasBeenSet = true;
66 m_predefinedIndices = std::forward<PredefinedIndicesT>(value);
67 }
68 template <typename PredefinedIndicesT = Aws::Vector<Aws::String>>
69 BandMathConfigInput& WithPredefinedIndices(PredefinedIndicesT&& value) {
70 SetPredefinedIndices(std::forward<PredefinedIndicesT>(value));
71 return *this;
72 }
73 template <typename PredefinedIndicesT = Aws::String>
74 BandMathConfigInput& AddPredefinedIndices(PredefinedIndicesT&& value) {
75 m_predefinedIndicesHasBeenSet = true;
76 m_predefinedIndices.emplace_back(std::forward<PredefinedIndicesT>(value));
77 return *this;
78 }
80 private:
81 CustomIndicesInput m_customIndices;
82
83 Aws::Vector<Aws::String> m_predefinedIndices;
84 bool m_customIndicesHasBeenSet = false;
85 bool m_predefinedIndicesHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace SageMakerGeospatial
90} // 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