AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteImportResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/ImportStatus.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 LexModelsV2
25{
26namespace Model
27{
29 {
30 public:
31 AWS_LEXMODELSV2_API DeleteImportResult();
34
35
37
40 inline const Aws::String& GetImportId() const{ return m_importId; }
41 inline void SetImportId(const Aws::String& value) { m_importId = value; }
42 inline void SetImportId(Aws::String&& value) { m_importId = std::move(value); }
43 inline void SetImportId(const char* value) { m_importId.assign(value); }
44 inline DeleteImportResult& WithImportId(const Aws::String& value) { SetImportId(value); return *this;}
45 inline DeleteImportResult& WithImportId(Aws::String&& value) { SetImportId(std::move(value)); return *this;}
46 inline DeleteImportResult& WithImportId(const char* value) { SetImportId(value); return *this;}
48
50
58 inline const ImportStatus& GetImportStatus() const{ return m_importStatus; }
59 inline void SetImportStatus(const ImportStatus& value) { m_importStatus = value; }
60 inline void SetImportStatus(ImportStatus&& value) { m_importStatus = std::move(value); }
61 inline DeleteImportResult& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;}
62 inline DeleteImportResult& WithImportStatus(ImportStatus&& value) { SetImportStatus(std::move(value)); return *this;}
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline DeleteImportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline DeleteImportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline DeleteImportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::String m_importId;
78
79 ImportStatus m_importStatus;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace LexModelsV2
86} // namespace Aws
AWS_LEXMODELSV2_API DeleteImportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetImportStatus(const ImportStatus &value)
DeleteImportResult & WithImportId(const Aws::String &value)
DeleteImportResult & WithRequestId(Aws::String &&value)
void SetImportId(const Aws::String &value)
DeleteImportResult & WithImportId(Aws::String &&value)
DeleteImportResult & WithRequestId(const char *value)
void SetRequestId(const Aws::String &value)
DeleteImportResult & WithImportStatus(ImportStatus &&value)
AWS_LEXMODELSV2_API DeleteImportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteImportResult & WithImportId(const char *value)
DeleteImportResult & WithRequestId(const Aws::String &value)
DeleteImportResult & WithImportStatus(const ImportStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue