155 lines
5.9 KiB
C
155 lines
5.9 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/ce/CostExplorer_EXPORTS.h>
|
|||
|
|
#include <aws/ce/model/SavingsPlansPurchaseRecommendationMetadata.h>
|
|||
|
|
#include <aws/ce/model/SavingsPlansPurchaseRecommendation.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace CostExplorer
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class AWS_COSTEXPLORER_API GetSavingsPlansPurchaseRecommendationResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
GetSavingsPlansPurchaseRecommendationResult();
|
|||
|
|
GetSavingsPlansPurchaseRecommendationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
GetSavingsPlansPurchaseRecommendationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information regarding this specific recommendation set.</p>
|
|||
|
|
*/
|
|||
|
|
inline const SavingsPlansPurchaseRecommendationMetadata& GetMetadata() const{ return m_metadata; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information regarding this specific recommendation set.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetMetadata(const SavingsPlansPurchaseRecommendationMetadata& value) { m_metadata = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information regarding this specific recommendation set.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetMetadata(SavingsPlansPurchaseRecommendationMetadata&& value) { m_metadata = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information regarding this specific recommendation set.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetSavingsPlansPurchaseRecommendationResult& WithMetadata(const SavingsPlansPurchaseRecommendationMetadata& value) { SetMetadata(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information regarding this specific recommendation set.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetSavingsPlansPurchaseRecommendationResult& WithMetadata(SavingsPlansPurchaseRecommendationMetadata&& value) { SetMetadata(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Contains your request parameters, Savings Plan Recommendations Summary, and
|
|||
|
|
* Details.</p>
|
|||
|
|
*/
|
|||
|
|
inline const SavingsPlansPurchaseRecommendation& GetSavingsPlansPurchaseRecommendation() const{ return m_savingsPlansPurchaseRecommendation; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Contains your request parameters, Savings Plan Recommendations Summary, and
|
|||
|
|
* Details.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSavingsPlansPurchaseRecommendation(const SavingsPlansPurchaseRecommendation& value) { m_savingsPlansPurchaseRecommendation = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Contains your request parameters, Savings Plan Recommendations Summary, and
|
|||
|
|
* Details.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSavingsPlansPurchaseRecommendation(SavingsPlansPurchaseRecommendation&& value) { m_savingsPlansPurchaseRecommendation = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Contains your request parameters, Savings Plan Recommendations Summary, and
|
|||
|
|
* Details.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetSavingsPlansPurchaseRecommendationResult& WithSavingsPlansPurchaseRecommendation(const SavingsPlansPurchaseRecommendation& value) { SetSavingsPlansPurchaseRecommendation(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Contains your request parameters, Savings Plan Recommendations Summary, and
|
|||
|
|
* Details.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetSavingsPlansPurchaseRecommendationResult& WithSavingsPlansPurchaseRecommendation(SavingsPlansPurchaseRecommendation&& value) { SetSavingsPlansPurchaseRecommendation(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The token for the next set of retrievable results. AWS provides the token
|
|||
|
|
* when the response from a previous call has more results than the maximum page
|
|||
|
|
* size.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The token for the next set of retrievable results. AWS provides the token
|
|||
|
|
* when the response from a previous call has more results than the maximum page
|
|||
|
|
* size.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The token for the next set of retrievable results. AWS provides the token
|
|||
|
|
* when the response from a previous call has more results than the maximum page
|
|||
|
|
* size.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The token for the next set of retrievable results. AWS provides the token
|
|||
|
|
* when the response from a previous call has more results than the maximum page
|
|||
|
|
* size.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The token for the next set of retrievable results. AWS provides the token
|
|||
|
|
* when the response from a previous call has more results than the maximum page
|
|||
|
|
* size.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetSavingsPlansPurchaseRecommendationResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The token for the next set of retrievable results. AWS provides the token
|
|||
|
|
* when the response from a previous call has more results than the maximum page
|
|||
|
|
* size.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetSavingsPlansPurchaseRecommendationResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The token for the next set of retrievable results. AWS provides the token
|
|||
|
|
* when the response from a previous call has more results than the maximum page
|
|||
|
|
* size.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetSavingsPlansPurchaseRecommendationResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
SavingsPlansPurchaseRecommendationMetadata m_metadata;
|
|||
|
|
|
|||
|
|
SavingsPlansPurchaseRecommendation m_savingsPlansPurchaseRecommendation;
|
|||
|
|
|
|||
|
|
Aws::String m_nextPageToken;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace CostExplorer
|
|||
|
|
} // namespace Aws
|