AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDataSourceFromRedshiftResult.h
1
6#pragma once
7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace MachineLearning
24{
25namespace Model
26{
37 {
38 public:
39 AWS_MACHINELEARNING_API CreateDataSourceFromRedshiftResult();
42
43
45
49 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
50 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
51 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
52 inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
54 inline CreateDataSourceFromRedshiftResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
55 inline CreateDataSourceFromRedshiftResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const{ return m_requestId; }
61 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
62 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
63 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
64 inline CreateDataSourceFromRedshiftResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
65 inline CreateDataSourceFromRedshiftResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
66 inline CreateDataSourceFromRedshiftResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
68 private:
69
70 Aws::String m_dataSourceId;
71
72 Aws::String m_requestId;
73 };
74
75} // namespace Model
76} // namespace MachineLearning
77} // namespace Aws
AWS_MACHINELEARNING_API CreateDataSourceFromRedshiftResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDataSourceFromRedshiftResult & WithRequestId(Aws::String &&value)
CreateDataSourceFromRedshiftResult & WithDataSourceId(Aws::String &&value)
CreateDataSourceFromRedshiftResult & WithRequestId(const char *value)
CreateDataSourceFromRedshiftResult & WithDataSourceId(const char *value)
AWS_MACHINELEARNING_API CreateDataSourceFromRedshiftResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDataSourceFromRedshiftResult & WithRequestId(const Aws::String &value)
CreateDataSourceFromRedshiftResult & WithDataSourceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue