-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds UpdateLibraryItemMetadata api to change status of app for admin …
…verification feature and returns isVerified field in any api returning the app or library item.
- Loading branch information
1 parent
0c516dd
commit af8d1fb
Showing
18 changed files
with
415 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.11.399 | ||
1.11.400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 89 additions & 0 deletions
89
generated/src/aws-cpp-sdk-qapps/include/aws/qapps/model/UpdateLibraryItemMetadataRequest.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#pragma once | ||
#include <aws/qapps/QApps_EXPORTS.h> | ||
#include <aws/qapps/QAppsRequest.h> | ||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
namespace QApps | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
*/ | ||
class UpdateLibraryItemMetadataRequest : public QAppsRequest | ||
{ | ||
public: | ||
AWS_QAPPS_API UpdateLibraryItemMetadataRequest(); | ||
|
||
// Service request name is the Operation name which will send this request out, | ||
// each operation should has unique request name, so that we can get operation's name from this request. | ||
// Note: this is not true for response, multiple operations may have the same response name, | ||
// so we can not get operation's name from response. | ||
inline virtual const char* GetServiceRequestName() const override { return "UpdateLibraryItemMetadata"; } | ||
|
||
AWS_QAPPS_API Aws::String SerializePayload() const override; | ||
|
||
AWS_QAPPS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; | ||
|
||
|
||
///@{ | ||
/** | ||
* <p>The unique identifier of the Amazon Q Business application environment | ||
* instance.</p> | ||
*/ | ||
inline const Aws::String& GetInstanceId() const{ return m_instanceId; } | ||
inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } | ||
inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } | ||
inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } | ||
inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } | ||
inline UpdateLibraryItemMetadataRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} | ||
inline UpdateLibraryItemMetadataRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} | ||
inline UpdateLibraryItemMetadataRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} | ||
///@} | ||
|
||
///@{ | ||
/** | ||
* <p>The unique identifier of the updated library item.</p> | ||
*/ | ||
inline const Aws::String& GetLibraryItemId() const{ return m_libraryItemId; } | ||
inline bool LibraryItemIdHasBeenSet() const { return m_libraryItemIdHasBeenSet; } | ||
inline void SetLibraryItemId(const Aws::String& value) { m_libraryItemIdHasBeenSet = true; m_libraryItemId = value; } | ||
inline void SetLibraryItemId(Aws::String&& value) { m_libraryItemIdHasBeenSet = true; m_libraryItemId = std::move(value); } | ||
inline void SetLibraryItemId(const char* value) { m_libraryItemIdHasBeenSet = true; m_libraryItemId.assign(value); } | ||
inline UpdateLibraryItemMetadataRequest& WithLibraryItemId(const Aws::String& value) { SetLibraryItemId(value); return *this;} | ||
inline UpdateLibraryItemMetadataRequest& WithLibraryItemId(Aws::String&& value) { SetLibraryItemId(std::move(value)); return *this;} | ||
inline UpdateLibraryItemMetadataRequest& WithLibraryItemId(const char* value) { SetLibraryItemId(value); return *this;} | ||
///@} | ||
|
||
///@{ | ||
/** | ||
* <p>The verification status of the library item</p> | ||
*/ | ||
inline bool GetIsVerified() const{ return m_isVerified; } | ||
inline bool IsVerifiedHasBeenSet() const { return m_isVerifiedHasBeenSet; } | ||
inline void SetIsVerified(bool value) { m_isVerifiedHasBeenSet = true; m_isVerified = value; } | ||
inline UpdateLibraryItemMetadataRequest& WithIsVerified(bool value) { SetIsVerified(value); return *this;} | ||
///@} | ||
private: | ||
|
||
Aws::String m_instanceId; | ||
bool m_instanceIdHasBeenSet = false; | ||
|
||
Aws::String m_libraryItemId; | ||
bool m_libraryItemIdHasBeenSet = false; | ||
|
||
bool m_isVerified; | ||
bool m_isVerifiedHasBeenSet = false; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace QApps | ||
} // namespace Aws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.