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/OfferingStatus.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
48 template<
typename CurrentT = Aws::Map<Aws::String, OfferingStatus>>
49 void SetCurrent(CurrentT&& value) { m_currentHasBeenSet =
true; m_current = std::forward<CurrentT>(value); }
50 template<
typename CurrentT = Aws::Map<Aws::String, OfferingStatus>>
52 template<
typename CurrentKeyT = Aws::String,
typename CurrentValueT = OfferingStatus>
54 m_currentHasBeenSet =
true; m_current.emplace(std::forward<CurrentKeyT>(key), std::forward<CurrentValueT>(value));
return *
this;
63 template<
typename NextPeriodT = Aws::Map<Aws::String, OfferingStatus>>
64 void SetNextPeriod(NextPeriodT&& value) { m_nextPeriodHasBeenSet =
true; m_nextPeriod = std::forward<NextPeriodT>(value); }
65 template<
typename NextPeriodT = Aws::Map<Aws::String, OfferingStatus>>
67 template<
typename NextPeriodKeyT = Aws::String,
typename NextPeriodValueT = OfferingStatus>
69 m_nextPeriodHasBeenSet =
true; m_nextPeriod.emplace(std::forward<NextPeriodKeyT>(key), std::forward<NextPeriodValueT>(value));
return *
this;
79 template<
typename NextTokenT = Aws::String>
80 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
81 template<
typename NextTokenT = Aws::String>
88 template<
typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
90 template<
typename RequestIdT = Aws::String>
96 bool m_currentHasBeenSet =
false;
99 bool m_nextPeriodHasBeenSet =
false;
102 bool m_nextTokenHasBeenSet =
false;
105 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