/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DeviceFarm { namespace Model { /** *

Represents the result of a list unique problems request.

See * Also:

AWS * API Reference

*/ class ListUniqueProblemsResult { public: AWS_DEVICEFARM_API ListUniqueProblemsResult(); AWS_DEVICEFARM_API ListUniqueProblemsResult(const Aws::AmazonWebServiceResult& result); AWS_DEVICEFARM_API ListUniqueProblemsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the unique problems.

Allowed values include:

*
  • PENDING

  • PASSED

  • WARNED

  • *
  • FAILED

  • SKIPPED

  • ERRORED

  • *
  • STOPPED

*/ inline const Aws::Map>& GetUniqueProblems() const{ return m_uniqueProblems; } /** *

Information about the unique problems.

Allowed values include:

*
  • PENDING

  • PASSED

  • WARNED

  • *
  • FAILED

  • SKIPPED

  • ERRORED

  • *
  • STOPPED

*/ inline void SetUniqueProblems(const Aws::Map>& value) { m_uniqueProblems = value; } /** *

Information about the unique problems.

Allowed values include:

*
  • PENDING

  • PASSED

  • WARNED

  • *
  • FAILED

  • SKIPPED

  • ERRORED

  • *
  • STOPPED

*/ inline void SetUniqueProblems(Aws::Map>&& value) { m_uniqueProblems = std::move(value); } /** *

Information about the unique problems.

Allowed values include:

*
  • PENDING

  • PASSED

  • WARNED

  • *
  • FAILED

  • SKIPPED

  • ERRORED

  • *
  • STOPPED

*/ inline ListUniqueProblemsResult& WithUniqueProblems(const Aws::Map>& value) { SetUniqueProblems(value); return *this;} /** *

Information about the unique problems.

Allowed values include:

*
  • PENDING

  • PASSED

  • WARNED

  • *
  • FAILED

  • SKIPPED

  • ERRORED

  • *
  • STOPPED

*/ inline ListUniqueProblemsResult& WithUniqueProblems(Aws::Map>&& value) { SetUniqueProblems(std::move(value)); return *this;} /** *

Information about the unique problems.

Allowed values include:

*
  • PENDING

  • PASSED

  • WARNED

  • *
  • FAILED

  • SKIPPED

  • ERRORED

  • *
  • STOPPED

*/ inline ListUniqueProblemsResult& AddUniqueProblems(const ExecutionResult& key, const Aws::Vector& value) { m_uniqueProblems.emplace(key, value); return *this; } /** *

Information about the unique problems.

Allowed values include:

*
  • PENDING

  • PASSED

  • WARNED

  • *
  • FAILED

  • SKIPPED

  • ERRORED

  • *
  • STOPPED

*/ inline ListUniqueProblemsResult& AddUniqueProblems(ExecutionResult&& key, const Aws::Vector& value) { m_uniqueProblems.emplace(std::move(key), value); return *this; } /** *

Information about the unique problems.

Allowed values include:

*
  • PENDING

  • PASSED

  • WARNED

  • *
  • FAILED

  • SKIPPED

  • ERRORED

  • *
  • STOPPED

*/ inline ListUniqueProblemsResult& AddUniqueProblems(const ExecutionResult& key, Aws::Vector&& value) { m_uniqueProblems.emplace(key, std::move(value)); return *this; } /** *

Information about the unique problems.

Allowed values include:

*
  • PENDING

  • PASSED

  • WARNED

  • *
  • FAILED

  • SKIPPED

  • ERRORED

  • *
  • STOPPED

*/ inline ListUniqueProblemsResult& AddUniqueProblems(ExecutionResult&& key, Aws::Vector&& value) { m_uniqueProblems.emplace(std::move(key), std::move(value)); return *this; } /** *

If the number of items that are returned is significantly large, this is an * identifier that is also returned. It can be used in a subsequent call to this * operation to return the next set of items in the list.

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

If the number of items that are returned is significantly large, this is an * identifier that is also returned. It can be used in a subsequent call to this * operation to return the next set of items in the list.

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

If the number of items that are returned is significantly large, this is an * identifier that is also returned. It can be used in a subsequent call to this * operation to return the next set of items in the list.

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

If the number of items that are returned is significantly large, this is an * identifier that is also returned. It can be used in a subsequent call to this * operation to return the next set of items in the list.

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

If the number of items that are returned is significantly large, this is an * identifier that is also returned. It can be used in a subsequent call to this * operation to return the next set of items in the list.

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

If the number of items that are returned is significantly large, this is an * identifier that is also returned. It can be used in a subsequent call to this * operation to return the next set of items in the list.

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

If the number of items that are returned is significantly large, this is an * identifier that is also returned. It can be used in a subsequent call to this * operation to return the next set of items in the list.

*/ inline ListUniqueProblemsResult& 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 ListUniqueProblemsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListUniqueProblemsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListUniqueProblemsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Map> m_uniqueProblems; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws