AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
44 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
45 template<typename NameT = Aws::String>
46 GetExportResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetVersion() const { return m_version; }
54 template<typename VersionT = Aws::String>
55 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
56 template<typename VersionT = Aws::String>
57 GetExportResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
59
61
64 inline ResourceType GetResourceType() const { return m_resourceType; }
65 inline void SetResourceType(ResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
66 inline GetExportResult& WithResourceType(ResourceType value) { SetResourceType(value); return *this;}
68
70
73 inline ExportType GetExportType() const { return m_exportType; }
74 inline void SetExportType(ExportType value) { m_exportTypeHasBeenSet = true; m_exportType = value; }
75 inline GetExportResult& WithExportType(ExportType value) { SetExportType(value); return *this;}
77
79
85 inline ExportStatus GetExportStatus() const { return m_exportStatus; }
86 inline void SetExportStatus(ExportStatus value) { m_exportStatusHasBeenSet = true; m_exportStatus = value; }
87 inline GetExportResult& WithExportStatus(ExportStatus value) { SetExportStatus(value); return *this;}
89
91
95 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
96 template<typename FailureReasonT = Aws::String>
97 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
98 template<typename FailureReasonT = Aws::String>
99 GetExportResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
101
103
109 inline const Aws::String& GetUrl() const { return m_url; }
110 template<typename UrlT = Aws::String>
111 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
112 template<typename UrlT = Aws::String>
113 GetExportResult& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
115
117
118 inline const Aws::String& GetRequestId() const { return m_requestId; }
119 template<typename RequestIdT = Aws::String>
120 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
121 template<typename RequestIdT = Aws::String>
122 GetExportResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
124 private:
125
126 Aws::String m_name;
127 bool m_nameHasBeenSet = false;
128
129 Aws::String m_version;
130 bool m_versionHasBeenSet = false;
131
132 ResourceType m_resourceType{ResourceType::NOT_SET};
133 bool m_resourceTypeHasBeenSet = false;
134
135 ExportType m_exportType{ExportType::NOT_SET};
136 bool m_exportTypeHasBeenSet = false;
137
138 ExportStatus m_exportStatus{ExportStatus::NOT_SET};
139 bool m_exportStatusHasBeenSet = false;
140
141 Aws::String m_failureReason;
142 bool m_failureReasonHasBeenSet = false;
143
144 Aws::String m_url;
145 bool m_urlHasBeenSet = false;
146
147 Aws::String m_requestId;
148 bool m_requestIdHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace LexModelBuildingService
153} // namespace Aws
GetExportResult & WithRequestId(RequestIdT &&value)
GetExportResult & WithExportType(ExportType value)
AWS_LEXMODELBUILDINGSERVICE_API GetExportResult()=default
GetExportResult & WithVersion(VersionT &&value)
GetExportResult & WithExportStatus(ExportStatus 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(ResourceType value)
GetExportResult & WithFailureReason(FailureReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue