AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
Properties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMakerGeospatial {
20namespace Model {
21
28 public:
29 AWS_SAGEMAKERGEOSPATIAL_API Properties() = default;
30 AWS_SAGEMAKERGEOSPATIAL_API Properties(Aws::Utils::Json::JsonView jsonValue);
31 AWS_SAGEMAKERGEOSPATIAL_API Properties& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline double GetEoCloudCover() const { return m_eoCloudCover; }
39 inline bool EoCloudCoverHasBeenSet() const { return m_eoCloudCoverHasBeenSet; }
40 inline void SetEoCloudCover(double value) {
41 m_eoCloudCoverHasBeenSet = true;
42 m_eoCloudCover = value;
43 }
44 inline Properties& WithEoCloudCover(double value) {
45 SetEoCloudCover(value);
46 return *this;
47 }
49
51
54 inline double GetLandsatCloudCoverLand() const { return m_landsatCloudCoverLand; }
55 inline bool LandsatCloudCoverLandHasBeenSet() const { return m_landsatCloudCoverLandHasBeenSet; }
56 inline void SetLandsatCloudCoverLand(double value) {
57 m_landsatCloudCoverLandHasBeenSet = true;
58 m_landsatCloudCoverLand = value;
59 }
60 inline Properties& WithLandsatCloudCoverLand(double value) {
62 return *this;
63 }
65
67
72 inline const Aws::String& GetPlatform() const { return m_platform; }
73 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
74 template <typename PlatformT = Aws::String>
75 void SetPlatform(PlatformT&& value) {
76 m_platformHasBeenSet = true;
77 m_platform = std::forward<PlatformT>(value);
78 }
79 template <typename PlatformT = Aws::String>
80 Properties& WithPlatform(PlatformT&& value) {
81 SetPlatform(std::forward<PlatformT>(value));
82 return *this;
83 }
85
87
91 inline double GetViewOffNadir() const { return m_viewOffNadir; }
92 inline bool ViewOffNadirHasBeenSet() const { return m_viewOffNadirHasBeenSet; }
93 inline void SetViewOffNadir(double value) {
94 m_viewOffNadirHasBeenSet = true;
95 m_viewOffNadir = value;
96 }
97 inline Properties& WithViewOffNadir(double value) {
98 SetViewOffNadir(value);
99 return *this;
100 }
102
104
109 inline double GetViewSunAzimuth() const { return m_viewSunAzimuth; }
110 inline bool ViewSunAzimuthHasBeenSet() const { return m_viewSunAzimuthHasBeenSet; }
111 inline void SetViewSunAzimuth(double value) {
112 m_viewSunAzimuthHasBeenSet = true;
113 m_viewSunAzimuth = value;
114 }
115 inline Properties& WithViewSunAzimuth(double value) {
116 SetViewSunAzimuth(value);
117 return *this;
118 }
120
122
130 inline double GetViewSunElevation() const { return m_viewSunElevation; }
131 inline bool ViewSunElevationHasBeenSet() const { return m_viewSunElevationHasBeenSet; }
132 inline void SetViewSunElevation(double value) {
133 m_viewSunElevationHasBeenSet = true;
134 m_viewSunElevation = value;
135 }
136 inline Properties& WithViewSunElevation(double value) {
137 SetViewSunElevation(value);
138 return *this;
139 }
141 private:
142 double m_eoCloudCover{0.0};
143
144 double m_landsatCloudCoverLand{0.0};
145
146 Aws::String m_platform;
147
148 double m_viewOffNadir{0.0};
149
150 double m_viewSunAzimuth{0.0};
151
152 double m_viewSunElevation{0.0};
153 bool m_eoCloudCoverHasBeenSet = false;
154 bool m_landsatCloudCoverLandHasBeenSet = false;
155 bool m_platformHasBeenSet = false;
156 bool m_viewOffNadirHasBeenSet = false;
157 bool m_viewSunAzimuthHasBeenSet = false;
158 bool m_viewSunElevationHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace SageMakerGeospatial
163} // namespace Aws
Properties & WithEoCloudCover(double value)
Definition Properties.h:44
const Aws::String & GetPlatform() const
Definition Properties.h:72
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKERGEOSPATIAL_API Properties & operator=(Aws::Utils::Json::JsonView jsonValue)
Properties & WithPlatform(PlatformT &&value)
Definition Properties.h:80
AWS_SAGEMAKERGEOSPATIAL_API Properties()=default
AWS_SAGEMAKERGEOSPATIAL_API Properties(Aws::Utils::Json::JsonView jsonValue)
Properties & WithLandsatCloudCoverLand(double value)
Definition Properties.h:60
Properties & WithViewSunAzimuth(double value)
Definition Properties.h:115
Properties & WithViewOffNadir(double value)
Definition Properties.h:97
Properties & WithViewSunElevation(double value)
Definition Properties.h:136
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue