AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetExportResult.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lex-models/model/ResourceType.h>
10#include <aws/lex-models/model/ExportType.h>
11#include <aws/lex-models/model/ExportStatus.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace LexModelBuildingService
27{
28namespace Model
29{
31 {
32 public:
33 AWS_LEXMODELBUILDINGSERVICE_API GetExportResult();
34 AWS_LEXMODELBUILDINGSERVICE_API GetExportResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline void SetName(const Aws::String& value) { m_name = value; }
44 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
45 inline void SetName(const char* value) { m_name.assign(value); }
46 inline GetExportResult& WithName(const Aws::String& value) { SetName(value); return *this;}
47 inline GetExportResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
48 inline GetExportResult& WithName(const char* value) { SetName(value); return *this;}
50
52
55 inline const Aws::String& GetVersion() const{ return m_version; }
56 inline void SetVersion(const Aws::String& value) { m_version = value; }
57 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
58 inline void SetVersion(const char* value) { m_version.assign(value); }
59 inline GetExportResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
60 inline GetExportResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
61 inline GetExportResult& WithVersion(const char* value) { SetVersion(value); return *this;}
63
65
68 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
69 inline void SetResourceType(const ResourceType& value) { m_resourceType = value; }
70 inline void SetResourceType(ResourceType&& value) { m_resourceType = std::move(value); }
71 inline GetExportResult& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
72 inline GetExportResult& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
74
76
79 inline const ExportType& GetExportType() const{ return m_exportType; }
80 inline void SetExportType(const ExportType& value) { m_exportType = value; }
81 inline void SetExportType(ExportType&& value) { m_exportType = std::move(value); }
82 inline GetExportResult& WithExportType(const ExportType& value) { SetExportType(value); return *this;}
83 inline GetExportResult& WithExportType(ExportType&& value) { SetExportType(std::move(value)); return *this;}
85
87
93 inline const ExportStatus& GetExportStatus() const{ return m_exportStatus; }
94 inline void SetExportStatus(const ExportStatus& value) { m_exportStatus = value; }
95 inline void SetExportStatus(ExportStatus&& value) { m_exportStatus = std::move(value); }
96 inline GetExportResult& WithExportStatus(const ExportStatus& value) { SetExportStatus(value); return *this;}
97 inline GetExportResult& WithExportStatus(ExportStatus&& value) { SetExportStatus(std::move(value)); return *this;}
99
101
105 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
106 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
107 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
108 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
109 inline GetExportResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
110 inline GetExportResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
111 inline GetExportResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
113
115
121 inline const Aws::String& GetUrl() const{ return m_url; }
122 inline void SetUrl(const Aws::String& value) { m_url = value; }
123 inline void SetUrl(Aws::String&& value) { m_url = std::move(value); }
124 inline void SetUrl(const char* value) { m_url.assign(value); }
125 inline GetExportResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
126 inline GetExportResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
127 inline GetExportResult& WithUrl(const char* value) { SetUrl(value); return *this;}
129
131
132 inline const Aws::String& GetRequestId() const{ return m_requestId; }
133 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
134 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
135 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
136 inline GetExportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
137 inline GetExportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
138 inline GetExportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
140 private:
141
142 Aws::String m_name;
143
144 Aws::String m_version;
145
146 ResourceType m_resourceType;
147
148 ExportType m_exportType;
149
150 ExportStatus m_exportStatus;
151
152 Aws::String m_failureReason;
153
154 Aws::String m_url;
155
156 Aws::String m_requestId;
157 };
158
159} // namespace Model
160} // namespace LexModelBuildingService
161} // namespace Aws
GetExportResult & WithVersion(const char *value)
GetExportResult & WithName(const Aws::String &value)
GetExportResult & WithRequestId(const Aws::String &value)
GetExportResult & WithExportStatus(ExportStatus &&value)
GetExportResult & WithExportStatus(const ExportStatus &value)
GetExportResult & WithName(Aws::String &&value)
GetExportResult & WithFailureReason(const Aws::String &value)
GetExportResult & WithVersion(Aws::String &&value)
GetExportResult & WithRequestId(const char *value)
GetExportResult & WithFailureReason(Aws::String &&value)
GetExportResult & WithFailureReason(const char *value)
GetExportResult & WithExportType(ExportType &&value)
GetExportResult & WithUrl(const char *value)
GetExportResult & WithResourceType(ResourceType &&value)
GetExportResult & WithUrl(Aws::String &&value)
GetExportResult & WithName(const char *value)
GetExportResult & WithRequestId(Aws::String &&value)
GetExportResult & WithUrl(const Aws::String &value)
GetExportResult & WithExportType(const ExportType &value)
AWS_LEXMODELBUILDINGSERVICE_API GetExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LEXMODELBUILDINGSERVICE_API GetExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExportResult & WithResourceType(const ResourceType &value)
GetExportResult & WithVersion(const Aws::String &value)
AWS_LEXMODELBUILDINGSERVICE_API GetExportResult()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue