AWS SDK for C++  0.12.9
AWS SDK for C++
GetDevicePoolCompatibilityRequest.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
20 
21 namespace Aws
22 {
23 namespace DeviceFarm
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
42  inline const Aws::String& GetDevicePoolArn() const{ return m_devicePoolArn; }
43 
47  inline void SetDevicePoolArn(const Aws::String& value) { m_devicePoolArnHasBeenSet = true; m_devicePoolArn = value; }
48 
52  inline void SetDevicePoolArn(Aws::String&& value) { m_devicePoolArnHasBeenSet = true; m_devicePoolArn = value; }
53 
57  inline void SetDevicePoolArn(const char* value) { m_devicePoolArnHasBeenSet = true; m_devicePoolArn.assign(value); }
58 
62  inline GetDevicePoolCompatibilityRequest& WithDevicePoolArn(const Aws::String& value) { SetDevicePoolArn(value); return *this;}
63 
67  inline GetDevicePoolCompatibilityRequest& WithDevicePoolArn(Aws::String&& value) { SetDevicePoolArn(value); return *this;}
68 
72  inline GetDevicePoolCompatibilityRequest& WithDevicePoolArn(const char* value) { SetDevicePoolArn(value); return *this;}
73 
77  inline const Aws::String& GetAppArn() const{ return m_appArn; }
78 
82  inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
83 
87  inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = value; }
88 
92  inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
93 
97  inline GetDevicePoolCompatibilityRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
98 
102  inline GetDevicePoolCompatibilityRequest& WithAppArn(Aws::String&& value) { SetAppArn(value); return *this;}
103 
107  inline GetDevicePoolCompatibilityRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
108 
126  inline const TestType& GetTestType() const{ return m_testType; }
127 
145  inline void SetTestType(const TestType& value) { m_testTypeHasBeenSet = true; m_testType = value; }
146 
164  inline void SetTestType(TestType&& value) { m_testTypeHasBeenSet = true; m_testType = value; }
165 
183  inline GetDevicePoolCompatibilityRequest& WithTestType(const TestType& value) { SetTestType(value); return *this;}
184 
202  inline GetDevicePoolCompatibilityRequest& WithTestType(TestType&& value) { SetTestType(value); return *this;}
203 
204  private:
205  Aws::String m_devicePoolArn;
206  bool m_devicePoolArnHasBeenSet;
207  Aws::String m_appArn;
208  bool m_appArnHasBeenSet;
209  TestType m_testType;
210  bool m_testTypeHasBeenSet;
211  };
212 
213 } // namespace Model
214 } // namespace DeviceFarm
215 } // namespace Aws
#define AWS_DEVICEFARM_API
GetDevicePoolCompatibilityRequest & WithDevicePoolArn(const Aws::String &value)
GetDevicePoolCompatibilityRequest & WithDevicePoolArn(const char *value)
GetDevicePoolCompatibilityRequest & WithTestType(const TestType &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
GetDevicePoolCompatibilityRequest & WithTestType(TestType &&value)
GetDevicePoolCompatibilityRequest & WithDevicePoolArn(Aws::String &&value)
GetDevicePoolCompatibilityRequest & WithAppArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetDevicePoolCompatibilityRequest & WithAppArn(Aws::String &&value)
GetDevicePoolCompatibilityRequest & WithAppArn(const char *value)
JSON (JavaScript Object Notation).