7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ram/model/Principal.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename PrincipalsT = Aws::Vector<Principal>>
43 void SetPrincipals(PrincipalsT&& value) { m_principalsHasBeenSet =
true; m_principals = std::forward<PrincipalsT>(value); }
44 template<
typename PrincipalsT = Aws::Vector<Principal>>
46 template<
typename PrincipalsT = Principal>
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_principalsHasBeenSet =
false;
80 bool m_nextTokenHasBeenSet =
false;
83 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
ListPrincipalsResult & WithNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&value)
ListPrincipalsResult & WithRequestId(RequestIdT &&value)
AWS_RAM_API ListPrincipalsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPrincipals(PrincipalsT &&value)
AWS_RAM_API ListPrincipalsResult()=default
ListPrincipalsResult & WithPrincipals(PrincipalsT &&value)
const Aws::String & GetNextToken() const
ListPrincipalsResult & AddPrincipals(PrincipalsT &&value)
const Aws::Vector< Principal > & GetPrincipals() const
AWS_RAM_API ListPrincipalsResult & 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