AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLibraryItemRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace QApps
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QAPPS_API GetLibraryItemRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetLibraryItem"; }
35
36 AWS_QAPPS_API Aws::String SerializePayload() const override;
37
38 AWS_QAPPS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
42
44
48 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
49 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
50 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
51 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
52 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
53 inline GetLibraryItemRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
54 inline GetLibraryItemRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
55 inline GetLibraryItemRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
57
59
62 inline const Aws::String& GetLibraryItemId() const{ return m_libraryItemId; }
63 inline bool LibraryItemIdHasBeenSet() const { return m_libraryItemIdHasBeenSet; }
64 inline void SetLibraryItemId(const Aws::String& value) { m_libraryItemIdHasBeenSet = true; m_libraryItemId = value; }
65 inline void SetLibraryItemId(Aws::String&& value) { m_libraryItemIdHasBeenSet = true; m_libraryItemId = std::move(value); }
66 inline void SetLibraryItemId(const char* value) { m_libraryItemIdHasBeenSet = true; m_libraryItemId.assign(value); }
67 inline GetLibraryItemRequest& WithLibraryItemId(const Aws::String& value) { SetLibraryItemId(value); return *this;}
68 inline GetLibraryItemRequest& WithLibraryItemId(Aws::String&& value) { SetLibraryItemId(std::move(value)); return *this;}
69 inline GetLibraryItemRequest& WithLibraryItemId(const char* value) { SetLibraryItemId(value); return *this;}
71
73
77 inline const Aws::String& GetAppId() const{ return m_appId; }
78 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
79 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
80 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
81 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
82 inline GetLibraryItemRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
83 inline GetLibraryItemRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
84 inline GetLibraryItemRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
86 private:
87
88 Aws::String m_instanceId;
89 bool m_instanceIdHasBeenSet = false;
90
91 Aws::String m_libraryItemId;
92 bool m_libraryItemIdHasBeenSet = false;
93
94 Aws::String m_appId;
95 bool m_appIdHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace QApps
100} // namespace Aws
GetLibraryItemRequest & WithAppId(const Aws::String &value)
void SetInstanceId(const Aws::String &value)
GetLibraryItemRequest & WithAppId(Aws::String &&value)
GetLibraryItemRequest & WithLibraryItemId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetLibraryItemRequest & WithAppId(const char *value)
AWS_QAPPS_API Aws::String SerializePayload() const override
GetLibraryItemRequest & WithLibraryItemId(Aws::String &&value)
void SetLibraryItemId(const Aws::String &value)
GetLibraryItemRequest & WithInstanceId(const char *value)
GetLibraryItemRequest & WithLibraryItemId(const char *value)
GetLibraryItemRequest & WithInstanceId(Aws::String &&value)
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetLibraryItemRequest & WithInstanceId(const Aws::String &value)
AWS_QAPPS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String