7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kms/model/GrantListEntry.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename GrantsT = Aws::Vector<GrantListEntry>>
43 void SetGrants(GrantsT&& value) { m_grantsHasBeenSet =
true; m_grants = std::forward<GrantsT>(value); }
44 template<
typename GrantsT = Aws::Vector<GrantListEntry>>
46 template<
typename GrantsT = GrantListEntry>
56 template<
typename NextMarkerT = Aws::String>
57 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet =
true; m_nextMarker = std::forward<NextMarkerT>(value); }
58 template<
typename NextMarkerT = Aws::String>
70 inline void SetTruncated(
bool value) { m_truncatedHasBeenSet =
true; m_truncated = value; }
77 template<
typename RequestIdT = Aws::String>
78 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
79 template<
typename RequestIdT = Aws::String>
85 bool m_grantsHasBeenSet =
false;
88 bool m_nextMarkerHasBeenSet =
false;
90 bool m_truncated{
false};
91 bool m_truncatedHasBeenSet =
false;
94 bool m_requestIdHasBeenSet =
false;
ListRetirableGrantsResult & WithTruncated(bool value)
AWS_KMS_API ListRetirableGrantsResult()=default
bool GetTruncated() const
ListRetirableGrantsResult & AddGrants(GrantsT &&value)
ListRetirableGrantsResult & WithNextMarker(NextMarkerT &&value)
void SetGrants(GrantsT &&value)
AWS_KMS_API ListRetirableGrantsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KMS_API ListRetirableGrantsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListRetirableGrantsResult & WithGrants(GrantsT &&value)
void SetTruncated(bool value)
const Aws::String & GetNextMarker() const
void SetRequestId(RequestIdT &&value)
void SetNextMarker(NextMarkerT &&value)
const Aws::Vector< GrantListEntry > & GetGrants() const
ListRetirableGrantsResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue