AWS SDK for C++  1.9.155
AWS SDK for C++
UpdateDataSourceResult.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 AppSync
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const DataSource& GetDataSource() const{ return m_dataSource; }
39 
43  inline void SetDataSource(const DataSource& value) { m_dataSource = value; }
44 
48  inline void SetDataSource(DataSource&& value) { m_dataSource = std::move(value); }
49 
53  inline UpdateDataSourceResult& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
54 
58  inline UpdateDataSourceResult& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
59 
60  private:
61 
62  DataSource m_dataSource;
63  };
64 
65 } // namespace Model
66 } // namespace AppSync
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppSync::Model::UpdateDataSourceResult::UpdateDataSourceResult
UpdateDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppSync::Model::UpdateDataSourceResult::GetDataSource
const DataSource & GetDataSource() const
Definition: UpdateDataSourceResult.h:38
AppSync_EXPORTS.h
Aws::AppSync::Model::UpdateDataSourceResult
Definition: UpdateDataSourceResult.h:28
Aws::AppSync::Model::DataSource
Definition: DataSource.h:39
Aws::AppSync::Model::UpdateDataSourceResult::WithDataSource
UpdateDataSourceResult & WithDataSource(DataSource &&value)
Definition: UpdateDataSourceResult.h:58
Aws::AppSync::Model::UpdateDataSourceResult::WithDataSource
UpdateDataSourceResult & WithDataSource(const DataSource &value)
Definition: UpdateDataSourceResult.h:53
Aws::AppSync::Model::UpdateDataSourceResult::SetDataSource
void SetDataSource(const DataSource &value)
Definition: UpdateDataSourceResult.h:43
DataSource.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::AppSync::Model::UpdateDataSourceResult::SetDataSource
void SetDataSource(DataSource &&value)
Definition: UpdateDataSourceResult.h:48
Aws::AppSync::Model::UpdateDataSourceResult::operator=
UpdateDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppSync::Model::UpdateDataSourceResult::UpdateDataSourceResult
UpdateDataSourceResult()