AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartImportResult.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/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace LexModelsV2
28{
29namespace Model
30{
32 {
33 public:
34 AWS_LEXMODELSV2_API StartImportResult();
37
38
40
43 inline const Aws::String& GetImportId() const{ return m_importId; }
44 inline void SetImportId(const Aws::String& value) { m_importId = value; }
45 inline void SetImportId(Aws::String&& value) { m_importId = std::move(value); }
46 inline void SetImportId(const char* value) { m_importId.assign(value); }
47 inline StartImportResult& WithImportId(const Aws::String& value) { SetImportId(value); return *this;}
48 inline StartImportResult& WithImportId(Aws::String&& value) { SetImportId(std::move(value)); return *this;}
49 inline StartImportResult& WithImportId(const char* value) { SetImportId(value); return *this;}
51
53
56 inline const ImportResourceSpecification& GetResourceSpecification() const{ return m_resourceSpecification; }
57 inline void SetResourceSpecification(const ImportResourceSpecification& value) { m_resourceSpecification = value; }
58 inline void SetResourceSpecification(ImportResourceSpecification&& value) { m_resourceSpecification = std::move(value); }
62
64
70 inline const MergeStrategy& GetMergeStrategy() const{ return m_mergeStrategy; }
71 inline void SetMergeStrategy(const MergeStrategy& value) { m_mergeStrategy = value; }
72 inline void SetMergeStrategy(MergeStrategy&& value) { m_mergeStrategy = std::move(value); }
73 inline StartImportResult& WithMergeStrategy(const MergeStrategy& value) { SetMergeStrategy(value); return *this;}
74 inline StartImportResult& WithMergeStrategy(MergeStrategy&& value) { SetMergeStrategy(std::move(value)); return *this;}
76
78
82 inline const ImportStatus& GetImportStatus() const{ return m_importStatus; }
83 inline void SetImportStatus(const ImportStatus& value) { m_importStatus = value; }
84 inline void SetImportStatus(ImportStatus&& value) { m_importStatus = std::move(value); }
85 inline StartImportResult& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;}
86 inline StartImportResult& WithImportStatus(ImportStatus&& value) { SetImportStatus(std::move(value)); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
94 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
95 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
97 inline StartImportResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
99
101
102 inline const Aws::String& GetRequestId() const{ return m_requestId; }
103 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
104 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
105 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
106 inline StartImportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
107 inline StartImportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
108 inline StartImportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
110 private:
111
112 Aws::String m_importId;
113
114 ImportResourceSpecification m_resourceSpecification;
115
116 MergeStrategy m_mergeStrategy;
117
118 ImportStatus m_importStatus;
119
120 Aws::Utils::DateTime m_creationDateTime;
121
122 Aws::String m_requestId;
123 };
124
125} // namespace Model
126} // namespace LexModelsV2
127} // namespace Aws
StartImportResult & WithMergeStrategy(MergeStrategy &&value)
const ImportStatus & GetImportStatus() const
StartImportResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
StartImportResult & WithImportStatus(ImportStatus &&value)
StartImportResult & WithRequestId(Aws::String &&value)
void SetResourceSpecification(const ImportResourceSpecification &value)
StartImportResult & WithRequestId(const Aws::String &value)
AWS_LEXMODELSV2_API StartImportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartImportResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetImportId(const Aws::String &value)
StartImportResult & WithResourceSpecification(const ImportResourceSpecification &value)
StartImportResult & WithMergeStrategy(const MergeStrategy &value)
void SetRequestId(const Aws::String &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
StartImportResult & WithRequestId(const char *value)
void SetResourceSpecification(ImportResourceSpecification &&value)
void SetImportStatus(const ImportStatus &value)
StartImportResult & WithResourceSpecification(ImportResourceSpecification &&value)
AWS_LEXMODELSV2_API StartImportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetMergeStrategy(MergeStrategy &&value)
StartImportResult & WithImportId(const Aws::String &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
StartImportResult & WithImportId(const char *value)
const MergeStrategy & GetMergeStrategy() const
StartImportResult & WithImportStatus(const ImportStatus &value)
void SetMergeStrategy(const MergeStrategy &value)
StartImportResult & WithImportId(Aws::String &&value)
const ImportResourceSpecification & GetResourceSpecification() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue