AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobWorkerExecutorConfiguration.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodePipeline
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CODEPIPELINE_API JobWorkerExecutorConfiguration();
39 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetPollingAccounts() const{ return m_pollingAccounts; }
48 inline bool PollingAccountsHasBeenSet() const { return m_pollingAccountsHasBeenSet; }
49 inline void SetPollingAccounts(const Aws::Vector<Aws::String>& value) { m_pollingAccountsHasBeenSet = true; m_pollingAccounts = value; }
50 inline void SetPollingAccounts(Aws::Vector<Aws::String>&& value) { m_pollingAccountsHasBeenSet = true; m_pollingAccounts = std::move(value); }
53 inline JobWorkerExecutorConfiguration& AddPollingAccounts(const Aws::String& value) { m_pollingAccountsHasBeenSet = true; m_pollingAccounts.push_back(value); return *this; }
54 inline JobWorkerExecutorConfiguration& AddPollingAccounts(Aws::String&& value) { m_pollingAccountsHasBeenSet = true; m_pollingAccounts.push_back(std::move(value)); return *this; }
55 inline JobWorkerExecutorConfiguration& AddPollingAccounts(const char* value) { m_pollingAccountsHasBeenSet = true; m_pollingAccounts.push_back(value); return *this; }
57
59
63 inline const Aws::Vector<Aws::String>& GetPollingServicePrincipals() const{ return m_pollingServicePrincipals; }
64 inline bool PollingServicePrincipalsHasBeenSet() const { return m_pollingServicePrincipalsHasBeenSet; }
65 inline void SetPollingServicePrincipals(const Aws::Vector<Aws::String>& value) { m_pollingServicePrincipalsHasBeenSet = true; m_pollingServicePrincipals = value; }
66 inline void SetPollingServicePrincipals(Aws::Vector<Aws::String>&& value) { m_pollingServicePrincipalsHasBeenSet = true; m_pollingServicePrincipals = std::move(value); }
69 inline JobWorkerExecutorConfiguration& AddPollingServicePrincipals(const Aws::String& value) { m_pollingServicePrincipalsHasBeenSet = true; m_pollingServicePrincipals.push_back(value); return *this; }
70 inline JobWorkerExecutorConfiguration& AddPollingServicePrincipals(Aws::String&& value) { m_pollingServicePrincipalsHasBeenSet = true; m_pollingServicePrincipals.push_back(std::move(value)); return *this; }
71 inline JobWorkerExecutorConfiguration& AddPollingServicePrincipals(const char* value) { m_pollingServicePrincipalsHasBeenSet = true; m_pollingServicePrincipals.push_back(value); return *this; }
73 private:
74
75 Aws::Vector<Aws::String> m_pollingAccounts;
76 bool m_pollingAccountsHasBeenSet = false;
77
78 Aws::Vector<Aws::String> m_pollingServicePrincipals;
79 bool m_pollingServicePrincipalsHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CodePipeline
84} // namespace Aws
AWS_CODEPIPELINE_API JobWorkerExecutorConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API JobWorkerExecutorConfiguration(Aws::Utils::Json::JsonView jsonValue)
JobWorkerExecutorConfiguration & WithPollingAccounts(const Aws::Vector< Aws::String > &value)
JobWorkerExecutorConfiguration & AddPollingAccounts(const Aws::String &value)
JobWorkerExecutorConfiguration & AddPollingAccounts(Aws::String &&value)
JobWorkerExecutorConfiguration & AddPollingServicePrincipals(Aws::String &&value)
JobWorkerExecutorConfiguration & WithPollingServicePrincipals(const Aws::Vector< Aws::String > &value)
void SetPollingServicePrincipals(const Aws::Vector< Aws::String > &value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
JobWorkerExecutorConfiguration & WithPollingServicePrincipals(Aws::Vector< Aws::String > &&value)
JobWorkerExecutorConfiguration & AddPollingServicePrincipals(const Aws::String &value)
void SetPollingAccounts(const Aws::Vector< Aws::String > &value)
JobWorkerExecutorConfiguration & AddPollingServicePrincipals(const char *value)
const Aws::Vector< Aws::String > & GetPollingServicePrincipals() const
JobWorkerExecutorConfiguration & WithPollingAccounts(Aws::Vector< Aws::String > &&value)
JobWorkerExecutorConfiguration & AddPollingAccounts(const char *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