7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
47 template<
typename PrincipalsT = Aws::Vector<Aws::String>>
48 void SetPrincipals(PrincipalsT&& value) { m_principalsHasBeenSet =
true; m_principals = std::forward<PrincipalsT>(value); }
49 template<
typename PrincipalsT = Aws::Vector<Aws::String>>
51 template<
typename PrincipalsT = Aws::String>
61 template<
typename NextTokenT = Aws::String>
62 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
63 template<
typename NextTokenT = Aws::String>
70 template<
typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
72 template<
typename RequestIdT = Aws::String>
78 bool m_principalsHasBeenSet =
false;
81 bool m_nextTokenHasBeenSet =
false;
84 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
void SetNextToken(NextTokenT &&value)
ListThingPrincipalsResult & WithPrincipals(PrincipalsT &&value)
ListThingPrincipalsResult & WithRequestId(RequestIdT &&value)
AWS_IOT_API ListThingPrincipalsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetPrincipals() const
AWS_IOT_API ListThingPrincipalsResult()=default
const Aws::String & GetNextToken() const
void SetPrincipals(PrincipalsT &&value)
AWS_IOT_API ListThingPrincipalsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListThingPrincipalsResult & WithNextToken(NextTokenT &&value)
ListThingPrincipalsResult & AddPrincipals(PrincipalsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue