AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 GetExportRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetVersion() const { return m_version; }
60 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
61 template<typename VersionT = Aws::String>
62 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
63 template<typename VersionT = Aws::String>
64 GetExportRequest& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
66
68
71 inline ResourceType GetResourceType() const { return m_resourceType; }
72 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
73 inline void SetResourceType(ResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
74 inline GetExportRequest& WithResourceType(ResourceType value) { SetResourceType(value); return *this;}
76
78
81 inline ExportType GetExportType() const { return m_exportType; }
82 inline bool ExportTypeHasBeenSet() const { return m_exportTypeHasBeenSet; }
83 inline void SetExportType(ExportType value) { m_exportTypeHasBeenSet = true; m_exportType = value; }
84 inline GetExportRequest& WithExportType(ExportType value) { SetExportType(value); return *this;}
86 private:
87
88 Aws::String m_name;
89 bool m_nameHasBeenSet = false;
90
91 Aws::String m_version;
92 bool m_versionHasBeenSet = false;
93
94 ResourceType m_resourceType{ResourceType::NOT_SET};
95 bool m_resourceTypeHasBeenSet = false;
96
97 ExportType m_exportType{ExportType::NOT_SET};
98 bool m_exportTypeHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace LexModelBuildingService
103} // namespace Aws
GetExportRequest & WithVersion(VersionT &&value)
GetExportRequest & WithExportType(ExportType value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override
AWS_LEXMODELBUILDINGSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
GetExportRequest & WithResourceType(ResourceType value)
AWS_LEXMODELBUILDINGSERVICE_API GetExportRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String