AWS SDK for C++  1.9.109
AWS SDK for C++
DataSource.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Personalize
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
46  inline const Aws::String& GetDataLocation() const{ return m_dataLocation; }
47 
53  inline bool DataLocationHasBeenSet() const { return m_dataLocationHasBeenSet; }
54 
60  inline void SetDataLocation(const Aws::String& value) { m_dataLocationHasBeenSet = true; m_dataLocation = value; }
61 
67  inline void SetDataLocation(Aws::String&& value) { m_dataLocationHasBeenSet = true; m_dataLocation = std::move(value); }
68 
74  inline void SetDataLocation(const char* value) { m_dataLocationHasBeenSet = true; m_dataLocation.assign(value); }
75 
81  inline DataSource& WithDataLocation(const Aws::String& value) { SetDataLocation(value); return *this;}
82 
88  inline DataSource& WithDataLocation(Aws::String&& value) { SetDataLocation(std::move(value)); return *this;}
89 
95  inline DataSource& WithDataLocation(const char* value) { SetDataLocation(value); return *this;}
96 
97  private:
98 
99  Aws::String m_dataLocation;
100  bool m_dataLocationHasBeenSet;
101  };
102 
103 } // namespace Model
104 } // namespace Personalize
105 } // namespace Aws
Aws::Personalize::Model::DataSource::WithDataLocation
DataSource & WithDataLocation(const char *value)
Definition: DataSource.h:95
Aws::Personalize::Model::DataSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::DataSource::SetDataLocation
void SetDataLocation(const char *value)
Definition: DataSource.h:74
Aws::Personalize::Model::DataSource::SetDataLocation
void SetDataLocation(Aws::String &&value)
Definition: DataSource.h:67
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DataSource::DataSource
DataSource()
Aws::Personalize::Model::DataSource::DataSource
DataSource(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DataSource::WithDataLocation
DataSource & WithDataLocation(const Aws::String &value)
Definition: DataSource.h:81
Aws::Personalize::Model::DataSource::DataLocationHasBeenSet
bool DataLocationHasBeenSet() const
Definition: DataSource.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::DataSource::operator=
DataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DataSource
Definition: DataSource.h:33
Aws::Personalize::Model::DataSource::GetDataLocation
const Aws::String & GetDataLocation() const
Definition: DataSource.h:46
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::DataSource::SetDataLocation
void SetDataLocation(const Aws::String &value)
Definition: DataSource.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::DataSource::WithDataLocation
DataSource & WithDataLocation(Aws::String &&value)
Definition: DataSource.h:88
Personalize_EXPORTS.h