AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportSummary.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/ImportStatus.h>
10#include <aws/lexv2-models/model/MergeStrategy.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/lexv2-models/model/ImportResourceType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace LexModelsV2
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_LEXMODELSV2_API ImportSummary();
40 AWS_LEXMODELSV2_API ImportSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_API ImportSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetImportId() const{ return m_importId; }
50 inline bool ImportIdHasBeenSet() const { return m_importIdHasBeenSet; }
51 inline void SetImportId(const Aws::String& value) { m_importIdHasBeenSet = true; m_importId = value; }
52 inline void SetImportId(Aws::String&& value) { m_importIdHasBeenSet = true; m_importId = std::move(value); }
53 inline void SetImportId(const char* value) { m_importIdHasBeenSet = true; m_importId.assign(value); }
54 inline ImportSummary& WithImportId(const Aws::String& value) { SetImportId(value); return *this;}
55 inline ImportSummary& WithImportId(Aws::String&& value) { SetImportId(std::move(value)); return *this;}
56 inline ImportSummary& WithImportId(const char* value) { SetImportId(value); return *this;}
58
60
63 inline const Aws::String& GetImportedResourceId() const{ return m_importedResourceId; }
64 inline bool ImportedResourceIdHasBeenSet() const { return m_importedResourceIdHasBeenSet; }
65 inline void SetImportedResourceId(const Aws::String& value) { m_importedResourceIdHasBeenSet = true; m_importedResourceId = value; }
66 inline void SetImportedResourceId(Aws::String&& value) { m_importedResourceIdHasBeenSet = true; m_importedResourceId = std::move(value); }
67 inline void SetImportedResourceId(const char* value) { m_importedResourceIdHasBeenSet = true; m_importedResourceId.assign(value); }
68 inline ImportSummary& WithImportedResourceId(const Aws::String& value) { SetImportedResourceId(value); return *this;}
69 inline ImportSummary& WithImportedResourceId(Aws::String&& value) { SetImportedResourceId(std::move(value)); return *this;}
70 inline ImportSummary& WithImportedResourceId(const char* value) { SetImportedResourceId(value); return *this;}
72
74
77 inline const Aws::String& GetImportedResourceName() const{ return m_importedResourceName; }
78 inline bool ImportedResourceNameHasBeenSet() const { return m_importedResourceNameHasBeenSet; }
79 inline void SetImportedResourceName(const Aws::String& value) { m_importedResourceNameHasBeenSet = true; m_importedResourceName = value; }
80 inline void SetImportedResourceName(Aws::String&& value) { m_importedResourceNameHasBeenSet = true; m_importedResourceName = std::move(value); }
81 inline void SetImportedResourceName(const char* value) { m_importedResourceNameHasBeenSet = true; m_importedResourceName.assign(value); }
82 inline ImportSummary& WithImportedResourceName(const Aws::String& value) { SetImportedResourceName(value); return *this;}
83 inline ImportSummary& WithImportedResourceName(Aws::String&& value) { SetImportedResourceName(std::move(value)); return *this;}
84 inline ImportSummary& WithImportedResourceName(const char* value) { SetImportedResourceName(value); return *this;}
86
88
92 inline const ImportStatus& GetImportStatus() const{ return m_importStatus; }
93 inline bool ImportStatusHasBeenSet() const { return m_importStatusHasBeenSet; }
94 inline void SetImportStatus(const ImportStatus& value) { m_importStatusHasBeenSet = true; m_importStatus = value; }
95 inline void SetImportStatus(ImportStatus&& value) { m_importStatusHasBeenSet = true; m_importStatus = std::move(value); }
96 inline ImportSummary& WithImportStatus(const ImportStatus& value) { SetImportStatus(value); return *this;}
97 inline ImportSummary& WithImportStatus(ImportStatus&& value) { SetImportStatus(std::move(value)); return *this;}
99
101
105 inline const MergeStrategy& GetMergeStrategy() const{ return m_mergeStrategy; }
106 inline bool MergeStrategyHasBeenSet() const { return m_mergeStrategyHasBeenSet; }
107 inline void SetMergeStrategy(const MergeStrategy& value) { m_mergeStrategyHasBeenSet = true; m_mergeStrategy = value; }
108 inline void SetMergeStrategy(MergeStrategy&& value) { m_mergeStrategyHasBeenSet = true; m_mergeStrategy = std::move(value); }
109 inline ImportSummary& WithMergeStrategy(const MergeStrategy& value) { SetMergeStrategy(value); return *this;}
110 inline ImportSummary& WithMergeStrategy(MergeStrategy&& value) { SetMergeStrategy(std::move(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
118 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
119 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
120 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
121 inline ImportSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
122 inline ImportSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
130 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
131 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
132 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
134 inline ImportSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
136
138
141 inline const ImportResourceType& GetImportedResourceType() const{ return m_importedResourceType; }
142 inline bool ImportedResourceTypeHasBeenSet() const { return m_importedResourceTypeHasBeenSet; }
143 inline void SetImportedResourceType(const ImportResourceType& value) { m_importedResourceTypeHasBeenSet = true; m_importedResourceType = value; }
144 inline void SetImportedResourceType(ImportResourceType&& value) { m_importedResourceTypeHasBeenSet = true; m_importedResourceType = std::move(value); }
146 inline ImportSummary& WithImportedResourceType(ImportResourceType&& value) { SetImportedResourceType(std::move(value)); return *this;}
148 private:
149
150 Aws::String m_importId;
151 bool m_importIdHasBeenSet = false;
152
153 Aws::String m_importedResourceId;
154 bool m_importedResourceIdHasBeenSet = false;
155
156 Aws::String m_importedResourceName;
157 bool m_importedResourceNameHasBeenSet = false;
158
159 ImportStatus m_importStatus;
160 bool m_importStatusHasBeenSet = false;
161
162 MergeStrategy m_mergeStrategy;
163 bool m_mergeStrategyHasBeenSet = false;
164
165 Aws::Utils::DateTime m_creationDateTime;
166 bool m_creationDateTimeHasBeenSet = false;
167
168 Aws::Utils::DateTime m_lastUpdatedDateTime;
169 bool m_lastUpdatedDateTimeHasBeenSet = false;
170
171 ImportResourceType m_importedResourceType;
172 bool m_importedResourceTypeHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace LexModelsV2
177} // namespace Aws
const Aws::String & GetImportedResourceName() const
ImportSummary & WithImportedResourceId(const Aws::String &value)
void SetImportedResourceType(const ImportResourceType &value)
ImportSummary & WithImportedResourceType(const ImportResourceType &value)
ImportSummary & WithImportedResourceName(Aws::String &&value)
void SetImportId(const Aws::String &value)
void SetImportedResourceName(const Aws::String &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
ImportSummary & WithImportId(Aws::String &&value)
ImportSummary & WithMergeStrategy(MergeStrategy &&value)
ImportSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
ImportSummary & WithImportStatus(const ImportStatus &value)
const ImportResourceType & GetImportedResourceType() const
const Aws::String & GetImportId() const
ImportSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetImportedResourceId() const
void SetImportedResourceId(Aws::String &&value)
void SetMergeStrategy(const MergeStrategy &value)
ImportSummary & WithImportedResourceId(const char *value)
void SetImportedResourceId(const Aws::String &value)
ImportSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetImportedResourceType(ImportResourceType &&value)
void SetImportId(const char *value)
void SetImportStatus(ImportStatus &&value)
ImportSummary & WithMergeStrategy(const MergeStrategy &value)
ImportSummary & WithImportId(const Aws::String &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
ImportSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetImportStatus(const ImportStatus &value)
const ImportStatus & GetImportStatus() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
AWS_LEXMODELSV2_API ImportSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
const MergeStrategy & GetMergeStrategy() const
ImportSummary & WithImportedResourceId(Aws::String &&value)
void SetMergeStrategy(MergeStrategy &&value)
ImportSummary & WithImportId(const char *value)
void SetImportedResourceName(Aws::String &&value)
ImportSummary & WithImportedResourceName(const char *value)
AWS_LEXMODELSV2_API ImportSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ImportSummary & WithImportedResourceName(const Aws::String &value)
ImportSummary & WithImportedResourceType(ImportResourceType &&value)
void SetImportId(Aws::String &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
ImportSummary & WithImportStatus(ImportStatus &&value)
void SetImportedResourceId(const char *value)
void SetImportedResourceName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue