7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker-geospatial/model/Geometry.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/sagemaker-geospatial/model/Properties.h>
13#include <aws/sagemaker-geospatial/model/AssetValue.h>
26namespace SageMakerGeospatial
53 template<
typename AssetsT = Aws::Map<Aws::String, AssetValue>>
54 void SetAssets(AssetsT&& value) { m_assetsHasBeenSet =
true; m_assets = std::forward<AssetsT>(value); }
55 template<
typename AssetsT = Aws::Map<Aws::String, AssetValue>>
57 template<
typename AssetsKeyT = Aws::String,
typename AssetsValueT = AssetValue>
59 m_assetsHasBeenSet =
true; m_assets.emplace(std::forward<AssetsKeyT>(key), std::forward<AssetsValueT>(value));
return *
this;
69 template<
typename DateTimeT = Aws::Utils::DateTime>
70 void SetDateTime(DateTimeT&& value) { m_dateTimeHasBeenSet =
true; m_dateTime = std::forward<DateTimeT>(value); }
71 template<
typename DateTimeT = Aws::Utils::DateTime>
81 template<
typename GeometryT = Geometry>
82 void SetGeometry(GeometryT&& value) { m_geometryHasBeenSet =
true; m_geometry = std::forward<GeometryT>(value); }
83 template<
typename GeometryT = Geometry>
93 template<
typename IdT = Aws::String>
94 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
95 template<
typename IdT = Aws::String>
105 template<
typename PropertiesT = Properties>
106 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
107 template<
typename PropertiesT = Properties>
113 bool m_assetsHasBeenSet =
false;
116 bool m_dateTimeHasBeenSet =
false;
119 bool m_geometryHasBeenSet =
false;
122 bool m_idHasBeenSet =
false;
124 Properties m_properties;
125 bool m_propertiesHasBeenSet =
false;
AWS_SAGEMAKERGEOSPATIAL_API ItemSource()=default
AWS_SAGEMAKERGEOSPATIAL_API ItemSource(Aws::Utils::Json::JsonView jsonValue)
ItemSource & WithAssets(AssetsT &&value)
bool AssetsHasBeenSet() const
bool GeometryHasBeenSet() const
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetDateTime() const
ItemSource & WithProperties(PropertiesT &&value)
bool IdHasBeenSet() const
void SetGeometry(GeometryT &&value)
const Aws::Map< Aws::String, AssetValue > & GetAssets() const
bool PropertiesHasBeenSet() const
const Properties & GetProperties() const
void SetDateTime(DateTimeT &&value)
ItemSource & AddAssets(AssetsKeyT &&key, AssetsValueT &&value)
ItemSource & WithId(IdT &&value)
const Aws::String & GetId() const
void SetAssets(AssetsT &&value)
ItemSource & WithGeometry(GeometryT &&value)
void SetProperties(PropertiesT &&value)
ItemSource & WithDateTime(DateTimeT &&value)
AWS_SAGEMAKERGEOSPATIAL_API ItemSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Geometry & GetGeometry() const
bool DateTimeHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue