AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDataSourceResult.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_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 QBusiness
24{
25namespace Model
26{
28 {
29 public:
30 AWS_QBUSINESS_API CreateDataSourceResult();
33
34
36
39 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
40 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
41 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
42 inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
43 inline CreateDataSourceResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
44 inline CreateDataSourceResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
45 inline CreateDataSourceResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
47
49
53 inline const Aws::String& GetDataSourceArn() const{ return m_dataSourceArn; }
54 inline void SetDataSourceArn(const Aws::String& value) { m_dataSourceArn = value; }
55 inline void SetDataSourceArn(Aws::String&& value) { m_dataSourceArn = std::move(value); }
56 inline void SetDataSourceArn(const char* value) { m_dataSourceArn.assign(value); }
57 inline CreateDataSourceResult& WithDataSourceArn(const Aws::String& value) { SetDataSourceArn(value); return *this;}
58 inline CreateDataSourceResult& WithDataSourceArn(Aws::String&& value) { SetDataSourceArn(std::move(value)); return *this;}
59 inline CreateDataSourceResult& WithDataSourceArn(const char* value) { SetDataSourceArn(value); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const{ return m_requestId; }
65 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
68 inline CreateDataSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline CreateDataSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline CreateDataSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72 private:
73
74 Aws::String m_dataSourceId;
75
76 Aws::String m_dataSourceArn;
77
78 Aws::String m_requestId;
79 };
80
81} // namespace Model
82} // namespace QBusiness
83} // namespace Aws
CreateDataSourceResult & WithRequestId(const char *value)
CreateDataSourceResult & WithDataSourceId(const char *value)
CreateDataSourceResult & WithDataSourceId(Aws::String &&value)
CreateDataSourceResult & WithRequestId(const Aws::String &value)
CreateDataSourceResult & WithDataSourceId(const Aws::String &value)
CreateDataSourceResult & WithDataSourceArn(const Aws::String &value)
CreateDataSourceResult & WithDataSourceArn(Aws::String &&value)
CreateDataSourceResult & WithRequestId(Aws::String &&value)
AWS_QBUSINESS_API CreateDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDataSourceResult & WithDataSourceArn(const char *value)
AWS_QBUSINESS_API CreateDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue