AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
StackConfigInput.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/OutputResolutionStackInput.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
30 public:
31 AWS_SAGEMAKERGEOSPATIAL_API StackConfigInput() = default;
32 AWS_SAGEMAKERGEOSPATIAL_API StackConfigInput(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKERGEOSPATIAL_API StackConfigInput& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const OutputResolutionStackInput& GetOutputResolution() const { return m_outputResolution; }
42 inline bool OutputResolutionHasBeenSet() const { return m_outputResolutionHasBeenSet; }
43 template <typename OutputResolutionT = OutputResolutionStackInput>
44 void SetOutputResolution(OutputResolutionT&& value) {
45 m_outputResolutionHasBeenSet = true;
46 m_outputResolution = std::forward<OutputResolutionT>(value);
47 }
48 template <typename OutputResolutionT = OutputResolutionStackInput>
49 StackConfigInput& WithOutputResolution(OutputResolutionT&& value) {
50 SetOutputResolution(std::forward<OutputResolutionT>(value));
51 return *this;
52 }
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) {
65 m_targetBandsHasBeenSet = true;
66 m_targetBands = std::forward<TargetBandsT>(value);
67 }
68 template <typename TargetBandsT = Aws::Vector<Aws::String>>
69 StackConfigInput& WithTargetBands(TargetBandsT&& value) {
70 SetTargetBands(std::forward<TargetBandsT>(value));
71 return *this;
72 }
73 template <typename TargetBandsT = Aws::String>
74 StackConfigInput& AddTargetBands(TargetBandsT&& value) {
75 m_targetBandsHasBeenSet = true;
76 m_targetBands.emplace_back(std::forward<TargetBandsT>(value));
77 return *this;
78 }
80 private:
81 OutputResolutionStackInput m_outputResolution;
82
83 Aws::Vector<Aws::String> m_targetBands;
84 bool m_outputResolutionHasBeenSet = false;
85 bool m_targetBandsHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace SageMakerGeospatial
90} // 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