AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ResamplingConfigInput.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/AlgorithmNameResampling.h>
11#include <aws/sagemaker-geospatial/model/OutputResolutionResamplingInput.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMakerGeospatial {
23namespace Model {
24
32 public:
33 AWS_SAGEMAKERGEOSPATIAL_API ResamplingConfigInput() = default;
34 AWS_SAGEMAKERGEOSPATIAL_API ResamplingConfigInput(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SAGEMAKERGEOSPATIAL_API ResamplingConfigInput& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline AlgorithmNameResampling GetAlgorithmName() const { return m_algorithmName; }
43 inline bool AlgorithmNameHasBeenSet() const { return m_algorithmNameHasBeenSet; }
45 m_algorithmNameHasBeenSet = true;
46 m_algorithmName = value;
47 }
49 SetAlgorithmName(value);
50 return *this;
51 }
53
55
59 inline const OutputResolutionResamplingInput& GetOutputResolution() const { return m_outputResolution; }
60 inline bool OutputResolutionHasBeenSet() const { return m_outputResolutionHasBeenSet; }
61 template <typename OutputResolutionT = OutputResolutionResamplingInput>
62 void SetOutputResolution(OutputResolutionT&& value) {
63 m_outputResolutionHasBeenSet = true;
64 m_outputResolution = std::forward<OutputResolutionT>(value);
65 }
66 template <typename OutputResolutionT = OutputResolutionResamplingInput>
67 ResamplingConfigInput& WithOutputResolution(OutputResolutionT&& value) {
68 SetOutputResolution(std::forward<OutputResolutionT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::Vector<Aws::String>& GetTargetBands() const { return m_targetBands; }
79 inline bool TargetBandsHasBeenSet() const { return m_targetBandsHasBeenSet; }
80 template <typename TargetBandsT = Aws::Vector<Aws::String>>
81 void SetTargetBands(TargetBandsT&& value) {
82 m_targetBandsHasBeenSet = true;
83 m_targetBands = std::forward<TargetBandsT>(value);
84 }
85 template <typename TargetBandsT = Aws::Vector<Aws::String>>
86 ResamplingConfigInput& WithTargetBands(TargetBandsT&& value) {
87 SetTargetBands(std::forward<TargetBandsT>(value));
88 return *this;
89 }
90 template <typename TargetBandsT = Aws::String>
91 ResamplingConfigInput& AddTargetBands(TargetBandsT&& value) {
92 m_targetBandsHasBeenSet = true;
93 m_targetBands.emplace_back(std::forward<TargetBandsT>(value));
94 return *this;
95 }
97 private:
99
100 OutputResolutionResamplingInput m_outputResolution;
101
102 Aws::Vector<Aws::String> m_targetBands;
103 bool m_algorithmNameHasBeenSet = false;
104 bool m_outputResolutionHasBeenSet = false;
105 bool m_targetBandsHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace SageMakerGeospatial
110} // namespace Aws
ResamplingConfigInput & WithAlgorithmName(AlgorithmNameResampling value)
ResamplingConfigInput & AddTargetBands(TargetBandsT &&value)
const Aws::Vector< Aws::String > & GetTargetBands() const
AWS_SAGEMAKERGEOSPATIAL_API ResamplingConfigInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERGEOSPATIAL_API ResamplingConfigInput()=default
ResamplingConfigInput & WithTargetBands(TargetBandsT &&value)
AWS_SAGEMAKERGEOSPATIAL_API ResamplingConfigInput(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
const OutputResolutionResamplingInput & GetOutputResolution() const
ResamplingConfigInput & WithOutputResolution(OutputResolutionT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue