AWS SDK for C++  1.9.102
AWS SDK for C++
StartImportResult.h
Go to the documentation of this file.
1 
6 #pragma once
15 #include <utility>
16 
17 namespace Aws
18 {
19 template<typename RESULT_TYPE>
20 class AmazonWebServiceResult;
21 
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace LexModelBuildingService
30 {
31 namespace Model
32 {
34  {
35  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline void SetName(const Aws::String& value) { m_name = value; }
50 
54  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
55 
59  inline void SetName(const char* value) { m_name.assign(value); }
60 
64  inline StartImportResult& WithName(const Aws::String& value) { SetName(value); return *this;}
65 
69  inline StartImportResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 
74  inline StartImportResult& WithName(const char* value) { SetName(value); return *this;}
75 
76 
80  inline const ResourceType& GetResourceType() const{ return m_resourceType; }
81 
85  inline void SetResourceType(const ResourceType& value) { m_resourceType = value; }
86 
90  inline void SetResourceType(ResourceType&& value) { m_resourceType = std::move(value); }
91 
95  inline StartImportResult& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
96 
100  inline StartImportResult& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
101 
102 
106  inline const MergeStrategy& GetMergeStrategy() const{ return m_mergeStrategy; }
107 
111  inline void SetMergeStrategy(const MergeStrategy& value) { m_mergeStrategy = value; }
112 
116  inline void SetMergeStrategy(MergeStrategy&& value) { m_mergeStrategy = std::move(value); }
117 
121  inline StartImportResult& WithMergeStrategy(const MergeStrategy& value) { SetMergeStrategy(value); return *this;}
122 
126  inline StartImportResult& WithMergeStrategy(MergeStrategy&& value) { SetMergeStrategy(std::move(value)); return *this;}
127 
128 
132  inline const Aws::String& GetImportId() const{ return m_importId; }
133 
137  inline void SetImportId(const Aws::String& value) { m_importId = value; }
138 
142  inline void SetImportId(Aws::String&& value) { m_importId = std::move(value); }
143 
147  inline void SetImportId(const char* value) { m_importId.assign(value); }
148 
152  inline StartImportResult& WithImportId(const Aws::String& value) { SetImportId(value); return *this;}
153 
157  inline StartImportResult& WithImportId(Aws::String&& value) { SetImportId(std::move(value)); return *this;}
158 
162  inline StartImportResult& WithImportId(const char* value) { SetImportId(value); return *this;}
163 
164 
169  inline const ImportStatus& GetImportStatus() const{ return m_importStatus; }
170 
175  inline void SetImportStatus(const ImportStatus& value) { m_importStatus = value; }
176 
181  inline void SetImportStatus(ImportStatus&& value) { m_importStatus = std::move(value); }
182 
187  inline StartImportResult& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;}
188 
193  inline StartImportResult& WithImportStatus(ImportStatus&& value) { SetImportStatus(std::move(value)); return *this;}
194 
195 
199  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
200 
204  inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
205 
209  inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
210 
214  inline StartImportResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
215 
219  inline StartImportResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
220 
224  inline StartImportResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
225 
229  inline StartImportResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
230 
231 
235  inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
236 
240  inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
241 
245  inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
246 
250  inline StartImportResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
251 
255  inline StartImportResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
256 
257  private:
258 
259  Aws::String m_name;
260 
261  ResourceType m_resourceType;
262 
263  MergeStrategy m_mergeStrategy;
264 
265  Aws::String m_importId;
266 
267  ImportStatus m_importStatus;
268 
269  Aws::Vector<Tag> m_tags;
270 
271  Aws::Utils::DateTime m_createdDate;
272  };
273 
274 } // namespace Model
275 } // namespace LexModelBuildingService
276 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::LexModelBuildingService::Model::StartImportResult::GetName
const Aws::String & GetName() const
Definition: StartImportResult.h:44
Aws::LexModelBuildingService::Model::StartImportResult::WithImportStatus
StartImportResult & WithImportStatus(const ImportStatus &value)
Definition: StartImportResult.h:187
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::LexModelBuildingService::Model::StartImportResult::SetImportId
void SetImportId(const Aws::String &value)
Definition: StartImportResult.h:137
Aws::LexModelBuildingService::Model::StartImportResult::GetMergeStrategy
const MergeStrategy & GetMergeStrategy() const
Definition: StartImportResult.h:106
Aws::LexModelBuildingService::Model::StartImportResult::WithResourceType
StartImportResult & WithResourceType(ResourceType &&value)
Definition: StartImportResult.h:100
Aws::LexModelBuildingService::Model::StartImportResult::WithName
StartImportResult & WithName(const Aws::String &value)
Definition: StartImportResult.h:64
Aws::LexModelBuildingService::Model::StartImportResult::StartImportResult
StartImportResult()
Aws::LexModelBuildingService::Model::StartImportResult::SetName
void SetName(Aws::String &&value)
Definition: StartImportResult.h:54
Aws::LexModelBuildingService::Model::StartImportResult::WithResourceType
StartImportResult & WithResourceType(const ResourceType &value)
Definition: StartImportResult.h:95
DateTime.h
ResourceType.h
Aws::LexModelBuildingService::Model::StartImportResult::WithName
StartImportResult & WithName(const char *value)
Definition: StartImportResult.h:74
Aws::LexModelBuildingService::Model::StartImportResult::SetImportId
void SetImportId(Aws::String &&value)
Definition: StartImportResult.h:142
Aws::LexModelBuildingService::Model::StartImportResult::SetResourceType
void SetResourceType(ResourceType &&value)
Definition: StartImportResult.h:90
Aws::LexModelBuildingService::Model::StartImportResult::WithMergeStrategy
StartImportResult & WithMergeStrategy(const MergeStrategy &value)
Definition: StartImportResult.h:121
Aws::LexModelBuildingService::Model::StartImportResult::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: StartImportResult.h:240
Aws::LexModelBuildingService::Model::StartImportResult::AddTags
StartImportResult & AddTags(const Tag &value)
Definition: StartImportResult.h:224
Aws::LexModelBuildingService::Model::StartImportResult::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: StartImportResult.h:209
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
ImportStatus.h
Aws::LexModelBuildingService::Model::StartImportResult::SetName
void SetName(const char *value)
Definition: StartImportResult.h:59
Aws::LexModelBuildingService::Model::StartImportResult::SetImportStatus
void SetImportStatus(const ImportStatus &value)
Definition: StartImportResult.h:175
Aws::LexModelBuildingService::Model::ResourceType
ResourceType
Definition: ResourceType.h:17
Aws::LexModelBuildingService::Model::MergeStrategy
MergeStrategy
Definition: MergeStrategy.h:17
Aws::LexModelBuildingService::Model::StartImportResult::SetMergeStrategy
void SetMergeStrategy(MergeStrategy &&value)
Definition: StartImportResult.h:116
Aws::LexModelBuildingService::Model::StartImportResult::StartImportResult
StartImportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::LexModelBuildingService::Model::StartImportResult::SetMergeStrategy
void SetMergeStrategy(const MergeStrategy &value)
Definition: StartImportResult.h:111
Aws::LexModelBuildingService::Model::StartImportResult::SetResourceType
void SetResourceType(const ResourceType &value)
Definition: StartImportResult.h:85
LexModelBuildingService_EXPORTS.h
Aws::LexModelBuildingService::Model::StartImportResult::GetImportStatus
const ImportStatus & GetImportStatus() const
Definition: StartImportResult.h:169
Aws::LexModelBuildingService::Model::StartImportResult::GetResourceType
const ResourceType & GetResourceType() const
Definition: StartImportResult.h:80
Aws::LexModelBuildingService::Model::StartImportResult::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: StartImportResult.h:235
AWSString.h
AWS_LEXMODELBUILDINGSERVICE_API
#define AWS_LEXMODELBUILDINGSERVICE_API
Definition: LexModelBuildingService_EXPORTS.h:28
Aws::LexModelBuildingService::Model::StartImportResult::WithImportId
StartImportResult & WithImportId(const Aws::String &value)
Definition: StartImportResult.h:152
Aws::LexModelBuildingService::Model::StartImportResult::SetImportId
void SetImportId(const char *value)
Definition: StartImportResult.h:147
Aws::LexModelBuildingService::Model::StartImportResult::WithImportStatus
StartImportResult & WithImportStatus(ImportStatus &&value)
Definition: StartImportResult.h:193
Aws::LexModelBuildingService::Model::StartImportResult::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: StartImportResult.h:245
Aws::LexModelBuildingService::Model::StartImportResult::GetImportId
const Aws::String & GetImportId() const
Definition: StartImportResult.h:132
Tag.h
Aws::LexModelBuildingService::Model::ImportStatus
ImportStatus
Definition: ImportStatus.h:17
MergeStrategy.h
Aws::LexModelBuildingService::Model::StartImportResult::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: StartImportResult.h:199
Aws::LexModelBuildingService::Model::StartImportResult::WithCreatedDate
StartImportResult & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: StartImportResult.h:250
Aws::LexModelBuildingService::Model::StartImportResult::operator=
StartImportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::LexModelBuildingService::Model::StartImportResult::SetName
void SetName(const Aws::String &value)
Definition: StartImportResult.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::LexModelBuildingService::Model::StartImportResult::WithMergeStrategy
StartImportResult & WithMergeStrategy(MergeStrategy &&value)
Definition: StartImportResult.h:126
Aws::LexModelBuildingService::Model::StartImportResult::WithTags
StartImportResult & WithTags(const Aws::Vector< Tag > &value)
Definition: StartImportResult.h:214
Aws::LexModelBuildingService::Model::StartImportResult::WithName
StartImportResult & WithName(Aws::String &&value)
Definition: StartImportResult.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexModelBuildingService::Model::StartImportResult::WithImportId
StartImportResult & WithImportId(const char *value)
Definition: StartImportResult.h:162
Aws::LexModelBuildingService::Model::StartImportResult::SetImportStatus
void SetImportStatus(ImportStatus &&value)
Definition: StartImportResult.h:181
Aws::LexModelBuildingService::Model::StartImportResult::WithTags
StartImportResult & WithTags(Aws::Vector< Tag > &&value)
Definition: StartImportResult.h:219
Aws::LexModelBuildingService::Model::StartImportResult::AddTags
StartImportResult & AddTags(Tag &&value)
Definition: StartImportResult.h:229
Aws::LexModelBuildingService::Model::StartImportResult
Definition: StartImportResult.h:34
Aws::LexModelBuildingService::Model::StartImportResult::WithImportId
StartImportResult & WithImportId(Aws::String &&value)
Definition: StartImportResult.h:157
Aws::LexModelBuildingService::Model::StartImportResult::WithCreatedDate
StartImportResult & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: StartImportResult.h:255
Aws::LexModelBuildingService::Model::Tag
Definition: Tag.h:34
Aws::LexModelBuildingService::Model::StartImportResult::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: StartImportResult.h:204