AWS SDK for C++  0.12.9
AWS SDK for C++
ListUniqueProblemsResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
22 
23 namespace Aws
24 {
25 template<typename RESULT_TYPE>
26 class AmazonWebServiceResult;
27 
28 namespace Utils
29 {
30 namespace Json
31 {
32  class JsonValue;
33 } // namespace Json
34 } // namespace Utils
35 namespace DeviceFarm
36 {
37 namespace Model
38 {
43  {
44  public:
48 
57  inline const Aws::Map<ExecutionResult, Aws::Vector<UniqueProblem>>& GetUniqueProblems() const{ return m_uniqueProblems; }
58 
67  inline void SetUniqueProblems(const Aws::Map<ExecutionResult, Aws::Vector<UniqueProblem>>& value) { m_uniqueProblems = value; }
68 
77  inline void SetUniqueProblems(Aws::Map<ExecutionResult, Aws::Vector<UniqueProblem>>&& value) { m_uniqueProblems = value; }
78 
87  inline ListUniqueProblemsResult& WithUniqueProblems(const Aws::Map<ExecutionResult, Aws::Vector<UniqueProblem>>& value) { SetUniqueProblems(value); return *this;}
88 
97  inline ListUniqueProblemsResult& WithUniqueProblems(Aws::Map<ExecutionResult, Aws::Vector<UniqueProblem>>&& value) { SetUniqueProblems(value); return *this;}
98 
107  inline ListUniqueProblemsResult& AddUniqueProblems(const ExecutionResult& key, const Aws::Vector<UniqueProblem>& value) { m_uniqueProblems[key] = value; return *this; }
108 
117  inline ListUniqueProblemsResult& AddUniqueProblems(ExecutionResult&& key, const Aws::Vector<UniqueProblem>& value) { m_uniqueProblems[key] = value; return *this; }
118 
127  inline ListUniqueProblemsResult& AddUniqueProblems(const ExecutionResult& key, Aws::Vector<UniqueProblem>&& value) { m_uniqueProblems[key] = value; return *this; }
128 
137  inline ListUniqueProblemsResult& AddUniqueProblems(ExecutionResult&& key, Aws::Vector<UniqueProblem>&& value) { m_uniqueProblems[key] = value; return *this; }
138 
144  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
145 
151  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
152 
158  inline void SetNextToken(Aws::String&& value) { m_nextToken = value; }
159 
165  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
166 
172  inline ListUniqueProblemsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
173 
179  inline ListUniqueProblemsResult& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
180 
186  inline ListUniqueProblemsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
187 
188  private:
190  Aws::String m_nextToken;
191  };
192 
193 } // namespace Model
194 } // namespace DeviceFarm
195 } // namespace Aws
#define AWS_DEVICEFARM_API
ListUniqueProblemsResult & WithNextToken(Aws::String &&value)
ListUniqueProblemsResult & AddUniqueProblems(ExecutionResult &&key, const Aws::Vector< UniqueProblem > &value)
ListUniqueProblemsResult & AddUniqueProblems(const ExecutionResult &key, Aws::Vector< UniqueProblem > &&value)
ListUniqueProblemsResult & WithNextToken(const char *value)
ListUniqueProblemsResult & WithNextToken(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:28
void SetUniqueProblems(Aws::Map< ExecutionResult, Aws::Vector< UniqueProblem >> &&value)
ListUniqueProblemsResult & AddUniqueProblems(const ExecutionResult &key, const Aws::Vector< UniqueProblem > &value)
void SetUniqueProblems(const Aws::Map< ExecutionResult, Aws::Vector< UniqueProblem >> &value)
ListUniqueProblemsResult & AddUniqueProblems(ExecutionResult &&key, Aws::Vector< UniqueProblem > &&value)
ListUniqueProblemsResult & WithUniqueProblems(Aws::Map< ExecutionResult, Aws::Vector< UniqueProblem >> &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListUniqueProblemsResult & WithUniqueProblems(const Aws::Map< ExecutionResult, Aws::Vector< UniqueProblem >> &value)
const Aws::Map< ExecutionResult, Aws::Vector< UniqueProblem > > & GetUniqueProblems() const
JSON (JavaScript Object Notation).