AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DataSource.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Personalize
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_PERSONALIZE_API DataSource() = default;
37 AWS_PERSONALIZE_API DataSource(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PERSONALIZE_API DataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
54 inline const Aws::String& GetDataLocation() const { return m_dataLocation; }
55 inline bool DataLocationHasBeenSet() const { return m_dataLocationHasBeenSet; }
56 template<typename DataLocationT = Aws::String>
57 void SetDataLocation(DataLocationT&& value) { m_dataLocationHasBeenSet = true; m_dataLocation = std::forward<DataLocationT>(value); }
58 template<typename DataLocationT = Aws::String>
59 DataSource& WithDataLocation(DataLocationT&& value) { SetDataLocation(std::forward<DataLocationT>(value)); return *this;}
61 private:
62
63 Aws::String m_dataLocation;
64 bool m_dataLocationHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace Personalize
69} // namespace Aws
void SetDataLocation(DataLocationT &&value)
Definition DataSource.h:57
AWS_PERSONALIZE_API DataSource()=default
AWS_PERSONALIZE_API DataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DataSource & WithDataLocation(DataLocationT &&value)
Definition DataSource.h:59
const Aws::String & GetDataLocation() const
Definition DataSource.h:54
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue