AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GeoMosaicConfigInput.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/AlgorithmNameGeoMosaic.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 GeoMosaicConfigInput() = default;
33 AWS_SAGEMAKERGEOSPATIAL_API GeoMosaicConfigInput(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKERGEOSPATIAL_API GeoMosaicConfigInput& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline AlgorithmNameGeoMosaic GetAlgorithmName() const { return m_algorithmName; }
42 inline bool AlgorithmNameHasBeenSet() const { return m_algorithmNameHasBeenSet; }
44 m_algorithmNameHasBeenSet = true;
45 m_algorithmName = value;
46 }
48 SetAlgorithmName(value);
49 return *this;
50 }
52
54
57 inline const Aws::Vector<Aws::String>& GetTargetBands() const { return m_targetBands; }
58 inline bool TargetBandsHasBeenSet() const { return m_targetBandsHasBeenSet; }
59 template <typename TargetBandsT = Aws::Vector<Aws::String>>
60 void SetTargetBands(TargetBandsT&& value) {
61 m_targetBandsHasBeenSet = true;
62 m_targetBands = std::forward<TargetBandsT>(value);
63 }
64 template <typename TargetBandsT = Aws::Vector<Aws::String>>
65 GeoMosaicConfigInput& WithTargetBands(TargetBandsT&& value) {
66 SetTargetBands(std::forward<TargetBandsT>(value));
67 return *this;
68 }
69 template <typename TargetBandsT = Aws::String>
70 GeoMosaicConfigInput& AddTargetBands(TargetBandsT&& value) {
71 m_targetBandsHasBeenSet = true;
72 m_targetBands.emplace_back(std::forward<TargetBandsT>(value));
73 return *this;
74 }
76 private:
78
79 Aws::Vector<Aws::String> m_targetBands;
80 bool m_algorithmNameHasBeenSet = false;
81 bool m_targetBandsHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace SageMakerGeospatial
86} // namespace Aws
AWS_SAGEMAKERGEOSPATIAL_API GeoMosaicConfigInput()=default
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
GeoMosaicConfigInput & AddTargetBands(TargetBandsT &&value)
AWS_SAGEMAKERGEOSPATIAL_API GeoMosaicConfigInput(Aws::Utils::Json::JsonView jsonValue)
GeoMosaicConfigInput & WithTargetBands(TargetBandsT &&value)
const Aws::Vector< Aws::String > & GetTargetBands() const
AWS_SAGEMAKERGEOSPATIAL_API GeoMosaicConfigInput & operator=(Aws::Utils::Json::JsonView jsonValue)
GeoMosaicConfigInput & WithAlgorithmName(AlgorithmNameGeoMosaic value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue