AWS SDK for C++  1.9.106
AWS SDK for C++
JobWorkerExecutorConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace CodePipeline
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const Aws::Vector<Aws::String>& GetPollingAccounts() const{ return m_pollingAccounts; }
47 
52  inline bool PollingAccountsHasBeenSet() const { return m_pollingAccountsHasBeenSet; }
53 
58  inline void SetPollingAccounts(const Aws::Vector<Aws::String>& value) { m_pollingAccountsHasBeenSet = true; m_pollingAccounts = value; }
59 
64  inline void SetPollingAccounts(Aws::Vector<Aws::String>&& value) { m_pollingAccountsHasBeenSet = true; m_pollingAccounts = std::move(value); }
65 
70  inline JobWorkerExecutorConfiguration& WithPollingAccounts(const Aws::Vector<Aws::String>& value) { SetPollingAccounts(value); return *this;}
71 
76  inline JobWorkerExecutorConfiguration& WithPollingAccounts(Aws::Vector<Aws::String>&& value) { SetPollingAccounts(std::move(value)); return *this;}
77 
82  inline JobWorkerExecutorConfiguration& AddPollingAccounts(const Aws::String& value) { m_pollingAccountsHasBeenSet = true; m_pollingAccounts.push_back(value); return *this; }
83 
88  inline JobWorkerExecutorConfiguration& AddPollingAccounts(Aws::String&& value) { m_pollingAccountsHasBeenSet = true; m_pollingAccounts.push_back(std::move(value)); return *this; }
89 
94  inline JobWorkerExecutorConfiguration& AddPollingAccounts(const char* value) { m_pollingAccountsHasBeenSet = true; m_pollingAccounts.push_back(value); return *this; }
95 
96 
101  inline const Aws::Vector<Aws::String>& GetPollingServicePrincipals() const{ return m_pollingServicePrincipals; }
102 
107  inline bool PollingServicePrincipalsHasBeenSet() const { return m_pollingServicePrincipalsHasBeenSet; }
108 
113  inline void SetPollingServicePrincipals(const Aws::Vector<Aws::String>& value) { m_pollingServicePrincipalsHasBeenSet = true; m_pollingServicePrincipals = value; }
114 
119  inline void SetPollingServicePrincipals(Aws::Vector<Aws::String>&& value) { m_pollingServicePrincipalsHasBeenSet = true; m_pollingServicePrincipals = std::move(value); }
120 
125  inline JobWorkerExecutorConfiguration& WithPollingServicePrincipals(const Aws::Vector<Aws::String>& value) { SetPollingServicePrincipals(value); return *this;}
126 
131  inline JobWorkerExecutorConfiguration& WithPollingServicePrincipals(Aws::Vector<Aws::String>&& value) { SetPollingServicePrincipals(std::move(value)); return *this;}
132 
137  inline JobWorkerExecutorConfiguration& AddPollingServicePrincipals(const Aws::String& value) { m_pollingServicePrincipalsHasBeenSet = true; m_pollingServicePrincipals.push_back(value); return *this; }
138 
143  inline JobWorkerExecutorConfiguration& AddPollingServicePrincipals(Aws::String&& value) { m_pollingServicePrincipalsHasBeenSet = true; m_pollingServicePrincipals.push_back(std::move(value)); return *this; }
144 
149  inline JobWorkerExecutorConfiguration& AddPollingServicePrincipals(const char* value) { m_pollingServicePrincipalsHasBeenSet = true; m_pollingServicePrincipals.push_back(value); return *this; }
150 
151  private:
152 
153  Aws::Vector<Aws::String> m_pollingAccounts;
154  bool m_pollingAccountsHasBeenSet;
155 
156  Aws::Vector<Aws::String> m_pollingServicePrincipals;
157  bool m_pollingServicePrincipalsHasBeenSet;
158  };
159 
160 } // namespace Model
161 } // namespace CodePipeline
162 } // namespace Aws
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::GetPollingServicePrincipals
const Aws::Vector< Aws::String > & GetPollingServicePrincipals() const
Definition: JobWorkerExecutorConfiguration.h:101
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::AddPollingServicePrincipals
JobWorkerExecutorConfiguration & AddPollingServicePrincipals(const Aws::String &value)
Definition: JobWorkerExecutorConfiguration.h:137
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::AddPollingAccounts
JobWorkerExecutorConfiguration & AddPollingAccounts(const char *value)
Definition: JobWorkerExecutorConfiguration.h:94
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::GetPollingAccounts
const Aws::Vector< Aws::String > & GetPollingAccounts() const
Definition: JobWorkerExecutorConfiguration.h:46
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::operator=
JobWorkerExecutorConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::JobWorkerExecutorConfiguration
JobWorkerExecutorConfiguration()
AWSVector.h
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::WithPollingServicePrincipals
JobWorkerExecutorConfiguration & WithPollingServicePrincipals(const Aws::Vector< Aws::String > &value)
Definition: JobWorkerExecutorConfiguration.h:125
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::AddPollingServicePrincipals
JobWorkerExecutorConfiguration & AddPollingServicePrincipals(Aws::String &&value)
Definition: JobWorkerExecutorConfiguration.h:143
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::SetPollingAccounts
void SetPollingAccounts(const Aws::Vector< Aws::String > &value)
Definition: JobWorkerExecutorConfiguration.h:58
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::SetPollingAccounts
void SetPollingAccounts(Aws::Vector< Aws::String > &&value)
Definition: JobWorkerExecutorConfiguration.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::WithPollingAccounts
JobWorkerExecutorConfiguration & WithPollingAccounts(Aws::Vector< Aws::String > &&value)
Definition: JobWorkerExecutorConfiguration.h:76
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::JobWorkerExecutorConfiguration
JobWorkerExecutorConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::WithPollingAccounts
JobWorkerExecutorConfiguration & WithPollingAccounts(const Aws::Vector< Aws::String > &value)
Definition: JobWorkerExecutorConfiguration.h:70
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration
Definition: JobWorkerExecutorConfiguration.h:34
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::WithPollingServicePrincipals
JobWorkerExecutorConfiguration & WithPollingServicePrincipals(Aws::Vector< Aws::String > &&value)
Definition: JobWorkerExecutorConfiguration.h:131
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::PollingServicePrincipalsHasBeenSet
bool PollingServicePrincipalsHasBeenSet() const
Definition: JobWorkerExecutorConfiguration.h:107
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::PollingAccountsHasBeenSet
bool PollingAccountsHasBeenSet() const
Definition: JobWorkerExecutorConfiguration.h:52
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::SetPollingServicePrincipals
void SetPollingServicePrincipals(const Aws::Vector< Aws::String > &value)
Definition: JobWorkerExecutorConfiguration.h:113
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::AddPollingAccounts
JobWorkerExecutorConfiguration & AddPollingAccounts(Aws::String &&value)
Definition: JobWorkerExecutorConfiguration.h:88
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::SetPollingServicePrincipals
void SetPollingServicePrincipals(Aws::Vector< Aws::String > &&value)
Definition: JobWorkerExecutorConfiguration.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::AddPollingServicePrincipals
JobWorkerExecutorConfiguration & AddPollingServicePrincipals(const char *value)
Definition: JobWorkerExecutorConfiguration.h:149
Aws::CodePipeline::Model::JobWorkerExecutorConfiguration::AddPollingAccounts
JobWorkerExecutorConfiguration & AddPollingAccounts(const Aws::String &value)
Definition: JobWorkerExecutorConfiguration.h:82