AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StackConfigInput.h
1
6#pragma once
7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/sagemaker-geospatial/model/OutputResolutionStackInput.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
34 {
35 public:
36 AWS_SAGEMAKERGEOSPATIAL_API StackConfigInput() = default;
37 AWS_SAGEMAKERGEOSPATIAL_API StackConfigInput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKERGEOSPATIAL_API StackConfigInput& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const OutputResolutionStackInput& GetOutputResolution() const { return m_outputResolution; }
48 inline bool OutputResolutionHasBeenSet() const { return m_outputResolutionHasBeenSet; }
49 template<typename OutputResolutionT = OutputResolutionStackInput>
50 void SetOutputResolution(OutputResolutionT&& value) { m_outputResolutionHasBeenSet = true; m_outputResolution = std::forward<OutputResolutionT>(value); }
51 template<typename OutputResolutionT = OutputResolutionStackInput>
52 StackConfigInput& WithOutputResolution(OutputResolutionT&& value) { SetOutputResolution(std::forward<OutputResolutionT>(value)); return *this;}
54
56
61 inline const Aws::Vector<Aws::String>& GetTargetBands() const { return m_targetBands; }
62 inline bool TargetBandsHasBeenSet() const { return m_targetBandsHasBeenSet; }
63 template<typename TargetBandsT = Aws::Vector<Aws::String>>
64 void SetTargetBands(TargetBandsT&& value) { m_targetBandsHasBeenSet = true; m_targetBands = std::forward<TargetBandsT>(value); }
65 template<typename TargetBandsT = Aws::Vector<Aws::String>>
66 StackConfigInput& WithTargetBands(TargetBandsT&& value) { SetTargetBands(std::forward<TargetBandsT>(value)); return *this;}
67 template<typename TargetBandsT = Aws::String>
68 StackConfigInput& AddTargetBands(TargetBandsT&& value) { m_targetBandsHasBeenSet = true; m_targetBands.emplace_back(std::forward<TargetBandsT>(value)); return *this; }
70 private:
71
72 OutputResolutionStackInput m_outputResolution;
73 bool m_outputResolutionHasBeenSet = false;
74
75 Aws::Vector<Aws::String> m_targetBands;
76 bool m_targetBandsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SageMakerGeospatial
81} // namespace Aws
const Aws::Vector< Aws::String > & GetTargetBands() const
StackConfigInput & AddTargetBands(TargetBandsT &&value)
const OutputResolutionStackInput & GetOutputResolution() const
StackConfigInput & WithOutputResolution(OutputResolutionT &&value)
void SetOutputResolution(OutputResolutionT &&value)
AWS_SAGEMAKERGEOSPATIAL_API StackConfigInput(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERGEOSPATIAL_API StackConfigInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERGEOSPATIAL_API StackConfigInput()=default
StackConfigInput & WithTargetBands(TargetBandsT &&value)
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue