AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartImportRequest.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lexv2-models/model/ImportResourceSpecification.h>
11#include <aws/lexv2-models/model/MergeStrategy.h>
12#include <utility>
13
14namespace Aws
15{
16namespace LexModelsV2
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LEXMODELSV2_API StartImportRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartImport"; }
33
34 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
35
36
38
44 inline const Aws::String& GetImportId() const{ return m_importId; }
45 inline bool ImportIdHasBeenSet() const { return m_importIdHasBeenSet; }
46 inline void SetImportId(const Aws::String& value) { m_importIdHasBeenSet = true; m_importId = value; }
47 inline void SetImportId(Aws::String&& value) { m_importIdHasBeenSet = true; m_importId = std::move(value); }
48 inline void SetImportId(const char* value) { m_importIdHasBeenSet = true; m_importId.assign(value); }
49 inline StartImportRequest& WithImportId(const Aws::String& value) { SetImportId(value); return *this;}
50 inline StartImportRequest& WithImportId(Aws::String&& value) { SetImportId(std::move(value)); return *this;}
51 inline StartImportRequest& WithImportId(const char* value) { SetImportId(value); return *this;}
53
55
58 inline const ImportResourceSpecification& GetResourceSpecification() const{ return m_resourceSpecification; }
59 inline bool ResourceSpecificationHasBeenSet() const { return m_resourceSpecificationHasBeenSet; }
60 inline void SetResourceSpecification(const ImportResourceSpecification& value) { m_resourceSpecificationHasBeenSet = true; m_resourceSpecification = value; }
61 inline void SetResourceSpecification(ImportResourceSpecification&& value) { m_resourceSpecificationHasBeenSet = true; m_resourceSpecification = std::move(value); }
65
67
73 inline const MergeStrategy& GetMergeStrategy() const{ return m_mergeStrategy; }
74 inline bool MergeStrategyHasBeenSet() const { return m_mergeStrategyHasBeenSet; }
75 inline void SetMergeStrategy(const MergeStrategy& value) { m_mergeStrategyHasBeenSet = true; m_mergeStrategy = value; }
76 inline void SetMergeStrategy(MergeStrategy&& value) { m_mergeStrategyHasBeenSet = true; m_mergeStrategy = std::move(value); }
77 inline StartImportRequest& WithMergeStrategy(const MergeStrategy& value) { SetMergeStrategy(value); return *this;}
78 inline StartImportRequest& WithMergeStrategy(MergeStrategy&& value) { SetMergeStrategy(std::move(value)); return *this;}
80
82
87 inline const Aws::String& GetFilePassword() const{ return m_filePassword; }
88 inline bool FilePasswordHasBeenSet() const { return m_filePasswordHasBeenSet; }
89 inline void SetFilePassword(const Aws::String& value) { m_filePasswordHasBeenSet = true; m_filePassword = value; }
90 inline void SetFilePassword(Aws::String&& value) { m_filePasswordHasBeenSet = true; m_filePassword = std::move(value); }
91 inline void SetFilePassword(const char* value) { m_filePasswordHasBeenSet = true; m_filePassword.assign(value); }
92 inline StartImportRequest& WithFilePassword(const Aws::String& value) { SetFilePassword(value); return *this;}
93 inline StartImportRequest& WithFilePassword(Aws::String&& value) { SetFilePassword(std::move(value)); return *this;}
94 inline StartImportRequest& WithFilePassword(const char* value) { SetFilePassword(value); return *this;}
96 private:
97
98 Aws::String m_importId;
99 bool m_importIdHasBeenSet = false;
100
101 ImportResourceSpecification m_resourceSpecification;
102 bool m_resourceSpecificationHasBeenSet = false;
103
104 MergeStrategy m_mergeStrategy;
105 bool m_mergeStrategyHasBeenSet = false;
106
107 Aws::String m_filePassword;
108 bool m_filePasswordHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace LexModelsV2
113} // namespace Aws
void SetFilePassword(const Aws::String &value)
StartImportRequest & WithImportId(const char *value)
void SetMergeStrategy(const MergeStrategy &value)
StartImportRequest & WithImportId(Aws::String &&value)
StartImportRequest & WithFilePassword(const Aws::String &value)
StartImportRequest & WithResourceSpecification(ImportResourceSpecification &&value)
void SetImportId(const Aws::String &value)
StartImportRequest & WithMergeStrategy(MergeStrategy &&value)
void SetResourceSpecification(const ImportResourceSpecification &value)
const MergeStrategy & GetMergeStrategy() const
StartImportRequest & WithMergeStrategy(const MergeStrategy &value)
StartImportRequest & WithFilePassword(Aws::String &&value)
const ImportResourceSpecification & GetResourceSpecification() const
virtual const char * GetServiceRequestName() const override
StartImportRequest & WithFilePassword(const char *value)
StartImportRequest & WithResourceSpecification(const ImportResourceSpecification &value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
void SetResourceSpecification(ImportResourceSpecification &&value)
StartImportRequest & WithImportId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String