AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateExportRequest.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/lexv2-models/model/ExportResourceSpecification.h>
10#include <aws/lexv2-models/model/ImportExportFileFormat.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace LexModelsV2
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LEXMODELSV2_API CreateExportRequest();
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 "CreateExport"; }
33
34 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
35
36
38
42 inline const ExportResourceSpecification& GetResourceSpecification() const{ return m_resourceSpecification; }
43 inline bool ResourceSpecificationHasBeenSet() const { return m_resourceSpecificationHasBeenSet; }
44 inline void SetResourceSpecification(const ExportResourceSpecification& value) { m_resourceSpecificationHasBeenSet = true; m_resourceSpecification = value; }
45 inline void SetResourceSpecification(ExportResourceSpecification&& value) { m_resourceSpecificationHasBeenSet = true; m_resourceSpecification = std::move(value); }
49
51
54 inline const ImportExportFileFormat& GetFileFormat() const{ return m_fileFormat; }
55 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
56 inline void SetFileFormat(const ImportExportFileFormat& value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
57 inline void SetFileFormat(ImportExportFileFormat&& value) { m_fileFormatHasBeenSet = true; m_fileFormat = std::move(value); }
58 inline CreateExportRequest& WithFileFormat(const ImportExportFileFormat& value) { SetFileFormat(value); return *this;}
59 inline CreateExportRequest& WithFileFormat(ImportExportFileFormat&& value) { SetFileFormat(std::move(value)); return *this;}
61
63
68 inline const Aws::String& GetFilePassword() const{ return m_filePassword; }
69 inline bool FilePasswordHasBeenSet() const { return m_filePasswordHasBeenSet; }
70 inline void SetFilePassword(const Aws::String& value) { m_filePasswordHasBeenSet = true; m_filePassword = value; }
71 inline void SetFilePassword(Aws::String&& value) { m_filePasswordHasBeenSet = true; m_filePassword = std::move(value); }
72 inline void SetFilePassword(const char* value) { m_filePasswordHasBeenSet = true; m_filePassword.assign(value); }
73 inline CreateExportRequest& WithFilePassword(const Aws::String& value) { SetFilePassword(value); return *this;}
74 inline CreateExportRequest& WithFilePassword(Aws::String&& value) { SetFilePassword(std::move(value)); return *this;}
75 inline CreateExportRequest& WithFilePassword(const char* value) { SetFilePassword(value); return *this;}
77 private:
78
79 ExportResourceSpecification m_resourceSpecification;
80 bool m_resourceSpecificationHasBeenSet = false;
81
82 ImportExportFileFormat m_fileFormat;
83 bool m_fileFormatHasBeenSet = false;
84
85 Aws::String m_filePassword;
86 bool m_filePasswordHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace LexModelsV2
91} // namespace Aws
CreateExportRequest & WithFilePassword(Aws::String &&value)
void SetResourceSpecification(ExportResourceSpecification &&value)
CreateExportRequest & WithFileFormat(ImportExportFileFormat &&value)
const ExportResourceSpecification & GetResourceSpecification() const
void SetFileFormat(const ImportExportFileFormat &value)
CreateExportRequest & WithResourceSpecification(ExportResourceSpecification &&value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
void SetResourceSpecification(const ExportResourceSpecification &value)
void SetFileFormat(ImportExportFileFormat &&value)
CreateExportRequest & WithFilePassword(const char *value)
CreateExportRequest & WithFileFormat(const ImportExportFileFormat &value)
virtual const char * GetServiceRequestName() const override
const ImportExportFileFormat & GetFileFormat() const
void SetFilePassword(const Aws::String &value)
CreateExportRequest & WithResourceSpecification(const ExportResourceSpecification &value)
CreateExportRequest & WithFilePassword(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String