/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about the polling configuration for the JobWorker
action
* engine, or executor.See Also:
AWS
* API Reference
The accounts in which the job worker is configured and might poll for jobs as * part of the action execution.
*/ inline const Aws::VectorThe accounts in which the job worker is configured and might poll for jobs as * part of the action execution.
*/ inline bool PollingAccountsHasBeenSet() const { return m_pollingAccountsHasBeenSet; } /** *The accounts in which the job worker is configured and might poll for jobs as * part of the action execution.
*/ inline void SetPollingAccounts(const Aws::VectorThe accounts in which the job worker is configured and might poll for jobs as * part of the action execution.
*/ inline void SetPollingAccounts(Aws::VectorThe accounts in which the job worker is configured and might poll for jobs as * part of the action execution.
*/ inline JobWorkerExecutorConfiguration& WithPollingAccounts(const Aws::VectorThe accounts in which the job worker is configured and might poll for jobs as * part of the action execution.
*/ inline JobWorkerExecutorConfiguration& WithPollingAccounts(Aws::VectorThe accounts in which the job worker is configured and might poll for jobs as * part of the action execution.
*/ inline JobWorkerExecutorConfiguration& AddPollingAccounts(const Aws::String& value) { m_pollingAccountsHasBeenSet = true; m_pollingAccounts.push_back(value); return *this; } /** *The accounts in which the job worker is configured and might poll for jobs as * part of the action execution.
*/ inline JobWorkerExecutorConfiguration& AddPollingAccounts(Aws::String&& value) { m_pollingAccountsHasBeenSet = true; m_pollingAccounts.push_back(std::move(value)); return *this; } /** *The accounts in which the job worker is configured and might poll for jobs as * part of the action execution.
*/ inline JobWorkerExecutorConfiguration& AddPollingAccounts(const char* value) { m_pollingAccountsHasBeenSet = true; m_pollingAccounts.push_back(value); return *this; } /** *The service Principals in which the job worker is configured and might poll * for jobs as part of the action execution.
*/ inline const Aws::VectorThe service Principals in which the job worker is configured and might poll * for jobs as part of the action execution.
*/ inline bool PollingServicePrincipalsHasBeenSet() const { return m_pollingServicePrincipalsHasBeenSet; } /** *The service Principals in which the job worker is configured and might poll * for jobs as part of the action execution.
*/ inline void SetPollingServicePrincipals(const Aws::VectorThe service Principals in which the job worker is configured and might poll * for jobs as part of the action execution.
*/ inline void SetPollingServicePrincipals(Aws::VectorThe service Principals in which the job worker is configured and might poll * for jobs as part of the action execution.
*/ inline JobWorkerExecutorConfiguration& WithPollingServicePrincipals(const Aws::VectorThe service Principals in which the job worker is configured and might poll * for jobs as part of the action execution.
*/ inline JobWorkerExecutorConfiguration& WithPollingServicePrincipals(Aws::VectorThe service Principals in which the job worker is configured and might poll * for jobs as part of the action execution.
*/ inline JobWorkerExecutorConfiguration& AddPollingServicePrincipals(const Aws::String& value) { m_pollingServicePrincipalsHasBeenSet = true; m_pollingServicePrincipals.push_back(value); return *this; } /** *The service Principals in which the job worker is configured and might poll * for jobs as part of the action execution.
*/ inline JobWorkerExecutorConfiguration& AddPollingServicePrincipals(Aws::String&& value) { m_pollingServicePrincipalsHasBeenSet = true; m_pollingServicePrincipals.push_back(std::move(value)); return *this; } /** *The service Principals in which the job worker is configured and might poll * for jobs as part of the action execution.
*/ inline JobWorkerExecutorConfiguration& AddPollingServicePrincipals(const char* value) { m_pollingServicePrincipalsHasBeenSet = true; m_pollingServicePrincipals.push_back(value); return *this; } private: Aws::Vector