7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ram/RAM_EXPORTS.h>
11#include <aws/ram/model/Principal.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename PrincipalsT = Aws::Vector<Principal>>
39 m_principalsHasBeenSet =
true;
40 m_principals = std::forward<PrincipalsT>(value);
42 template <
typename PrincipalsT = Aws::Vector<Principal>>
47 template <
typename PrincipalsT = Principal>
49 m_principalsHasBeenSet =
true;
50 m_principals.emplace_back(std::forward<PrincipalsT>(value));
65 template <
typename NextTokenT = Aws::String>
67 m_nextTokenHasBeenSet =
true;
68 m_nextToken = std::forward<NextTokenT>(value);
70 template <
typename NextTokenT = Aws::String>
80 template <
typename RequestIdT = Aws::String>
82 m_requestIdHasBeenSet =
true;
83 m_requestId = std::forward<RequestIdT>(value);
85 template <
typename RequestIdT = Aws::String>
100 bool m_principalsHasBeenSet =
false;
101 bool m_nextTokenHasBeenSet =
false;
102 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() 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