This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-savingsplans/include/aws/savingsplans/model/CreateSavingsPlanResult.h

78 lines
2.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/savingsplans/SavingsPlans_EXPORTS.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 SavingsPlans
{
namespace Model
{
class AWS_SAVINGSPLANS_API CreateSavingsPlanResult
{
public:
CreateSavingsPlanResult();
CreateSavingsPlanResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateSavingsPlanResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ID of the Savings Plan.</p>
*/
inline const Aws::String& GetSavingsPlanId() const{ return m_savingsPlanId; }
/**
* <p>The ID of the Savings Plan.</p>
*/
inline void SetSavingsPlanId(const Aws::String& value) { m_savingsPlanId = value; }
/**
* <p>The ID of the Savings Plan.</p>
*/
inline void SetSavingsPlanId(Aws::String&& value) { m_savingsPlanId = std::move(value); }
/**
* <p>The ID of the Savings Plan.</p>
*/
inline void SetSavingsPlanId(const char* value) { m_savingsPlanId.assign(value); }
/**
* <p>The ID of the Savings Plan.</p>
*/
inline CreateSavingsPlanResult& WithSavingsPlanId(const Aws::String& value) { SetSavingsPlanId(value); return *this;}
/**
* <p>The ID of the Savings Plan.</p>
*/
inline CreateSavingsPlanResult& WithSavingsPlanId(Aws::String&& value) { SetSavingsPlanId(std::move(value)); return *this;}
/**
* <p>The ID of the Savings Plan.</p>
*/
inline CreateSavingsPlanResult& WithSavingsPlanId(const char* value) { SetSavingsPlanId(value); return *this;}
private:
Aws::String m_savingsPlanId;
};
} // namespace Model
} // namespace SavingsPlans
} // namespace Aws