/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DeviceFarm { namespace Model { class ListTestGridSessionArtifactsResult { public: AWS_DEVICEFARM_API ListTestGridSessionArtifactsResult(); AWS_DEVICEFARM_API ListTestGridSessionArtifactsResult(const Aws::AmazonWebServiceResult& result); AWS_DEVICEFARM_API ListTestGridSessionArtifactsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of test grid session artifacts for a TestGridSession.

*/ inline const Aws::Vector& GetArtifacts() const{ return m_artifacts; } /** *

A list of test grid session artifacts for a TestGridSession.

*/ inline void SetArtifacts(const Aws::Vector& value) { m_artifacts = value; } /** *

A list of test grid session artifacts for a TestGridSession.

*/ inline void SetArtifacts(Aws::Vector&& value) { m_artifacts = std::move(value); } /** *

A list of test grid session artifacts for a TestGridSession.

*/ inline ListTestGridSessionArtifactsResult& WithArtifacts(const Aws::Vector& value) { SetArtifacts(value); return *this;} /** *

A list of test grid session artifacts for a TestGridSession.

*/ inline ListTestGridSessionArtifactsResult& WithArtifacts(Aws::Vector&& value) { SetArtifacts(std::move(value)); return *this;} /** *

A list of test grid session artifacts for a TestGridSession.

*/ inline ListTestGridSessionArtifactsResult& AddArtifacts(const TestGridSessionArtifact& value) { m_artifacts.push_back(value); return *this; } /** *

A list of test grid session artifacts for a TestGridSession.

*/ inline ListTestGridSessionArtifactsResult& AddArtifacts(TestGridSessionArtifact&& value) { m_artifacts.push_back(std::move(value)); return *this; } /** *

Pagination token.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

Pagination token.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

Pagination token.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

Pagination token.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

Pagination token.

*/ inline ListTestGridSessionArtifactsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

Pagination token.

*/ inline ListTestGridSessionArtifactsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

Pagination token.

*/ inline ListTestGridSessionArtifactsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListTestGridSessionArtifactsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListTestGridSessionArtifactsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListTestGridSessionArtifactsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_artifacts; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws