AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetExportRequest.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/lex-models/LexModelBuildingServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lex-models/model/ResourceType.h>
11#include <aws/lex-models/model/ExportType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace LexModelBuildingService
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_LEXMODELBUILDINGSERVICE_API GetExportRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "GetExport"; }
37
38 AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override;
39
40 AWS_LEXMODELBUILDINGSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline GetExportRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline GetExportRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline GetExportRequest& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetVersion() const{ return m_version; }
62 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
63 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
64 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
65 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
66 inline GetExportRequest& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
67 inline GetExportRequest& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
68 inline GetExportRequest& WithVersion(const char* value) { SetVersion(value); return *this;}
70
72
75 inline const ResourceType& GetResourceType() const{ return m_resourceType; }
76 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
77 inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
78 inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
79 inline GetExportRequest& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
80 inline GetExportRequest& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
82
84
87 inline const ExportType& GetExportType() const{ return m_exportType; }
88 inline bool ExportTypeHasBeenSet() const { return m_exportTypeHasBeenSet; }
89 inline void SetExportType(const ExportType& value) { m_exportTypeHasBeenSet = true; m_exportType = value; }
90 inline void SetExportType(ExportType&& value) { m_exportTypeHasBeenSet = true; m_exportType = std::move(value); }
91 inline GetExportRequest& WithExportType(const ExportType& value) { SetExportType(value); return *this;}
92 inline GetExportRequest& WithExportType(ExportType&& value) { SetExportType(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
99 Aws::String m_version;
100 bool m_versionHasBeenSet = false;
101
102 ResourceType m_resourceType;
103 bool m_resourceTypeHasBeenSet = false;
104
105 ExportType m_exportType;
106 bool m_exportTypeHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace LexModelBuildingService
111} // namespace Aws
AWS_LEXMODELBUILDINGSERVICE_API GetExportRequest()
GetExportRequest & WithName(const Aws::String &value)
GetExportRequest & WithResourceType(ResourceType &&value)
GetExportRequest & WithExportType(const ExportType &value)
GetExportRequest & WithExportType(ExportType &&value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override
GetExportRequest & WithName(const char *value)
GetExportRequest & WithVersion(const char *value)
AWS_LEXMODELBUILDINGSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetExportRequest & WithVersion(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
GetExportRequest & WithName(Aws::String &&value)
GetExportRequest & WithVersion(const Aws::String &value)
GetExportRequest & WithResourceType(const ResourceType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String