AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeSchemaResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Personalize
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const DatasetSchema& GetSchema() const{ return m_schema; }
39 
43  inline void SetSchema(const DatasetSchema& value) { m_schema = value; }
44 
48  inline void SetSchema(DatasetSchema&& value) { m_schema = std::move(value); }
49 
53  inline DescribeSchemaResult& WithSchema(const DatasetSchema& value) { SetSchema(value); return *this;}
54 
58  inline DescribeSchemaResult& WithSchema(DatasetSchema&& value) { SetSchema(std::move(value)); return *this;}
59 
60  private:
61 
62  DatasetSchema m_schema;
63  };
64 
65 } // namespace Model
66 } // namespace Personalize
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Personalize::Model::DescribeSchemaResult::SetSchema
void SetSchema(DatasetSchema &&value)
Definition: DescribeSchemaResult.h:48
Aws::Personalize::Model::DescribeSchemaResult::GetSchema
const DatasetSchema & GetSchema() const
Definition: DescribeSchemaResult.h:38
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DescribeSchemaResult::operator=
DescribeSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Personalize::Model::DescribeSchemaResult::SetSchema
void SetSchema(const DatasetSchema &value)
Definition: DescribeSchemaResult.h:43
Aws::Personalize::Model::DescribeSchemaResult::DescribeSchemaResult
DescribeSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DatasetSchema.h
Aws::Personalize::Model::DescribeSchemaResult::WithSchema
DescribeSchemaResult & WithSchema(DatasetSchema &&value)
Definition: DescribeSchemaResult.h:58
Aws
Definition: AccessManagementClient.h:15
Personalize_EXPORTS.h
Aws::Personalize::Model::DescribeSchemaResult::WithSchema
DescribeSchemaResult & WithSchema(const DatasetSchema &value)
Definition: DescribeSchemaResult.h:53
Aws::Personalize::Model::DescribeSchemaResult::DescribeSchemaResult
DescribeSchemaResult()
Aws::Personalize::Model::DescribeSchemaResult
Definition: DescribeSchemaResult.h:28
Aws::Personalize::Model::DatasetSchema
Definition: DatasetSchema.h:34