AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFilename(const Aws::String& value) { m_filenameHasBeenSet = true; m_filename = value; }
51 inline void SetFilename(Aws::String&& value) { m_filenameHasBeenSet = true; m_filename = std::move(value); }
52 inline void SetFilename(const char* value) { m_filenameHasBeenSet = true; m_filename.assign(value); }
53 inline TestGridSessionArtifact& WithFilename(const Aws::String& value) { SetFilename(value); return *this;}
54 inline TestGridSessionArtifact& WithFilename(Aws::String&& value) { SetFilename(std::move(value)); return *this;}
55 inline TestGridSessionArtifact& WithFilename(const char* value) { SetFilename(value); return *this;}
57
59
62 inline const TestGridSessionArtifactType& GetType() const{ return m_type; }
63 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
64 inline void SetType(const TestGridSessionArtifactType& value) { m_typeHasBeenSet = true; m_type = value; }
65 inline void SetType(TestGridSessionArtifactType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
66 inline TestGridSessionArtifact& WithType(const TestGridSessionArtifactType& value) { SetType(value); return *this;}
67 inline TestGridSessionArtifact& WithType(TestGridSessionArtifactType&& value) { SetType(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetUrl() const{ return m_url; }
75 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
76 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
77 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
78 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
79 inline TestGridSessionArtifact& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
80 inline TestGridSessionArtifact& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
81 inline TestGridSessionArtifact& WithUrl(const char* value) { SetUrl(value); return *this;}
83 private:
84
85 Aws::String m_filename;
86 bool m_filenameHasBeenSet = false;
87
89 bool m_typeHasBeenSet = false;
90
91 Aws::String m_url;
92 bool m_urlHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace DeviceFarm
97} // namespace Aws
AWS_DEVICEFARM_API TestGridSessionArtifact(Aws::Utils::Json::JsonView jsonValue)
TestGridSessionArtifact & WithType(const TestGridSessionArtifactType &value)
TestGridSessionArtifact & WithUrl(const Aws::String &value)
TestGridSessionArtifact & WithFilename(const char *value)
void SetType(TestGridSessionArtifactType &&value)
TestGridSessionArtifact & WithUrl(const char *value)
TestGridSessionArtifact & WithFilename(Aws::String &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
TestGridSessionArtifact & WithUrl(Aws::String &&value)
void SetType(const TestGridSessionArtifactType &value)
const TestGridSessionArtifactType & GetType() const
TestGridSessionArtifact & WithFilename(const Aws::String &value)
TestGridSessionArtifact & WithType(TestGridSessionArtifactType &&value)
AWS_DEVICEFARM_API TestGridSessionArtifact & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue