AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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