AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeImportResult.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/ImportResourceSpecification.h>
10#include <aws/lexv2-models/model/MergeStrategy.h>
11#include <aws/lexv2-models/model/ImportStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/DateTime.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace LexModelsV2
29{
30namespace Model
31{
33 {
34 public:
35 AWS_LEXMODELSV2_API DescribeImportResult();
38
39
41
44 inline const Aws::String& GetImportId() const{ return m_importId; }
45 inline void SetImportId(const Aws::String& value) { m_importId = value; }
46 inline void SetImportId(Aws::String&& value) { m_importId = std::move(value); }
47 inline void SetImportId(const char* value) { m_importId.assign(value); }
48 inline DescribeImportResult& WithImportId(const Aws::String& value) { SetImportId(value); return *this;}
49 inline DescribeImportResult& WithImportId(Aws::String&& value) { SetImportId(std::move(value)); return *this;}
50 inline DescribeImportResult& WithImportId(const char* value) { SetImportId(value); return *this;}
52
54
57 inline const ImportResourceSpecification& GetResourceSpecification() const{ return m_resourceSpecification; }
58 inline void SetResourceSpecification(const ImportResourceSpecification& value) { m_resourceSpecification = value; }
59 inline void SetResourceSpecification(ImportResourceSpecification&& value) { m_resourceSpecification = std::move(value); }
63
65
69 inline const Aws::String& GetImportedResourceId() const{ return m_importedResourceId; }
70 inline void SetImportedResourceId(const Aws::String& value) { m_importedResourceId = value; }
71 inline void SetImportedResourceId(Aws::String&& value) { m_importedResourceId = std::move(value); }
72 inline void SetImportedResourceId(const char* value) { m_importedResourceId.assign(value); }
74 inline DescribeImportResult& WithImportedResourceId(Aws::String&& value) { SetImportedResourceId(std::move(value)); return *this;}
75 inline DescribeImportResult& WithImportedResourceId(const char* value) { SetImportedResourceId(value); return *this;}
77
79
82 inline const Aws::String& GetImportedResourceName() const{ return m_importedResourceName; }
83 inline void SetImportedResourceName(const Aws::String& value) { m_importedResourceName = value; }
84 inline void SetImportedResourceName(Aws::String&& value) { m_importedResourceName = std::move(value); }
85 inline void SetImportedResourceName(const char* value) { m_importedResourceName.assign(value); }
87 inline DescribeImportResult& WithImportedResourceName(Aws::String&& value) { SetImportedResourceName(std::move(value)); return *this;}
88 inline DescribeImportResult& WithImportedResourceName(const char* value) { SetImportedResourceName(value); return *this;}
90
92
98 inline const MergeStrategy& GetMergeStrategy() const{ return m_mergeStrategy; }
99 inline void SetMergeStrategy(const MergeStrategy& value) { m_mergeStrategy = value; }
100 inline void SetMergeStrategy(MergeStrategy&& value) { m_mergeStrategy = std::move(value); }
101 inline DescribeImportResult& WithMergeStrategy(const MergeStrategy& value) { SetMergeStrategy(value); return *this;}
102 inline DescribeImportResult& WithMergeStrategy(MergeStrategy&& value) { SetMergeStrategy(std::move(value)); return *this;}
104
106
110 inline const ImportStatus& GetImportStatus() const{ return m_importStatus; }
111 inline void SetImportStatus(const ImportStatus& value) { m_importStatus = value; }
112 inline void SetImportStatus(ImportStatus&& value) { m_importStatus = std::move(value); }
113 inline DescribeImportResult& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;}
114 inline DescribeImportResult& WithImportStatus(ImportStatus&& value) { SetImportStatus(std::move(value)); return *this;}
116
118
122 inline const Aws::Vector<Aws::String>& GetFailureReasons() const{ return m_failureReasons; }
123 inline void SetFailureReasons(const Aws::Vector<Aws::String>& value) { m_failureReasons = value; }
124 inline void SetFailureReasons(Aws::Vector<Aws::String>&& value) { m_failureReasons = std::move(value); }
126 inline DescribeImportResult& WithFailureReasons(Aws::Vector<Aws::String>&& value) { SetFailureReasons(std::move(value)); return *this;}
127 inline DescribeImportResult& AddFailureReasons(const Aws::String& value) { m_failureReasons.push_back(value); return *this; }
128 inline DescribeImportResult& AddFailureReasons(Aws::String&& value) { m_failureReasons.push_back(std::move(value)); return *this; }
129 inline DescribeImportResult& AddFailureReasons(const char* value) { m_failureReasons.push_back(value); return *this; }
131
133
136 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
137 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
138 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
140 inline DescribeImportResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
148 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTime = value; }
149 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTime = std::move(value); }
153
155
156 inline const Aws::String& GetRequestId() const{ return m_requestId; }
157 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
158 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
159 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
160 inline DescribeImportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
161 inline DescribeImportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
162 inline DescribeImportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
164 private:
165
166 Aws::String m_importId;
167
168 ImportResourceSpecification m_resourceSpecification;
169
170 Aws::String m_importedResourceId;
171
172 Aws::String m_importedResourceName;
173
174 MergeStrategy m_mergeStrategy;
175
176 ImportStatus m_importStatus;
177
178 Aws::Vector<Aws::String> m_failureReasons;
179
180 Aws::Utils::DateTime m_creationDateTime;
181
182 Aws::Utils::DateTime m_lastUpdatedDateTime;
183
184 Aws::String m_requestId;
185 };
186
187} // namespace Model
188} // namespace LexModelsV2
189} // namespace Aws
DescribeImportResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetImportedResourceName(const Aws::String &value)
DescribeImportResult & WithImportedResourceId(const char *value)
DescribeImportResult & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
AWS_LEXMODELSV2_API DescribeImportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeImportResult & AddFailureReasons(const Aws::String &value)
DescribeImportResult & WithMergeStrategy(MergeStrategy &&value)
DescribeImportResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
DescribeImportResult & AddFailureReasons(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DescribeImportResult & WithRequestId(const char *value)
void SetFailureReasons(Aws::Vector< Aws::String > &&value)
DescribeImportResult & WithImportedResourceId(Aws::String &&value)
DescribeImportResult & WithImportId(const Aws::String &value)
DescribeImportResult & WithImportStatus(const ImportStatus &value)
DescribeImportResult & WithImportStatus(ImportStatus &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
DescribeImportResult & WithImportedResourceId(const Aws::String &value)
DescribeImportResult & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DescribeImportResult & WithRequestId(const Aws::String &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
DescribeImportResult & WithFailureReasons(Aws::Vector< Aws::String > &&value)
DescribeImportResult & WithImportedResourceName(const Aws::String &value)
void SetResourceSpecification(const ImportResourceSpecification &value)
const ImportResourceSpecification & GetResourceSpecification() const
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DescribeImportResult & WithImportId(Aws::String &&value)
DescribeImportResult & WithMergeStrategy(const MergeStrategy &value)
void SetImportedResourceId(const Aws::String &value)
DescribeImportResult & WithRequestId(Aws::String &&value)
DescribeImportResult & WithResourceSpecification(const ImportResourceSpecification &value)
void SetFailureReasons(const Aws::Vector< Aws::String > &value)
DescribeImportResult & WithImportedResourceName(Aws::String &&value)
DescribeImportResult & WithImportId(const char *value)
DescribeImportResult & WithFailureReasons(const Aws::Vector< Aws::String > &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetResourceSpecification(ImportResourceSpecification &&value)
DescribeImportResult & WithResourceSpecification(ImportResourceSpecification &&value)
DescribeImportResult & AddFailureReasons(const char *value)
AWS_LEXMODELSV2_API DescribeImportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeImportResult & WithImportedResourceName(const char *value)
void SetMergeStrategy(const MergeStrategy &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue