AWS SDK for C++  0.12.9
AWS SDK for C++
ScheduleRunConfiguration.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
22 
23 namespace Aws
24 {
25 namespace Utils
26 {
27 namespace Json
28 {
29  class JsonValue;
30 } // namespace Json
31 } // namespace Utils
32 namespace DeviceFarm
33 {
34 namespace Model
35 {
36 
42  {
43  public:
46  ScheduleRunConfiguration& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
47  Aws::Utils::Json::JsonValue Jsonize() const;
48 
54  inline const Aws::String& GetExtraDataPackageArn() const{ return m_extraDataPackageArn; }
55 
61  inline void SetExtraDataPackageArn(const Aws::String& value) { m_extraDataPackageArnHasBeenSet = true; m_extraDataPackageArn = value; }
62 
68  inline void SetExtraDataPackageArn(Aws::String&& value) { m_extraDataPackageArnHasBeenSet = true; m_extraDataPackageArn = value; }
69 
75  inline void SetExtraDataPackageArn(const char* value) { m_extraDataPackageArnHasBeenSet = true; m_extraDataPackageArn.assign(value); }
76 
82  inline ScheduleRunConfiguration& WithExtraDataPackageArn(const Aws::String& value) { SetExtraDataPackageArn(value); return *this;}
83 
89  inline ScheduleRunConfiguration& WithExtraDataPackageArn(Aws::String&& value) { SetExtraDataPackageArn(value); return *this;}
90 
96  inline ScheduleRunConfiguration& WithExtraDataPackageArn(const char* value) { SetExtraDataPackageArn(value); return *this;}
97 
101  inline const Aws::String& GetNetworkProfileArn() const{ return m_networkProfileArn; }
102 
106  inline void SetNetworkProfileArn(const Aws::String& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = value; }
107 
111  inline void SetNetworkProfileArn(Aws::String&& value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn = value; }
112 
116  inline void SetNetworkProfileArn(const char* value) { m_networkProfileArnHasBeenSet = true; m_networkProfileArn.assign(value); }
117 
121  inline ScheduleRunConfiguration& WithNetworkProfileArn(const Aws::String& value) { SetNetworkProfileArn(value); return *this;}
122 
126  inline ScheduleRunConfiguration& WithNetworkProfileArn(Aws::String&& value) { SetNetworkProfileArn(value); return *this;}
127 
131  inline ScheduleRunConfiguration& WithNetworkProfileArn(const char* value) { SetNetworkProfileArn(value); return *this;}
132 
136  inline const Aws::String& GetLocale() const{ return m_locale; }
137 
141  inline void SetLocale(const Aws::String& value) { m_localeHasBeenSet = true; m_locale = value; }
142 
146  inline void SetLocale(Aws::String&& value) { m_localeHasBeenSet = true; m_locale = value; }
147 
151  inline void SetLocale(const char* value) { m_localeHasBeenSet = true; m_locale.assign(value); }
152 
156  inline ScheduleRunConfiguration& WithLocale(const Aws::String& value) { SetLocale(value); return *this;}
157 
161  inline ScheduleRunConfiguration& WithLocale(Aws::String&& value) { SetLocale(value); return *this;}
162 
166  inline ScheduleRunConfiguration& WithLocale(const char* value) { SetLocale(value); return *this;}
167 
171  inline const Location& GetLocation() const{ return m_location; }
172 
176  inline void SetLocation(const Location& value) { m_locationHasBeenSet = true; m_location = value; }
177 
181  inline void SetLocation(Location&& value) { m_locationHasBeenSet = true; m_location = value; }
182 
186  inline ScheduleRunConfiguration& WithLocation(const Location& value) { SetLocation(value); return *this;}
187 
191  inline ScheduleRunConfiguration& WithLocation(Location&& value) { SetLocation(value); return *this;}
192 
196  inline const Radios& GetRadios() const{ return m_radios; }
197 
201  inline void SetRadios(const Radios& value) { m_radiosHasBeenSet = true; m_radios = value; }
202 
206  inline void SetRadios(Radios&& value) { m_radiosHasBeenSet = true; m_radios = value; }
207 
211  inline ScheduleRunConfiguration& WithRadios(const Radios& value) { SetRadios(value); return *this;}
212 
216  inline ScheduleRunConfiguration& WithRadios(Radios&& value) { SetRadios(value); return *this;}
217 
221  inline const Aws::Vector<Aws::String>& GetAuxiliaryApps() const{ return m_auxiliaryApps; }
222 
226  inline void SetAuxiliaryApps(const Aws::Vector<Aws::String>& value) { m_auxiliaryAppsHasBeenSet = true; m_auxiliaryApps = value; }
227 
231  inline void SetAuxiliaryApps(Aws::Vector<Aws::String>&& value) { m_auxiliaryAppsHasBeenSet = true; m_auxiliaryApps = value; }
232 
236  inline ScheduleRunConfiguration& WithAuxiliaryApps(const Aws::Vector<Aws::String>& value) { SetAuxiliaryApps(value); return *this;}
237 
241  inline ScheduleRunConfiguration& WithAuxiliaryApps(Aws::Vector<Aws::String>&& value) { SetAuxiliaryApps(value); return *this;}
242 
246  inline ScheduleRunConfiguration& AddAuxiliaryApps(const Aws::String& value) { m_auxiliaryAppsHasBeenSet = true; m_auxiliaryApps.push_back(value); return *this; }
247 
251  inline ScheduleRunConfiguration& AddAuxiliaryApps(Aws::String&& value) { m_auxiliaryAppsHasBeenSet = true; m_auxiliaryApps.push_back(value); return *this; }
252 
256  inline ScheduleRunConfiguration& AddAuxiliaryApps(const char* value) { m_auxiliaryAppsHasBeenSet = true; m_auxiliaryApps.push_back(value); return *this; }
257 
263  inline const BillingMethod& GetBillingMethod() const{ return m_billingMethod; }
264 
270  inline void SetBillingMethod(const BillingMethod& value) { m_billingMethodHasBeenSet = true; m_billingMethod = value; }
271 
277  inline void SetBillingMethod(BillingMethod&& value) { m_billingMethodHasBeenSet = true; m_billingMethod = value; }
278 
284  inline ScheduleRunConfiguration& WithBillingMethod(const BillingMethod& value) { SetBillingMethod(value); return *this;}
285 
291  inline ScheduleRunConfiguration& WithBillingMethod(BillingMethod&& value) { SetBillingMethod(value); return *this;}
292 
293  private:
294  Aws::String m_extraDataPackageArn;
295  bool m_extraDataPackageArnHasBeenSet;
296  Aws::String m_networkProfileArn;
297  bool m_networkProfileArnHasBeenSet;
298  Aws::String m_locale;
299  bool m_localeHasBeenSet;
300  Location m_location;
301  bool m_locationHasBeenSet;
302  Radios m_radios;
303  bool m_radiosHasBeenSet;
304  Aws::Vector<Aws::String> m_auxiliaryApps;
305  bool m_auxiliaryAppsHasBeenSet;
306  BillingMethod m_billingMethod;
307  bool m_billingMethodHasBeenSet;
308  };
309 
310 } // namespace Model
311 } // namespace DeviceFarm
312 } // namespace Aws
#define AWS_DEVICEFARM_API
ScheduleRunConfiguration & WithLocale(const char *value)
ScheduleRunConfiguration & WithExtraDataPackageArn(Aws::String &&value)
ScheduleRunConfiguration & AddAuxiliaryApps(Aws::String &&value)
ScheduleRunConfiguration & WithExtraDataPackageArn(const char *value)
ScheduleRunConfiguration & WithRadios(Radios &&value)
ScheduleRunConfiguration & WithAuxiliaryApps(Aws::Vector< Aws::String > &&value)
ScheduleRunConfiguration & AddAuxiliaryApps(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
void SetAuxiliaryApps(Aws::Vector< Aws::String > &&value)
ScheduleRunConfiguration & WithExtraDataPackageArn(const Aws::String &value)
void SetAuxiliaryApps(const Aws::Vector< Aws::String > &value)
ScheduleRunConfiguration & WithRadios(const Radios &value)
const Aws::Vector< Aws::String > & GetAuxiliaryApps() const
ScheduleRunConfiguration & WithLocale(const Aws::String &value)
ScheduleRunConfiguration & WithLocale(Aws::String &&value)
ScheduleRunConfiguration & WithNetworkProfileArn(const Aws::String &value)
ScheduleRunConfiguration & AddAuxiliaryApps(const Aws::String &value)
ScheduleRunConfiguration & WithLocation(Location &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ScheduleRunConfiguration & WithNetworkProfileArn(const char *value)
ScheduleRunConfiguration & WithAuxiliaryApps(const Aws::Vector< Aws::String > &value)
ScheduleRunConfiguration & WithNetworkProfileArn(Aws::String &&value)
ScheduleRunConfiguration & WithBillingMethod(const BillingMethod &value)
JSON (JavaScript Object Notation).
ScheduleRunConfiguration & WithBillingMethod(BillingMethod &&value)
ScheduleRunConfiguration & WithLocation(const Location &value)