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/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/MergeStrategy.h>
11#include <aws/lex-models/model/ImportStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/lex-models/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace LexModelBuildingService
30{
31namespace Model
32{
34 {
35 public:
36 AWS_LEXMODELBUILDINGSERVICE_API StartImportResult();
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline void SetName(const Aws::String& value) { m_name = value; }
47 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
48 inline void SetName(const char* value) { m_name.assign(value); }
49 inline StartImportResult& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline StartImportResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline StartImportResult& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
59 inline void SetResourceType(const ResourceType& value) { m_resourceType = value; }
60 inline void SetResourceType(ResourceType&& value) { m_resourceType = std::move(value); }
61 inline StartImportResult& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
62 inline StartImportResult& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
64
66
69 inline const MergeStrategy& GetMergeStrategy() const{ return m_mergeStrategy; }
70 inline void SetMergeStrategy(const MergeStrategy& value) { m_mergeStrategy = value; }
71 inline void SetMergeStrategy(MergeStrategy&& value) { m_mergeStrategy = std::move(value); }
72 inline StartImportResult& WithMergeStrategy(const MergeStrategy& value) { SetMergeStrategy(value); return *this;}
73 inline StartImportResult& WithMergeStrategy(MergeStrategy&& value) { SetMergeStrategy(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetImportId() const{ return m_importId; }
81 inline void SetImportId(const Aws::String& value) { m_importId = value; }
82 inline void SetImportId(Aws::String&& value) { m_importId = std::move(value); }
83 inline void SetImportId(const char* value) { m_importId.assign(value); }
84 inline StartImportResult& WithImportId(const Aws::String& value) { SetImportId(value); return *this;}
85 inline StartImportResult& WithImportId(Aws::String&& value) { SetImportId(std::move(value)); return *this;}
86 inline StartImportResult& WithImportId(const char* value) { SetImportId(value); return *this;}
88
90
94 inline const ImportStatus& GetImportStatus() const{ return m_importStatus; }
95 inline void SetImportStatus(const ImportStatus& value) { m_importStatus = value; }
96 inline void SetImportStatus(ImportStatus&& value) { m_importStatus = std::move(value); }
97 inline StartImportResult& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;}
98 inline StartImportResult& WithImportStatus(ImportStatus&& value) { SetImportStatus(std::move(value)); return *this;}
100
102
105 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
106 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
107 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
108 inline StartImportResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
109 inline StartImportResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
110 inline StartImportResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
111 inline StartImportResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
113
115
118 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
119 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
120 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
121 inline StartImportResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
122 inline StartImportResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
124
126
127 inline const Aws::String& GetRequestId() const{ return m_requestId; }
128 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
129 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
130 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
131 inline StartImportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
132 inline StartImportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
133 inline StartImportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
135 private:
136
137 Aws::String m_name;
138
139 ResourceType m_resourceType;
140
141 MergeStrategy m_mergeStrategy;
142
143 Aws::String m_importId;
144
145 ImportStatus m_importStatus;
146
147 Aws::Vector<Tag> m_tags;
148
149 Aws::Utils::DateTime m_createdDate;
150
151 Aws::String m_requestId;
152 };
153
154} // namespace Model
155} // namespace LexModelBuildingService
156} // namespace Aws
AWS_LEXMODELBUILDINGSERVICE_API StartImportResult()
StartImportResult & WithImportId(const char *value)
StartImportResult & WithRequestId(Aws::String &&value)
StartImportResult & WithImportId(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
AWS_LEXMODELBUILDINGSERVICE_API StartImportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartImportResult & WithImportStatus(const ImportStatus &value)
StartImportResult & WithResourceType(const ResourceType &value)
StartImportResult & WithResourceType(ResourceType &&value)
StartImportResult & WithName(Aws::String &&value)
StartImportResult & WithMergeStrategy(const MergeStrategy &value)
StartImportResult & WithRequestId(const char *value)
StartImportResult & WithCreatedDate(Aws::Utils::DateTime &&value)
StartImportResult & WithTags(const Aws::Vector< Tag > &value)
StartImportResult & WithImportStatus(ImportStatus &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
StartImportResult & WithMergeStrategy(MergeStrategy &&value)
StartImportResult & WithName(const Aws::String &value)
StartImportResult & WithRequestId(const Aws::String &value)
StartImportResult & WithCreatedDate(const Aws::Utils::DateTime &value)
AWS_LEXMODELBUILDINGSERVICE_API StartImportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartImportResult & WithTags(Aws::Vector< Tag > &&value)
StartImportResult & WithName(const char *value)
StartImportResult & WithImportId(Aws::String &&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