7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/license-manager/model/Grant.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace LicenseManager
42 template<
typename GrantsT = Aws::Vector<Grant>>
43 void SetGrants(GrantsT&& value) { m_grantsHasBeenSet =
true; m_grants = std::forward<GrantsT>(value); }
44 template<
typename GrantsT = Aws::Vector<Grant>>
46 template<
typename GrantsT = Grant>
55 template<
typename NextTokenT = Aws::String>
56 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
57 template<
typename NextTokenT = Aws::String>
64 template<
typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
66 template<
typename RequestIdT = Aws::String>
72 bool m_grantsHasBeenSet =
false;
75 bool m_nextTokenHasBeenSet =
false;
78 bool m_requestIdHasBeenSet =
false;
ListReceivedGrantsResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
AWS_LICENSEMANAGER_API ListReceivedGrantsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetGrants(GrantsT &&value)
void SetNextToken(NextTokenT &&value)
ListReceivedGrantsResult & WithNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
ListReceivedGrantsResult & WithGrants(GrantsT &&value)
const Aws::Vector< Grant > & GetGrants() const
AWS_LICENSEMANAGER_API ListReceivedGrantsResult()=default
const Aws::String & GetNextToken() const
ListReceivedGrantsResult & AddGrants(GrantsT &&value)
AWS_LICENSEMANAGER_API ListReceivedGrantsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue