AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AssetValue.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 AssetValue() = default;
30 AWS_SAGEMAKERGEOSPATIAL_API AssetValue(Aws::Utils::Json::JsonView jsonValue);
31 AWS_SAGEMAKERGEOSPATIAL_API AssetValue& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetHref() const { return m_href; }
39 inline bool HrefHasBeenSet() const { return m_hrefHasBeenSet; }
40 template <typename HrefT = Aws::String>
41 void SetHref(HrefT&& value) {
42 m_hrefHasBeenSet = true;
43 m_href = std::forward<HrefT>(value);
44 }
45 template <typename HrefT = Aws::String>
46 AssetValue& WithHref(HrefT&& value) {
47 SetHref(std::forward<HrefT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_href;
53 bool m_hrefHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace SageMakerGeospatial
58} // namespace Aws
const Aws::String & GetHref() const
Definition AssetValue.h:38
AWS_SAGEMAKERGEOSPATIAL_API AssetValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKERGEOSPATIAL_API AssetValue()=default
AWS_SAGEMAKERGEOSPATIAL_API AssetValue(Aws::Utils::Json::JsonView jsonValue)
AssetValue & WithHref(HrefT &&value)
Definition AssetValue.h:46
AWS_SAGEMAKERGEOSPATIAL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue