7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lambda-microvms/LambdaMicrovms_EXPORTS.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace LambdaMicrovms {
38 template <
typename AuthTokenT = Aws::Map<Aws::String, Aws::String>>
40 m_authTokenHasBeenSet =
true;
41 m_authToken = std::forward<AuthTokenT>(value);
43 template <
typename AuthTokenT = Aws::Map<Aws::String, Aws::String>>
48 template <
typename AuthTokenKeyT = Aws::String,
typename AuthTokenValueT = Aws::String>
50 m_authTokenHasBeenSet =
true;
51 m_authToken.emplace(std::forward<AuthTokenKeyT>(key), std::forward<AuthTokenValueT>(value));
59 template <
typename RequestIdT = Aws::String>
61 m_requestIdHasBeenSet =
true;
62 m_requestId = std::forward<RequestIdT>(value);
64 template <
typename RequestIdT = Aws::String>
77 bool m_authTokenHasBeenSet =
false;
78 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
AWS_LAMBDAMICROVMS_API CreateMicrovmAuthTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateMicrovmAuthTokenResult & AddAuthToken(AuthTokenKeyT &&key, AuthTokenValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAuthToken() const
AWS_LAMBDAMICROVMS_API CreateMicrovmAuthTokenResult()=default
CreateMicrovmAuthTokenResult & WithRequestId(RequestIdT &&value)
AWS_LAMBDAMICROVMS_API CreateMicrovmAuthTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAuthToken(AuthTokenT &&value)
void SetRequestId(RequestIdT &&value)
CreateMicrovmAuthTokenResult & WithAuthToken(AuthTokenT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue