AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ItemSource.h
1
6#pragma once
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>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SageMakerGeospatial
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_SAGEMAKERGEOSPATIAL_API ItemSource();
41 AWS_SAGEMAKERGEOSPATIAL_API ItemSource(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKERGEOSPATIAL_API ItemSource& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::Map<Aws::String, AssetValue>& GetAssets() const{ return m_assets; }
52 inline bool AssetsHasBeenSet() const { return m_assetsHasBeenSet; }
53 inline void SetAssets(const Aws::Map<Aws::String, AssetValue>& value) { m_assetsHasBeenSet = true; m_assets = value; }
54 inline void SetAssets(Aws::Map<Aws::String, AssetValue>&& value) { m_assetsHasBeenSet = true; m_assets = std::move(value); }
55 inline ItemSource& WithAssets(const Aws::Map<Aws::String, AssetValue>& value) { SetAssets(value); return *this;}
56 inline ItemSource& WithAssets(Aws::Map<Aws::String, AssetValue>&& value) { SetAssets(std::move(value)); return *this;}
57 inline ItemSource& AddAssets(const Aws::String& key, const AssetValue& value) { m_assetsHasBeenSet = true; m_assets.emplace(key, value); return *this; }
58 inline ItemSource& AddAssets(Aws::String&& key, const AssetValue& value) { m_assetsHasBeenSet = true; m_assets.emplace(std::move(key), value); return *this; }
59 inline ItemSource& AddAssets(const Aws::String& key, AssetValue&& value) { m_assetsHasBeenSet = true; m_assets.emplace(key, std::move(value)); return *this; }
60 inline ItemSource& AddAssets(Aws::String&& key, AssetValue&& value) { m_assetsHasBeenSet = true; m_assets.emplace(std::move(key), std::move(value)); return *this; }
61 inline ItemSource& AddAssets(const char* key, AssetValue&& value) { m_assetsHasBeenSet = true; m_assets.emplace(key, std::move(value)); return *this; }
62 inline ItemSource& AddAssets(const char* key, const AssetValue& value) { m_assetsHasBeenSet = true; m_assets.emplace(key, value); return *this; }
64
66
69 inline const Aws::Utils::DateTime& GetDateTime() const{ return m_dateTime; }
70 inline bool DateTimeHasBeenSet() const { return m_dateTimeHasBeenSet; }
71 inline void SetDateTime(const Aws::Utils::DateTime& value) { m_dateTimeHasBeenSet = true; m_dateTime = value; }
72 inline void SetDateTime(Aws::Utils::DateTime&& value) { m_dateTimeHasBeenSet = true; m_dateTime = std::move(value); }
73 inline ItemSource& WithDateTime(const Aws::Utils::DateTime& value) { SetDateTime(value); return *this;}
74 inline ItemSource& WithDateTime(Aws::Utils::DateTime&& value) { SetDateTime(std::move(value)); return *this;}
76
78
81 inline const Geometry& GetGeometry() const{ return m_geometry; }
82 inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; }
83 inline void SetGeometry(const Geometry& value) { m_geometryHasBeenSet = true; m_geometry = value; }
84 inline void SetGeometry(Geometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); }
85 inline ItemSource& WithGeometry(const Geometry& value) { SetGeometry(value); return *this;}
86 inline ItemSource& WithGeometry(Geometry&& value) { SetGeometry(std::move(value)); return *this;}
88
90
93 inline const Aws::String& GetId() const{ return m_id; }
94 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
95 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
96 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
97 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
98 inline ItemSource& WithId(const Aws::String& value) { SetId(value); return *this;}
99 inline ItemSource& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
100 inline ItemSource& WithId(const char* value) { SetId(value); return *this;}
102
104
107 inline const Properties& GetProperties() const{ return m_properties; }
108 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
109 inline void SetProperties(const Properties& value) { m_propertiesHasBeenSet = true; m_properties = value; }
110 inline void SetProperties(Properties&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
111 inline ItemSource& WithProperties(const Properties& value) { SetProperties(value); return *this;}
112 inline ItemSource& WithProperties(Properties&& value) { SetProperties(std::move(value)); return *this;}
114 private:
115
117 bool m_assetsHasBeenSet = false;
118
119 Aws::Utils::DateTime m_dateTime;
120 bool m_dateTimeHasBeenSet = false;
121
122 Geometry m_geometry;
123 bool m_geometryHasBeenSet = false;
124
125 Aws::String m_id;
126 bool m_idHasBeenSet = false;
127
128 Properties m_properties;
129 bool m_propertiesHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace SageMakerGeospatial
134} // namespace Aws
ItemSource & WithGeometry(Geometry &&value)
Definition ItemSource.h:86
ItemSource & WithId(const char *value)
Definition ItemSource.h:100
void SetDateTime(Aws::Utils::DateTime &&value)
Definition ItemSource.h:72
AWS_SAGEMAKERGEOSPATIAL_API ItemSource(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetDateTime() const
Definition ItemSource.h:69
void SetId(const Aws::String &value)
Definition ItemSource.h:95
ItemSource & AddAssets(const char *key, AssetValue &&value)
Definition ItemSource.h:61
ItemSource & AddAssets(Aws::String &&key, const AssetValue &value)
Definition ItemSource.h:58
void SetAssets(Aws::Map< Aws::String, AssetValue > &&value)
Definition ItemSource.h:54
ItemSource & AddAssets(const Aws::String &key, const AssetValue &value)
Definition ItemSource.h:57
ItemSource & WithId(const Aws::String &value)
Definition ItemSource.h:98
ItemSource & WithDateTime(const Aws::Utils::DateTime &value)
Definition ItemSource.h:73
ItemSource & WithProperties(const Properties &value)
Definition ItemSource.h:111
const Aws::Map< Aws::String, AssetValue > & GetAssets() const
Definition ItemSource.h:51
void SetGeometry(const Geometry &value)
Definition ItemSource.h:83
AWS_SAGEMAKERGEOSPATIAL_API ItemSource()
const Properties & GetProperties() const
Definition ItemSource.h:107
void SetDateTime(const Aws::Utils::DateTime &value)
Definition ItemSource.h:71
void SetAssets(const Aws::Map< Aws::String, AssetValue > &value)
Definition ItemSource.h:53
ItemSource & AddAssets(const Aws::String &key, AssetValue &&value)
Definition ItemSource.h:59
const Aws::String & GetId() const
Definition ItemSource.h:93
ItemSource & WithAssets(Aws::Map< Aws::String, AssetValue > &&value)
Definition ItemSource.h:56
ItemSource & WithGeometry(const Geometry &value)
Definition ItemSource.h:85
ItemSource & AddAssets(Aws::String &&key, AssetValue &&value)
Definition ItemSource.h:60
ItemSource & WithDateTime(Aws::Utils::DateTime &&value)
Definition ItemSource.h:74
ItemSource & WithAssets(const Aws::Map< Aws::String, AssetValue > &value)
Definition ItemSource.h:55
ItemSource & WithId(Aws::String &&value)
Definition ItemSource.h:99
AWS_SAGEMAKERGEOSPATIAL_API ItemSource & operator=(Aws::Utils::Json::JsonView jsonValue)
ItemSource & WithProperties(Properties &&value)
Definition ItemSource.h:112
ItemSource & AddAssets(const char *key, const AssetValue &value)
Definition ItemSource.h:62
void SetProperties(const Properties &value)
Definition ItemSource.h:109
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