AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListUniqueProblemsResult.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devicefarm/model/ExecutionResult.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/devicefarm/model/UniqueProblem.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DeviceFarm
28{
29namespace Model
30{
38 {
39 public:
40 AWS_DEVICEFARM_API ListUniqueProblemsResult();
43
44
46
52 inline const Aws::Map<ExecutionResult, Aws::Vector<UniqueProblem>>& GetUniqueProblems() const{ return m_uniqueProblems; }
53 inline void SetUniqueProblems(const Aws::Map<ExecutionResult, Aws::Vector<UniqueProblem>>& value) { m_uniqueProblems = value; }
54 inline void SetUniqueProblems(Aws::Map<ExecutionResult, Aws::Vector<UniqueProblem>>&& value) { m_uniqueProblems = std::move(value); }
57 inline ListUniqueProblemsResult& AddUniqueProblems(const ExecutionResult& key, const Aws::Vector<UniqueProblem>& value) { m_uniqueProblems.emplace(key, value); return *this; }
58 inline ListUniqueProblemsResult& AddUniqueProblems(ExecutionResult&& key, const Aws::Vector<UniqueProblem>& value) { m_uniqueProblems.emplace(std::move(key), value); return *this; }
59 inline ListUniqueProblemsResult& AddUniqueProblems(const ExecutionResult& key, Aws::Vector<UniqueProblem>&& value) { m_uniqueProblems.emplace(key, std::move(value)); return *this; }
60 inline ListUniqueProblemsResult& AddUniqueProblems(ExecutionResult&& key, Aws::Vector<UniqueProblem>&& value) { m_uniqueProblems.emplace(std::move(key), std::move(value)); return *this; }
62
64
69 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
70 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
71 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
72 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
73 inline ListUniqueProblemsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
74 inline ListUniqueProblemsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
75 inline ListUniqueProblemsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline ListUniqueProblemsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline ListUniqueProblemsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline ListUniqueProblemsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
91
92 Aws::String m_nextToken;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace DeviceFarm
99} // namespace Aws
ListUniqueProblemsResult & WithRequestId(Aws::String &&value)
void SetUniqueProblems(const Aws::Map< ExecutionResult, Aws::Vector< UniqueProblem > > &value)
AWS_DEVICEFARM_API ListUniqueProblemsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DEVICEFARM_API ListUniqueProblemsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUniqueProblems(Aws::Map< ExecutionResult, Aws::Vector< UniqueProblem > > &&value)
ListUniqueProblemsResult & AddUniqueProblems(ExecutionResult &&key, const Aws::Vector< UniqueProblem > &value)
ListUniqueProblemsResult & WithUniqueProblems(Aws::Map< ExecutionResult, Aws::Vector< UniqueProblem > > &&value)
ListUniqueProblemsResult & AddUniqueProblems(const ExecutionResult &key, Aws::Vector< UniqueProblem > &&value)
ListUniqueProblemsResult & AddUniqueProblems(ExecutionResult &&key, Aws::Vector< UniqueProblem > &&value)
ListUniqueProblemsResult & AddUniqueProblems(const ExecutionResult &key, const Aws::Vector< UniqueProblem > &value)
ListUniqueProblemsResult & WithUniqueProblems(const Aws::Map< ExecutionResult, Aws::Vector< UniqueProblem > > &value)
const Aws::Map< ExecutionResult, Aws::Vector< UniqueProblem > > & GetUniqueProblems() const
ListUniqueProblemsResult & WithRequestId(const char *value)
ListUniqueProblemsResult & WithNextToken(const char *value)
ListUniqueProblemsResult & WithRequestId(const Aws::String &value)
ListUniqueProblemsResult & WithNextToken(Aws::String &&value)
ListUniqueProblemsResult & WithNextToken(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue