AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportDocumentRequest.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/qapps/QAppsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qapps/model/DocumentScope.h>
11#include <utility>
12
13namespace Aws
14{
15namespace QApps
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QAPPS_API ImportDocumentRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ImportDocument"; }
32
33 AWS_QAPPS_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
46 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
47 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
48 inline ImportDocumentRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
49 inline ImportDocumentRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline ImportDocumentRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
52
54
58 inline const Aws::String& GetCardId() const{ return m_cardId; }
59 inline bool CardIdHasBeenSet() const { return m_cardIdHasBeenSet; }
60 inline void SetCardId(const Aws::String& value) { m_cardIdHasBeenSet = true; m_cardId = value; }
61 inline void SetCardId(Aws::String&& value) { m_cardIdHasBeenSet = true; m_cardId = std::move(value); }
62 inline void SetCardId(const char* value) { m_cardIdHasBeenSet = true; m_cardId.assign(value); }
63 inline ImportDocumentRequest& WithCardId(const Aws::String& value) { SetCardId(value); return *this;}
64 inline ImportDocumentRequest& WithCardId(Aws::String&& value) { SetCardId(std::move(value)); return *this;}
65 inline ImportDocumentRequest& WithCardId(const char* value) { SetCardId(value); return *this;}
67
69
72 inline const Aws::String& GetAppId() const{ return m_appId; }
73 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
74 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
75 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
76 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
77 inline ImportDocumentRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
78 inline ImportDocumentRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
79 inline ImportDocumentRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
81
83
86 inline const Aws::String& GetFileContentsBase64() const{ return m_fileContentsBase64; }
87 inline bool FileContentsBase64HasBeenSet() const { return m_fileContentsBase64HasBeenSet; }
88 inline void SetFileContentsBase64(const Aws::String& value) { m_fileContentsBase64HasBeenSet = true; m_fileContentsBase64 = value; }
89 inline void SetFileContentsBase64(Aws::String&& value) { m_fileContentsBase64HasBeenSet = true; m_fileContentsBase64 = std::move(value); }
90 inline void SetFileContentsBase64(const char* value) { m_fileContentsBase64HasBeenSet = true; m_fileContentsBase64.assign(value); }
92 inline ImportDocumentRequest& WithFileContentsBase64(Aws::String&& value) { SetFileContentsBase64(std::move(value)); return *this;}
93 inline ImportDocumentRequest& WithFileContentsBase64(const char* value) { SetFileContentsBase64(value); return *this;}
95
97
100 inline const Aws::String& GetFileName() const{ return m_fileName; }
101 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
102 inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; }
103 inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); }
104 inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); }
105 inline ImportDocumentRequest& WithFileName(const Aws::String& value) { SetFileName(value); return *this;}
106 inline ImportDocumentRequest& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;}
107 inline ImportDocumentRequest& WithFileName(const char* value) { SetFileName(value); return *this;}
109
111
115 inline const DocumentScope& GetScope() const{ return m_scope; }
116 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
117 inline void SetScope(const DocumentScope& value) { m_scopeHasBeenSet = true; m_scope = value; }
118 inline void SetScope(DocumentScope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
119 inline ImportDocumentRequest& WithScope(const DocumentScope& value) { SetScope(value); return *this;}
120 inline ImportDocumentRequest& WithScope(DocumentScope&& value) { SetScope(std::move(value)); return *this;}
122
124
128 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
129 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
130 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
131 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
132 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
133 inline ImportDocumentRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
134 inline ImportDocumentRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
135 inline ImportDocumentRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
137 private:
138
139 Aws::String m_instanceId;
140 bool m_instanceIdHasBeenSet = false;
141
142 Aws::String m_cardId;
143 bool m_cardIdHasBeenSet = false;
144
145 Aws::String m_appId;
146 bool m_appIdHasBeenSet = false;
147
148 Aws::String m_fileContentsBase64;
149 bool m_fileContentsBase64HasBeenSet = false;
150
151 Aws::String m_fileName;
152 bool m_fileNameHasBeenSet = false;
153
154 DocumentScope m_scope;
155 bool m_scopeHasBeenSet = false;
156
157 Aws::String m_sessionId;
158 bool m_sessionIdHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace QApps
163} // namespace Aws
ImportDocumentRequest & WithFileContentsBase64(Aws::String &&value)
ImportDocumentRequest & WithAppId(Aws::String &&value)
ImportDocumentRequest & WithAppId(const Aws::String &value)
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ImportDocumentRequest & WithInstanceId(const char *value)
void SetScope(const DocumentScope &value)
virtual const char * GetServiceRequestName() const override
void SetFileContentsBase64(const Aws::String &value)
ImportDocumentRequest & WithInstanceId(Aws::String &&value)
ImportDocumentRequest & WithSessionId(Aws::String &&value)
ImportDocumentRequest & WithScope(DocumentScope &&value)
ImportDocumentRequest & WithSessionId(const Aws::String &value)
ImportDocumentRequest & WithCardId(Aws::String &&value)
ImportDocumentRequest & WithScope(const DocumentScope &value)
AWS_QAPPS_API Aws::String SerializePayload() const override
ImportDocumentRequest & WithAppId(const char *value)
ImportDocumentRequest & WithFileName(const char *value)
ImportDocumentRequest & WithFileContentsBase64(const char *value)
ImportDocumentRequest & WithInstanceId(const Aws::String &value)
void SetInstanceId(const Aws::String &value)
ImportDocumentRequest & WithFileName(Aws::String &&value)
const Aws::String & GetFileContentsBase64() const
ImportDocumentRequest & WithFileContentsBase64(const Aws::String &value)
ImportDocumentRequest & WithSessionId(const char *value)
ImportDocumentRequest & WithCardId(const Aws::String &value)
void SetSessionId(const Aws::String &value)
ImportDocumentRequest & WithCardId(const char *value)
ImportDocumentRequest & WithFileName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String