/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Returns the status result for a device offering.See Also:
* AWS
* API Reference
When specified, gets the offering status for the current period.
*/ inline const Aws::MapWhen specified, gets the offering status for the current period.
*/ inline void SetCurrent(const Aws::MapWhen specified, gets the offering status for the current period.
*/ inline void SetCurrent(Aws::MapWhen specified, gets the offering status for the current period.
*/ inline GetOfferingStatusResult& WithCurrent(const Aws::MapWhen specified, gets the offering status for the current period.
*/ inline GetOfferingStatusResult& WithCurrent(Aws::MapWhen specified, gets the offering status for the current period.
*/ inline GetOfferingStatusResult& AddCurrent(const Aws::String& key, const OfferingStatus& value) { m_current.emplace(key, value); return *this; } /** *When specified, gets the offering status for the current period.
*/ inline GetOfferingStatusResult& AddCurrent(Aws::String&& key, const OfferingStatus& value) { m_current.emplace(std::move(key), value); return *this; } /** *When specified, gets the offering status for the current period.
*/ inline GetOfferingStatusResult& AddCurrent(const Aws::String& key, OfferingStatus&& value) { m_current.emplace(key, std::move(value)); return *this; } /** *When specified, gets the offering status for the current period.
*/ inline GetOfferingStatusResult& AddCurrent(Aws::String&& key, OfferingStatus&& value) { m_current.emplace(std::move(key), std::move(value)); return *this; } /** *When specified, gets the offering status for the current period.
*/ inline GetOfferingStatusResult& AddCurrent(const char* key, OfferingStatus&& value) { m_current.emplace(key, std::move(value)); return *this; } /** *When specified, gets the offering status for the current period.
*/ inline GetOfferingStatusResult& AddCurrent(const char* key, const OfferingStatus& value) { m_current.emplace(key, value); return *this; } /** *When specified, gets the offering status for the next period.
*/ inline const Aws::MapWhen specified, gets the offering status for the next period.
*/ inline void SetNextPeriod(const Aws::MapWhen specified, gets the offering status for the next period.
*/ inline void SetNextPeriod(Aws::MapWhen specified, gets the offering status for the next period.
*/ inline GetOfferingStatusResult& WithNextPeriod(const Aws::MapWhen specified, gets the offering status for the next period.
*/ inline GetOfferingStatusResult& WithNextPeriod(Aws::MapWhen specified, gets the offering status for the next period.
*/ inline GetOfferingStatusResult& AddNextPeriod(const Aws::String& key, const OfferingStatus& value) { m_nextPeriod.emplace(key, value); return *this; } /** *When specified, gets the offering status for the next period.
*/ inline GetOfferingStatusResult& AddNextPeriod(Aws::String&& key, const OfferingStatus& value) { m_nextPeriod.emplace(std::move(key), value); return *this; } /** *When specified, gets the offering status for the next period.
*/ inline GetOfferingStatusResult& AddNextPeriod(const Aws::String& key, OfferingStatus&& value) { m_nextPeriod.emplace(key, std::move(value)); return *this; } /** *When specified, gets the offering status for the next period.
*/ inline GetOfferingStatusResult& AddNextPeriod(Aws::String&& key, OfferingStatus&& value) { m_nextPeriod.emplace(std::move(key), std::move(value)); return *this; } /** *When specified, gets the offering status for the next period.
*/ inline GetOfferingStatusResult& AddNextPeriod(const char* key, OfferingStatus&& value) { m_nextPeriod.emplace(key, std::move(value)); return *this; } /** *When specified, gets the offering status for the next period.
*/ inline GetOfferingStatusResult& AddNextPeriod(const char* key, const OfferingStatus& value) { m_nextPeriod.emplace(key, value); return *this; } /** *An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.
*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.
*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.
*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.
*/ inline GetOfferingStatusResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.
*/ inline GetOfferingStatusResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.
*/ inline GetOfferingStatusResult& 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 GetOfferingStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetOfferingStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetOfferingStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Map