7#include <aws/compute-optimizer-automation/ComputeOptimizerAutomationRequest.h>
8#include <aws/compute-optimizer-automation/ComputeOptimizerAutomation_EXPORTS.h>
9#include <aws/core/utils/UUID.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16namespace ComputeOptimizerAutomation {
42 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
44 m_accountIdsHasBeenSet =
true;
45 m_accountIds = std::forward<AccountIdsT>(value);
47 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
52 template <
typename AccountIdsT = Aws::String>
54 m_accountIdsHasBeenSet =
true;
55 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
67 template <
typename ClientTokenT = Aws::String>
69 m_clientTokenHasBeenSet =
true;
70 m_clientToken = std::forward<ClientTokenT>(value);
72 template <
typename ClientTokenT = Aws::String>
82 bool m_accountIdsHasBeenSet =
false;
83 bool m_clientTokenHasBeenSet =
true;
void SetClientToken(ClientTokenT &&value)
AssociateAccountsRequest & WithAccountIds(AccountIdsT &&value)
void SetAccountIds(AccountIdsT &&value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AssociateAccountsRequest & WithClientToken(ClientTokenT &&value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API AssociateAccountsRequest()=default
const Aws::Vector< Aws::String > & GetAccountIds() const
bool AccountIdsHasBeenSet() const
AWS_COMPUTEOPTIMIZERAUTOMATION_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
bool ClientTokenHasBeenSet() const
const Aws::String & GetClientToken() const
AssociateAccountsRequest & AddAccountIds(AccountIdsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector