AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduleRunConfiguration.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/model/Location.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/devicefarm/model/CustomerArtifactPaths.h>
12#include <aws/devicefarm/model/Radios.h>
13#include <aws/devicefarm/model/BillingMethod.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace DeviceFarm
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_DEVICEFARM_API ScheduleRunConfiguration();
43 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline const Aws::String& GetExtraDataPackageArn() const{ return m_extraDataPackageArn; }
53 inline bool ExtraDataPackageArnHasBeenSet() const { return m_extraDataPackageArnHasBeenSet; }
54 inline void SetExtraDataPackageArn(const Aws::String& value) { m_extraDataPackageArnHasBeenSet = true; m_extraDataPackageArn = value; }
55 inline void SetExtraDataPackageArn(Aws::String&& value) { m_extraDataPackageArnHasBeenSet = true; m_extraDataPackageArn = std::move(value); }
56 inline void SetExtraDataPackageArn(const char* value) { m_extraDataPackageArnHasBeenSet = true; m_extraDataPackageArn.assign(value); }
58 inline ScheduleRunConfiguration& WithExtraDataPackageArn(Aws::String&& value) { SetExtraDataPackageArn(std::move(value)); return *this;}
59 inline ScheduleRunConfiguration& WithExtraDataPackageArn(const char* value) { SetExtraDataPackageArn(value); return *this;}
61
63
66 inline const Aws::String& GetNetworkProfileArn() const{ return m_networkProfileArn; }
67 inline bool NetworkProfileArnHasBeenSet() const { return m_networkProfileArnHasBeenSet; }
68 inline void SetNetworkProfileArn(const Aws::String& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = value; }
69 inline void SetNetworkProfileArn(Aws::String&& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = std::move(value); }
70 inline void SetNetworkProfileArn(const char* value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn.assign(value); }
72 inline ScheduleRunConfiguration& WithNetworkProfileArn(Aws::String&& value) { SetNetworkProfileArn(std::move(value)); return *this;}
73 inline ScheduleRunConfiguration& WithNetworkProfileArn(const char* value) { SetNetworkProfileArn(value); return *this;}
75
77
80 inline const Aws::String& GetLocale() const{ return m_locale; }
81 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
82 inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
83 inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
84 inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
85 inline ScheduleRunConfiguration& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
86 inline ScheduleRunConfiguration& WithLocale(Aws::String&& value) { SetLocale(std::move(value)); return *this;}
87 inline ScheduleRunConfiguration& WithLocale(const char* value) { SetLocale(value); return *this;}
89
91
94 inline const Location& GetLocation() const{ return m_location; }
95 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
96 inline void SetLocation(const Location& value) { m_locationHasBeenSet = true; m_location = value; }
97 inline void SetLocation(Location&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
98 inline ScheduleRunConfiguration& WithLocation(const Location& value) { SetLocation(value); return *this;}
99 inline ScheduleRunConfiguration& WithLocation(Location&& value) { SetLocation(std::move(value)); return *this;}
101
103
106 inline const Aws::Vector<Aws::String>& GetVpceConfigurationArns() const{ return m_vpceConfigurationArns; }
107 inline bool VpceConfigurationArnsHasBeenSet() const { return m_vpceConfigurationArnsHasBeenSet; }
108 inline void SetVpceConfigurationArns(const Aws::Vector<Aws::String>& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns = value; }
109 inline void SetVpceConfigurationArns(Aws::Vector<Aws::String>&& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns = std::move(value); }
112 inline ScheduleRunConfiguration& AddVpceConfigurationArns(const Aws::String& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns.push_back(value); return *this; }
113 inline ScheduleRunConfiguration& AddVpceConfigurationArns(Aws::String&& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns.push_back(std::move(value)); return *this; }
114 inline ScheduleRunConfiguration& AddVpceConfigurationArns(const char* value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns.push_back(value); return *this; }
116
118
122 inline const CustomerArtifactPaths& GetCustomerArtifactPaths() const{ return m_customerArtifactPaths; }
123 inline bool CustomerArtifactPathsHasBeenSet() const { return m_customerArtifactPathsHasBeenSet; }
124 inline void SetCustomerArtifactPaths(const CustomerArtifactPaths& value) { m_customerArtifactPathsHasBeenSet = true; m_customerArtifactPaths = value; }
125 inline void SetCustomerArtifactPaths(CustomerArtifactPaths&& value) { m_customerArtifactPathsHasBeenSet = true; m_customerArtifactPaths = std::move(value); }
129
131
134 inline const Radios& GetRadios() const{ return m_radios; }
135 inline bool RadiosHasBeenSet() const { return m_radiosHasBeenSet; }
136 inline void SetRadios(const Radios& value) { m_radiosHasBeenSet = true; m_radios = value; }
137 inline void SetRadios(Radios&& value) { m_radiosHasBeenSet = true; m_radios = std::move(value); }
138 inline ScheduleRunConfiguration& WithRadios(const Radios& value) { SetRadios(value); return *this;}
139 inline ScheduleRunConfiguration& WithRadios(Radios&& value) { SetRadios(std::move(value)); return *this;}
141
143
146 inline const Aws::Vector<Aws::String>& GetAuxiliaryApps() const{ return m_auxiliaryApps; }
147 inline bool AuxiliaryAppsHasBeenSet() const { return m_auxiliaryAppsHasBeenSet; }
148 inline void SetAuxiliaryApps(const Aws::Vector<Aws::String>& value) { m_auxiliaryAppsHasBeenSet = true; m_auxiliaryApps = value; }
149 inline void SetAuxiliaryApps(Aws::Vector<Aws::String>&& value) { m_auxiliaryAppsHasBeenSet = true; m_auxiliaryApps = std::move(value); }
151 inline ScheduleRunConfiguration& WithAuxiliaryApps(Aws::Vector<Aws::String>&& value) { SetAuxiliaryApps(std::move(value)); return *this;}
152 inline ScheduleRunConfiguration& AddAuxiliaryApps(const Aws::String& value) { m_auxiliaryAppsHasBeenSet = true; m_auxiliaryApps.push_back(value); return *this; }
153 inline ScheduleRunConfiguration& AddAuxiliaryApps(Aws::String&& value) { m_auxiliaryAppsHasBeenSet = true; m_auxiliaryApps.push_back(std::move(value)); return *this; }
154 inline ScheduleRunConfiguration& AddAuxiliaryApps(const char* value) { m_auxiliaryAppsHasBeenSet = true; m_auxiliaryApps.push_back(value); return *this; }
156
158
165 inline const BillingMethod& GetBillingMethod() const{ return m_billingMethod; }
166 inline bool BillingMethodHasBeenSet() const { return m_billingMethodHasBeenSet; }
167 inline void SetBillingMethod(const BillingMethod& value) { m_billingMethodHasBeenSet = true; m_billingMethod = value; }
168 inline void SetBillingMethod(BillingMethod&& value) { m_billingMethodHasBeenSet = true; m_billingMethod = std::move(value); }
169 inline ScheduleRunConfiguration& WithBillingMethod(const BillingMethod& value) { SetBillingMethod(value); return *this;}
170 inline ScheduleRunConfiguration& WithBillingMethod(BillingMethod&& value) { SetBillingMethod(std::move(value)); return *this;}
172 private:
173
174 Aws::String m_extraDataPackageArn;
175 bool m_extraDataPackageArnHasBeenSet = false;
176
177 Aws::String m_networkProfileArn;
178 bool m_networkProfileArnHasBeenSet = false;
179
180 Aws::String m_locale;
181 bool m_localeHasBeenSet = false;
182
183 Location m_location;
184 bool m_locationHasBeenSet = false;
185
186 Aws::Vector<Aws::String> m_vpceConfigurationArns;
187 bool m_vpceConfigurationArnsHasBeenSet = false;
188
189 CustomerArtifactPaths m_customerArtifactPaths;
190 bool m_customerArtifactPathsHasBeenSet = false;
191
192 Radios m_radios;
193 bool m_radiosHasBeenSet = false;
194
195 Aws::Vector<Aws::String> m_auxiliaryApps;
196 bool m_auxiliaryAppsHasBeenSet = false;
197
198 BillingMethod m_billingMethod;
199 bool m_billingMethodHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace DeviceFarm
204} // namespace Aws
ScheduleRunConfiguration & AddAuxiliaryApps(const Aws::String &value)
ScheduleRunConfiguration & WithBillingMethod(const BillingMethod &value)
ScheduleRunConfiguration & WithRadios(Radios &&value)
ScheduleRunConfiguration & WithVpceConfigurationArns(const Aws::Vector< Aws::String > &value)
ScheduleRunConfiguration & WithExtraDataPackageArn(const char *value)
ScheduleRunConfiguration & WithNetworkProfileArn(Aws::String &&value)
const Aws::Vector< Aws::String > & GetVpceConfigurationArns() const
ScheduleRunConfiguration & AddVpceConfigurationArns(const char *value)
ScheduleRunConfiguration & WithCustomerArtifactPaths(const CustomerArtifactPaths &value)
const Aws::Vector< Aws::String > & GetAuxiliaryApps() const
ScheduleRunConfiguration & WithLocale(Aws::String &&value)
const CustomerArtifactPaths & GetCustomerArtifactPaths() const
ScheduleRunConfiguration & WithRadios(const Radios &value)
ScheduleRunConfiguration & WithCustomerArtifactPaths(CustomerArtifactPaths &&value)
ScheduleRunConfiguration & WithAuxiliaryApps(const Aws::Vector< Aws::String > &value)
ScheduleRunConfiguration & AddAuxiliaryApps(const char *value)
void SetAuxiliaryApps(const Aws::Vector< Aws::String > &value)
ScheduleRunConfiguration & AddVpceConfigurationArns(Aws::String &&value)
void SetVpceConfigurationArns(Aws::Vector< Aws::String > &&value)
ScheduleRunConfiguration & AddAuxiliaryApps(Aws::String &&value)
ScheduleRunConfiguration & WithExtraDataPackageArn(const Aws::String &value)
ScheduleRunConfiguration & WithLocation(Location &&value)
void SetCustomerArtifactPaths(const CustomerArtifactPaths &value)
void SetAuxiliaryApps(Aws::Vector< Aws::String > &&value)
AWS_DEVICEFARM_API ScheduleRunConfiguration(Aws::Utils::Json::JsonView jsonValue)
ScheduleRunConfiguration & AddVpceConfigurationArns(const Aws::String &value)
ScheduleRunConfiguration & WithVpceConfigurationArns(Aws::Vector< Aws::String > &&value)
ScheduleRunConfiguration & WithLocale(const Aws::String &value)
ScheduleRunConfiguration & WithExtraDataPackageArn(Aws::String &&value)
void SetVpceConfigurationArns(const Aws::Vector< Aws::String > &value)
ScheduleRunConfiguration & WithAuxiliaryApps(Aws::Vector< Aws::String > &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCustomerArtifactPaths(CustomerArtifactPaths &&value)
ScheduleRunConfiguration & WithLocale(const char *value)
ScheduleRunConfiguration & WithNetworkProfileArn(const char *value)
AWS_DEVICEFARM_API ScheduleRunConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleRunConfiguration & WithNetworkProfileArn(const Aws::String &value)
ScheduleRunConfiguration & WithLocation(const Location &value)
ScheduleRunConfiguration & WithBillingMethod(BillingMethod &&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