7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
10#include <aws/devicefarm/model/OfferingStatus.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template <
typename CurrentT = Aws::Map<Aws::String, OfferingStatus>>
44 m_currentHasBeenSet =
true;
45 m_current = std::forward<CurrentT>(value);
47 template <
typename CurrentT = Aws::Map<Aws::String, OfferingStatus>>
52 template <
typename CurrentKeyT = Aws::String,
typename CurrentValueT = OfferingStatus>
54 m_currentHasBeenSet =
true;
55 m_current.emplace(std::forward<CurrentKeyT>(key), std::forward<CurrentValueT>(value));
65 template <
typename NextPeriodT = Aws::Map<Aws::String, OfferingStatus>>
67 m_nextPeriodHasBeenSet =
true;
68 m_nextPeriod = std::forward<NextPeriodT>(value);
70 template <
typename NextPeriodT = Aws::Map<Aws::String, OfferingStatus>>
75 template <
typename NextPeriodKeyT = Aws::String,
typename NextPeriodValueT = OfferingStatus>
77 m_nextPeriodHasBeenSet =
true;
78 m_nextPeriod.emplace(std::forward<NextPeriodKeyT>(key), std::forward<NextPeriodValueT>(value));
89 template <
typename NextTokenT = Aws::String>
91 m_nextTokenHasBeenSet =
true;
92 m_nextToken = std::forward<NextTokenT>(value);
94 template <
typename NextTokenT = Aws::String>
104 template <
typename RequestIdT = Aws::String>
106 m_requestIdHasBeenSet =
true;
107 m_requestId = std::forward<RequestIdT>(value);
109 template <
typename RequestIdT = Aws::String>
123 bool m_currentHasBeenSet =
false;
124 bool m_nextPeriodHasBeenSet =
false;
125 bool m_nextTokenHasBeenSet =
false;
126 bool m_requestIdHasBeenSet =
false;
AWS_DEVICEFARM_API GetOfferingStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOfferingStatusResult & WithNextToken(NextTokenT &&value)
const Aws::Map< Aws::String, OfferingStatus > & GetCurrent() const
GetOfferingStatusResult & WithRequestId(RequestIdT &&value)
GetOfferingStatusResult & AddCurrent(CurrentKeyT &&key, CurrentValueT &&value)
AWS_DEVICEFARM_API GetOfferingStatusResult()=default
void SetNextPeriod(NextPeriodT &&value)
void SetRequestId(RequestIdT &&value)
void SetCurrent(CurrentT &&value)
const Aws::String & GetRequestId() const
GetOfferingStatusResult & WithCurrent(CurrentT &&value)
const Aws::Map< Aws::String, OfferingStatus > & GetNextPeriod() const
GetOfferingStatusResult & WithNextPeriod(NextPeriodT &&value)
const Aws::String & GetNextToken() const
AWS_DEVICEFARM_API GetOfferingStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(NextTokenT &&value)
GetOfferingStatusResult & AddNextPeriod(NextPeriodKeyT &&key, NextPeriodValueT &&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
Aws::Utils::Json::JsonValue JsonValue