/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Artifacts are video and other files that are produced in the process of
* running a browser in an automated context. Video elements might
* be broken up into multiple artifacts as they grow in size during creation. See Also:
AWS
* API Reference
The file name of the artifact.
*/ inline const Aws::String& GetFilename() const{ return m_filename; } /** *The file name of the artifact.
*/ inline bool FilenameHasBeenSet() const { return m_filenameHasBeenSet; } /** *The file name of the artifact.
*/ inline void SetFilename(const Aws::String& value) { m_filenameHasBeenSet = true; m_filename = value; } /** *The file name of the artifact.
*/ inline void SetFilename(Aws::String&& value) { m_filenameHasBeenSet = true; m_filename = std::move(value); } /** *The file name of the artifact.
*/ inline void SetFilename(const char* value) { m_filenameHasBeenSet = true; m_filename.assign(value); } /** *The file name of the artifact.
*/ inline TestGridSessionArtifact& WithFilename(const Aws::String& value) { SetFilename(value); return *this;} /** *The file name of the artifact.
*/ inline TestGridSessionArtifact& WithFilename(Aws::String&& value) { SetFilename(std::move(value)); return *this;} /** *The file name of the artifact.
*/ inline TestGridSessionArtifact& WithFilename(const char* value) { SetFilename(value); return *this;} /** *The kind of artifact.
*/ inline const TestGridSessionArtifactType& GetType() const{ return m_type; } /** *The kind of artifact.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The kind of artifact.
*/ inline void SetType(const TestGridSessionArtifactType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The kind of artifact.
*/ inline void SetType(TestGridSessionArtifactType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The kind of artifact.
*/ inline TestGridSessionArtifact& WithType(const TestGridSessionArtifactType& value) { SetType(value); return *this;} /** *The kind of artifact.
*/ inline TestGridSessionArtifact& WithType(TestGridSessionArtifactType&& value) { SetType(std::move(value)); return *this;} /** *A semi-stable URL to the content of the object.
*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *A semi-stable URL to the content of the object.
*/ inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; } /** *A semi-stable URL to the content of the object.
*/ inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; } /** *A semi-stable URL to the content of the object.
*/ inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); } /** *A semi-stable URL to the content of the object.
*/ inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); } /** *A semi-stable URL to the content of the object.
*/ inline TestGridSessionArtifact& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *A semi-stable URL to the content of the object.
*/ inline TestGridSessionArtifact& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *A semi-stable URL to the content of the object.
*/ inline TestGridSessionArtifact& WithUrl(const char* value) { SetUrl(value); return *this;} private: Aws::String m_filename; bool m_filenameHasBeenSet = false; TestGridSessionArtifactType m_type; bool m_typeHasBeenSet = false; Aws::String m_url; bool m_urlHasBeenSet = false; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws