AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteDataSourceResult.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/DataSourceStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgent
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BEDROCKAGENT_API DeleteDataSourceResult();
34
35
37
40 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
41 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
42 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
43 inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
44 inline DeleteDataSourceResult& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
45 inline DeleteDataSourceResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
46 inline DeleteDataSourceResult& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
48
50
54 inline const Aws::String& GetKnowledgeBaseId() const{ return m_knowledgeBaseId; }
55 inline void SetKnowledgeBaseId(const Aws::String& value) { m_knowledgeBaseId = value; }
56 inline void SetKnowledgeBaseId(Aws::String&& value) { m_knowledgeBaseId = std::move(value); }
57 inline void SetKnowledgeBaseId(const char* value) { m_knowledgeBaseId.assign(value); }
58 inline DeleteDataSourceResult& WithKnowledgeBaseId(const Aws::String& value) { SetKnowledgeBaseId(value); return *this;}
59 inline DeleteDataSourceResult& WithKnowledgeBaseId(Aws::String&& value) { SetKnowledgeBaseId(std::move(value)); return *this;}
60 inline DeleteDataSourceResult& WithKnowledgeBaseId(const char* value) { SetKnowledgeBaseId(value); return *this;}
62
64
67 inline const DataSourceStatus& GetStatus() const{ return m_status; }
68 inline void SetStatus(const DataSourceStatus& value) { m_status = value; }
69 inline void SetStatus(DataSourceStatus&& value) { m_status = std::move(value); }
70 inline DeleteDataSourceResult& WithStatus(const DataSourceStatus& value) { SetStatus(value); return *this;}
71 inline DeleteDataSourceResult& WithStatus(DataSourceStatus&& value) { SetStatus(std::move(value)); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline DeleteDataSourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline DeleteDataSourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline DeleteDataSourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::String m_dataSourceId;
87
88 Aws::String m_knowledgeBaseId;
89
90 DataSourceStatus m_status;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace BedrockAgent
97} // namespace Aws
DeleteDataSourceResult & WithRequestId(const Aws::String &value)
AWS_BEDROCKAGENT_API DeleteDataSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteDataSourceResult & WithRequestId(const char *value)
AWS_BEDROCKAGENT_API DeleteDataSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteDataSourceResult & WithKnowledgeBaseId(const char *value)
DeleteDataSourceResult & WithDataSourceId(Aws::String &&value)
DeleteDataSourceResult & WithRequestId(Aws::String &&value)
DeleteDataSourceResult & WithStatus(const DataSourceStatus &value)
DeleteDataSourceResult & WithDataSourceId(const char *value)
DeleteDataSourceResult & WithKnowledgeBaseId(const Aws::String &value)
DeleteDataSourceResult & WithStatus(DataSourceStatus &&value)
DeleteDataSourceResult & WithDataSourceId(const Aws::String &value)
DeleteDataSourceResult & WithKnowledgeBaseId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue