AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TestGridSessionArtifact.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/TestGridSessionArtifactType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DeviceFarm
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_DEVICEFARM_API TestGridSessionArtifact() = default;
41 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetFilename() const { return m_filename; }
49 inline bool FilenameHasBeenSet() const { return m_filenameHasBeenSet; }
50 template<typename FilenameT = Aws::String>
51 void SetFilename(FilenameT&& value) { m_filenameHasBeenSet = true; m_filename = std::forward<FilenameT>(value); }
52 template<typename FilenameT = Aws::String>
53 TestGridSessionArtifact& WithFilename(FilenameT&& value) { SetFilename(std::forward<FilenameT>(value)); return *this;}
55
57
60 inline TestGridSessionArtifactType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(TestGridSessionArtifactType value) { m_typeHasBeenSet = true; m_type = value; }
65
67
70 inline const Aws::String& GetUrl() const { return m_url; }
71 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
72 template<typename UrlT = Aws::String>
73 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
74 template<typename UrlT = Aws::String>
75 TestGridSessionArtifact& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
77 private:
78
79 Aws::String m_filename;
80 bool m_filenameHasBeenSet = false;
81
83 bool m_typeHasBeenSet = false;
84
85 Aws::String m_url;
86 bool m_urlHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace DeviceFarm
91} // 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