AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLibraryItemMetadataRequest.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 QApps
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateLibraryItemMetadata"; }
31
32 AWS_QAPPS_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
45 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
46 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
47 inline UpdateLibraryItemMetadataRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline UpdateLibraryItemMetadataRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline UpdateLibraryItemMetadataRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
56 inline const Aws::String& GetLibraryItemId() const{ return m_libraryItemId; }
57 inline bool LibraryItemIdHasBeenSet() const { return m_libraryItemIdHasBeenSet; }
58 inline void SetLibraryItemId(const Aws::String& value) { m_libraryItemIdHasBeenSet = true; m_libraryItemId = value; }
59 inline void SetLibraryItemId(Aws::String&& value) { m_libraryItemIdHasBeenSet = true; m_libraryItemId = std::move(value); }
60 inline void SetLibraryItemId(const char* value) { m_libraryItemIdHasBeenSet = true; m_libraryItemId.assign(value); }
62 inline UpdateLibraryItemMetadataRequest& WithLibraryItemId(Aws::String&& value) { SetLibraryItemId(std::move(value)); return *this;}
63 inline UpdateLibraryItemMetadataRequest& WithLibraryItemId(const char* value) { SetLibraryItemId(value); return *this;}
65
67
70 inline bool GetIsVerified() const{ return m_isVerified; }
71 inline bool IsVerifiedHasBeenSet() const { return m_isVerifiedHasBeenSet; }
72 inline void SetIsVerified(bool value) { m_isVerifiedHasBeenSet = true; m_isVerified = value; }
73 inline UpdateLibraryItemMetadataRequest& WithIsVerified(bool value) { SetIsVerified(value); return *this;}
75 private:
76
77 Aws::String m_instanceId;
78 bool m_instanceIdHasBeenSet = false;
79
80 Aws::String m_libraryItemId;
81 bool m_libraryItemIdHasBeenSet = false;
82
83 bool m_isVerified;
84 bool m_isVerifiedHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace QApps
89} // namespace Aws
UpdateLibraryItemMetadataRequest & WithLibraryItemId(const char *value)
UpdateLibraryItemMetadataRequest & WithInstanceId(const Aws::String &value)
UpdateLibraryItemMetadataRequest & WithInstanceId(Aws::String &&value)
UpdateLibraryItemMetadataRequest & WithIsVerified(bool value)
UpdateLibraryItemMetadataRequest & WithInstanceId(const char *value)
UpdateLibraryItemMetadataRequest & WithLibraryItemId(const Aws::String &value)
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_QAPPS_API Aws::String SerializePayload() const override
UpdateLibraryItemMetadataRequest & WithLibraryItemId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String