AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TestGridSessionArtifact.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
9#include <aws/devicefarm/model/TestGridSessionArtifactType.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
32 public:
33 AWS_DEVICEFARM_API TestGridSessionArtifact() = default;
36 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetFilename() const { return m_filename; }
43 inline bool FilenameHasBeenSet() const { return m_filenameHasBeenSet; }
44 template <typename FilenameT = Aws::String>
45 void SetFilename(FilenameT&& value) {
46 m_filenameHasBeenSet = true;
47 m_filename = std::forward<FilenameT>(value);
48 }
49 template <typename FilenameT = Aws::String>
51 SetFilename(std::forward<FilenameT>(value));
52 return *this;
53 }
55
57
60 inline TestGridSessionArtifactType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 m_typeHasBeenSet = true;
64 m_type = value;
65 }
67 SetType(value);
68 return *this;
69 }
71
73
76 inline const Aws::String& GetUrl() const { return m_url; }
77 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
78 template <typename UrlT = Aws::String>
79 void SetUrl(UrlT&& value) {
80 m_urlHasBeenSet = true;
81 m_url = std::forward<UrlT>(value);
82 }
83 template <typename UrlT = Aws::String>
85 SetUrl(std::forward<UrlT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_filename;
91
93
94 Aws::String m_url;
95 bool m_filenameHasBeenSet = false;
96 bool m_typeHasBeenSet = false;
97 bool m_urlHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace DeviceFarm
102} // namespace Aws
AWS_DEVICEFARM_API TestGridSessionArtifact(Aws::Utils::Json::JsonView jsonValue)
void SetType(TestGridSessionArtifactType value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
TestGridSessionArtifact & WithUrl(UrlT &&value)
AWS_DEVICEFARM_API TestGridSessionArtifact & operator=(Aws::Utils::Json::JsonView jsonValue)
TestGridSessionArtifact & WithType(TestGridSessionArtifactType value)
AWS_DEVICEFARM_API TestGridSessionArtifact()=default
TestGridSessionArtifact & WithFilename(FilenameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue