AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
CustomerArtifactPaths.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DeviceFarm {
21namespace Model {
22
34 public:
35 AWS_DEVICEFARM_API CustomerArtifactPaths() = default;
38 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const Aws::Vector<Aws::String>& GetIosPaths() const { return m_iosPaths; }
46 inline bool IosPathsHasBeenSet() const { return m_iosPathsHasBeenSet; }
47 template <typename IosPathsT = Aws::Vector<Aws::String>>
48 void SetIosPaths(IosPathsT&& value) {
49 m_iosPathsHasBeenSet = true;
50 m_iosPaths = std::forward<IosPathsT>(value);
51 }
52 template <typename IosPathsT = Aws::Vector<Aws::String>>
53 CustomerArtifactPaths& WithIosPaths(IosPathsT&& value) {
54 SetIosPaths(std::forward<IosPathsT>(value));
55 return *this;
56 }
57 template <typename IosPathsT = Aws::String>
58 CustomerArtifactPaths& AddIosPaths(IosPathsT&& value) {
59 m_iosPathsHasBeenSet = true;
60 m_iosPaths.emplace_back(std::forward<IosPathsT>(value));
61 return *this;
62 }
64
66
70 inline const Aws::Vector<Aws::String>& GetAndroidPaths() const { return m_androidPaths; }
71 inline bool AndroidPathsHasBeenSet() const { return m_androidPathsHasBeenSet; }
72 template <typename AndroidPathsT = Aws::Vector<Aws::String>>
73 void SetAndroidPaths(AndroidPathsT&& value) {
74 m_androidPathsHasBeenSet = true;
75 m_androidPaths = std::forward<AndroidPathsT>(value);
76 }
77 template <typename AndroidPathsT = Aws::Vector<Aws::String>>
78 CustomerArtifactPaths& WithAndroidPaths(AndroidPathsT&& value) {
79 SetAndroidPaths(std::forward<AndroidPathsT>(value));
80 return *this;
81 }
82 template <typename AndroidPathsT = Aws::String>
83 CustomerArtifactPaths& AddAndroidPaths(AndroidPathsT&& value) {
84 m_androidPathsHasBeenSet = true;
85 m_androidPaths.emplace_back(std::forward<AndroidPathsT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::Vector<Aws::String>& GetDeviceHostPaths() const { return m_deviceHostPaths; }
96 inline bool DeviceHostPathsHasBeenSet() const { return m_deviceHostPathsHasBeenSet; }
97 template <typename DeviceHostPathsT = Aws::Vector<Aws::String>>
98 void SetDeviceHostPaths(DeviceHostPathsT&& value) {
99 m_deviceHostPathsHasBeenSet = true;
100 m_deviceHostPaths = std::forward<DeviceHostPathsT>(value);
101 }
102 template <typename DeviceHostPathsT = Aws::Vector<Aws::String>>
103 CustomerArtifactPaths& WithDeviceHostPaths(DeviceHostPathsT&& value) {
104 SetDeviceHostPaths(std::forward<DeviceHostPathsT>(value));
105 return *this;
106 }
107 template <typename DeviceHostPathsT = Aws::String>
108 CustomerArtifactPaths& AddDeviceHostPaths(DeviceHostPathsT&& value) {
109 m_deviceHostPathsHasBeenSet = true;
110 m_deviceHostPaths.emplace_back(std::forward<DeviceHostPathsT>(value));
111 return *this;
112 }
114 private:
115 Aws::Vector<Aws::String> m_iosPaths;
116
117 Aws::Vector<Aws::String> m_androidPaths;
118
119 Aws::Vector<Aws::String> m_deviceHostPaths;
120 bool m_iosPathsHasBeenSet = false;
121 bool m_androidPathsHasBeenSet = false;
122 bool m_deviceHostPathsHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace DeviceFarm
127} // namespace Aws
CustomerArtifactPaths & WithDeviceHostPaths(DeviceHostPathsT &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
CustomerArtifactPaths & AddIosPaths(IosPathsT &&value)
const Aws::Vector< Aws::String > & GetDeviceHostPaths() const
AWS_DEVICEFARM_API CustomerArtifactPaths()=default
CustomerArtifactPaths & WithAndroidPaths(AndroidPathsT &&value)
AWS_DEVICEFARM_API CustomerArtifactPaths(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAndroidPaths() const
AWS_DEVICEFARM_API CustomerArtifactPaths & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetIosPaths() const
CustomerArtifactPaths & AddDeviceHostPaths(DeviceHostPathsT &&value)
CustomerArtifactPaths & AddAndroidPaths(AndroidPathsT &&value)
CustomerArtifactPaths & WithIosPaths(IosPathsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue