AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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