AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDataLocation(const Aws::String& value) { m_dataLocationHasBeenSet = true; m_dataLocation = value; }
57 inline void SetDataLocation(Aws::String&& value) { m_dataLocationHasBeenSet = true; m_dataLocation = std::move(value); }
58 inline void SetDataLocation(const char* value) { m_dataLocationHasBeenSet = true; m_dataLocation.assign(value); }
59 inline DataSource& WithDataLocation(const Aws::String& value) { SetDataLocation(value); return *this;}
60 inline DataSource& WithDataLocation(Aws::String&& value) { SetDataLocation(std::move(value)); return *this;}
61 inline DataSource& WithDataLocation(const char* value) { SetDataLocation(value); return *this;}
63 private:
64
65 Aws::String m_dataLocation;
66 bool m_dataLocationHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Personalize
71} // namespace Aws
void SetDataLocation(const Aws::String &value)
Definition DataSource.h:56
DataSource & WithDataLocation(Aws::String &&value)
Definition DataSource.h:60
void SetDataLocation(Aws::String &&value)
Definition DataSource.h:57
DataSource & WithDataLocation(const char *value)
Definition DataSource.h:61
AWS_PERSONALIZE_API DataSource(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDataLocation(const char *value)
Definition DataSource.h:58
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DataSource & WithDataLocation(const Aws::String &value)
Definition DataSource.h:59
const Aws::String & GetDataLocation() const
Definition DataSource.h:54
AWS_PERSONALIZE_API DataSource()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue