7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sso-admin/model/GrantItem.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename GrantsT = Aws::Vector<GrantItem>>
43 void SetGrants(GrantsT&& value) { m_grantsHasBeenSet =
true; m_grants = std::forward<GrantsT>(value); }
44 template<
typename GrantsT = Aws::Vector<GrantItem>>
46 template<
typename GrantsT = GrantItem>
60 template<
typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
62 template<
typename NextTokenT = Aws::String>
69 template<
typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
71 template<
typename RequestIdT = Aws::String>
77 bool m_grantsHasBeenSet =
false;
80 bool m_nextTokenHasBeenSet =
false;
83 bool m_requestIdHasBeenSet =
false;
AWS_SSOADMIN_API ListApplicationGrantsResult()=default
AWS_SSOADMIN_API ListApplicationGrantsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< GrantItem > & GetGrants() const
void SetNextToken(NextTokenT &&value)
ListApplicationGrantsResult & AddGrants(GrantsT &&value)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
void SetGrants(GrantsT &&value)
ListApplicationGrantsResult & WithGrants(GrantsT &&value)
ListApplicationGrantsResult & WithNextToken(NextTokenT &&value)
ListApplicationGrantsResult & WithRequestId(RequestIdT &&value)
AWS_SSOADMIN_API ListApplicationGrantsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() 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