/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace KMS { namespace Model { class DescribeCustomKeyStoresResult { public: AWS_KMS_API DescribeCustomKeyStoresResult(); AWS_KMS_API DescribeCustomKeyStoresResult(const Aws::AmazonWebServiceResult& result); AWS_KMS_API DescribeCustomKeyStoresResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Contains metadata about each custom key store.

*/ inline const Aws::Vector& GetCustomKeyStores() const{ return m_customKeyStores; } /** *

Contains metadata about each custom key store.

*/ inline void SetCustomKeyStores(const Aws::Vector& value) { m_customKeyStores = value; } /** *

Contains metadata about each custom key store.

*/ inline void SetCustomKeyStores(Aws::Vector&& value) { m_customKeyStores = std::move(value); } /** *

Contains metadata about each custom key store.

*/ inline DescribeCustomKeyStoresResult& WithCustomKeyStores(const Aws::Vector& value) { SetCustomKeyStores(value); return *this;} /** *

Contains metadata about each custom key store.

*/ inline DescribeCustomKeyStoresResult& WithCustomKeyStores(Aws::Vector&& value) { SetCustomKeyStores(std::move(value)); return *this;} /** *

Contains metadata about each custom key store.

*/ inline DescribeCustomKeyStoresResult& AddCustomKeyStores(const CustomKeyStoresListEntry& value) { m_customKeyStores.push_back(value); return *this; } /** *

Contains metadata about each custom key store.

*/ inline DescribeCustomKeyStoresResult& AddCustomKeyStores(CustomKeyStoresListEntry&& value) { m_customKeyStores.push_back(std::move(value)); return *this; } /** *

When Truncated is true, this element is present and contains the * value to use for the Marker parameter in a subsequent request.

*/ inline const Aws::String& GetNextMarker() const{ return m_nextMarker; } /** *

When Truncated is true, this element is present and contains the * value to use for the Marker parameter in a subsequent request.

*/ inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; } /** *

When Truncated is true, this element is present and contains the * value to use for the Marker parameter in a subsequent request.

*/ inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); } /** *

When Truncated is true, this element is present and contains the * value to use for the Marker parameter in a subsequent request.

*/ inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); } /** *

When Truncated is true, this element is present and contains the * value to use for the Marker parameter in a subsequent request.

*/ inline DescribeCustomKeyStoresResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;} /** *

When Truncated is true, this element is present and contains the * value to use for the Marker parameter in a subsequent request.

*/ inline DescribeCustomKeyStoresResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;} /** *

When Truncated is true, this element is present and contains the * value to use for the Marker parameter in a subsequent request.

*/ inline DescribeCustomKeyStoresResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;} /** *

A flag that indicates whether there are more items in the list. When this * value is true, the list in this response is truncated. To get more items, pass * the value of the NextMarker element in thisresponse to the * Marker parameter in a subsequent request.

*/ inline bool GetTruncated() const{ return m_truncated; } /** *

A flag that indicates whether there are more items in the list. When this * value is true, the list in this response is truncated. To get more items, pass * the value of the NextMarker element in thisresponse to the * Marker parameter in a subsequent request.

*/ inline void SetTruncated(bool value) { m_truncated = value; } /** *

A flag that indicates whether there are more items in the list. When this * value is true, the list in this response is truncated. To get more items, pass * the value of the NextMarker element in thisresponse to the * Marker parameter in a subsequent request.

*/ inline DescribeCustomKeyStoresResult& WithTruncated(bool value) { SetTruncated(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeCustomKeyStoresResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeCustomKeyStoresResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeCustomKeyStoresResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_customKeyStores; Aws::String m_nextMarker; bool m_truncated; Aws::String m_requestId; }; } // namespace Model } // namespace KMS } // namespace Aws