7#include <aws/compute-optimizer-automation/ComputeOptimizerAutomation_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace ComputeOptimizerAutomation {
37 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
39 m_accountIdsHasBeenSet =
true;
40 m_accountIds = std::forward<AccountIdsT>(value);
42 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
47 template <
typename AccountIdsT = Aws::String>
49 m_accountIdsHasBeenSet =
true;
50 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
60 template <
typename ErrorsT = Aws::Vector<Aws::String>>
62 m_errorsHasBeenSet =
true;
63 m_errors = std::forward<ErrorsT>(value);
65 template <
typename ErrorsT = Aws::Vector<Aws::String>>
70 template <
typename ErrorsT = Aws::String>
72 m_errorsHasBeenSet =
true;
73 m_errors.emplace_back(std::forward<ErrorsT>(value));
81 template <
typename RequestIdT = Aws::String>
83 m_requestIdHasBeenSet =
true;
84 m_requestId = std::forward<RequestIdT>(value);
86 template <
typename RequestIdT = Aws::String>
101 bool m_accountIdsHasBeenSet =
false;
102 bool m_errorsHasBeenSet =
false;
103 bool m_requestIdHasBeenSet =
false;
DisassociateAccountsResult & AddErrors(ErrorsT &&value)
DisassociateAccountsResult & AddAccountIds(AccountIdsT &&value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API DisassociateAccountsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisassociateAccountsResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
void SetErrors(ErrorsT &&value)
const Aws::Vector< Aws::String > & GetAccountIds() const
void SetAccountIds(AccountIdsT &&value)
DisassociateAccountsResult & WithAccountIds(AccountIdsT &&value)
DisassociateAccountsResult & WithErrors(ErrorsT &&value)
const Aws::Vector< Aws::String > & GetErrors() const
AWS_COMPUTEOPTIMIZERAUTOMATION_API DisassociateAccountsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COMPUTEOPTIMIZERAUTOMATION_API DisassociateAccountsResult()=default
void SetRequestId(RequestIdT &&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