AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
OutputBand.h
1
6#pragma once
7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker-geospatial/model/OutputType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMakerGeospatial
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SAGEMAKERGEOSPATIAL_API OutputBand() = default;
36 AWS_SAGEMAKERGEOSPATIAL_API OutputBand(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKERGEOSPATIAL_API OutputBand& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBandName() const { return m_bandName; }
46 inline bool BandNameHasBeenSet() const { return m_bandNameHasBeenSet; }
47 template<typename BandNameT = Aws::String>
48 void SetBandName(BandNameT&& value) { m_bandNameHasBeenSet = true; m_bandName = std::forward<BandNameT>(value); }
49 template<typename BandNameT = Aws::String>
50 OutputBand& WithBandName(BandNameT&& value) { SetBandName(std::forward<BandNameT>(value)); return *this;}
52
54
57 inline OutputType GetOutputDataType() const { return m_outputDataType; }
58 inline bool OutputDataTypeHasBeenSet() const { return m_outputDataTypeHasBeenSet; }
59 inline void SetOutputDataType(OutputType value) { m_outputDataTypeHasBeenSet = true; m_outputDataType = value; }
60 inline OutputBand& WithOutputDataType(OutputType value) { SetOutputDataType(value); return *this;}
62 private:
63
64 Aws::String m_bandName;
65 bool m_bandNameHasBeenSet = false;
66
67 OutputType m_outputDataType{OutputType::NOT_SET};
68 bool m_outputDataTypeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace SageMakerGeospatial
73} // namespace Aws
AWS_SAGEMAKERGEOSPATIAL_API OutputBand()=default
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetBandName() const
Definition OutputBand.h:45
OutputBand & WithOutputDataType(OutputType value)
Definition OutputBand.h:60
OutputBand & WithBandName(BandNameT &&value)
Definition OutputBand.h:50
AWS_SAGEMAKERGEOSPATIAL_API OutputBand(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERGEOSPATIAL_API OutputBand & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue