7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/license-manager/model/License.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace LicenseManager
42 template<
typename LicensesT = Aws::Vector<License>>
43 void SetLicenses(LicensesT&& value) { m_licensesHasBeenSet =
true; m_licenses = std::forward<LicensesT>(value); }
44 template<
typename LicensesT = Aws::Vector<License>>
46 template<
typename LicensesT = License>
47 ListLicensesResult&
AddLicenses(LicensesT&& value) { m_licensesHasBeenSet =
true; m_licenses.emplace_back(std::forward<LicensesT>(value));
return *
this; }
55 template<
typename NextTokenT = Aws::String>
56 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
57 template<
typename NextTokenT = Aws::String>
64 template<
typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
66 template<
typename RequestIdT = Aws::String>
72 bool m_licensesHasBeenSet =
false;
75 bool m_nextTokenHasBeenSet =
false;
78 bool m_requestIdHasBeenSet =
false;
void SetNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
AWS_LICENSEMANAGER_API ListLicensesResult()=default
AWS_LICENSEMANAGER_API ListLicensesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListLicensesResult & WithNextToken(NextTokenT &&value)
ListLicensesResult & WithRequestId(RequestIdT &&value)
ListLicensesResult & WithLicenses(LicensesT &&value)
AWS_LICENSEMANAGER_API ListLicensesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListLicensesResult & AddLicenses(LicensesT &&value)
const Aws::String & GetNextToken() const
void SetLicenses(LicensesT &&value)
const Aws::Vector< License > & GetLicenses() 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