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-pricing/include/aws/pricing/model/DescribeServicesResult.h

156 lines
5.1 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/pricing/Pricing_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/pricing/model/Service.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Pricing
{
namespace Model
{
class AWS_PRICING_API DescribeServicesResult
{
public:
DescribeServicesResult();
DescribeServicesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeServicesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The service metadata for the service or services in the response.</p>
*/
inline const Aws::Vector<Service>& GetServices() const{ return m_services; }
/**
* <p>The service metadata for the service or services in the response.</p>
*/
inline void SetServices(const Aws::Vector<Service>& value) { m_services = value; }
/**
* <p>The service metadata for the service or services in the response.</p>
*/
inline void SetServices(Aws::Vector<Service>&& value) { m_services = std::move(value); }
/**
* <p>The service metadata for the service or services in the response.</p>
*/
inline DescribeServicesResult& WithServices(const Aws::Vector<Service>& value) { SetServices(value); return *this;}
/**
* <p>The service metadata for the service or services in the response.</p>
*/
inline DescribeServicesResult& WithServices(Aws::Vector<Service>&& value) { SetServices(std::move(value)); return *this;}
/**
* <p>The service metadata for the service or services in the response.</p>
*/
inline DescribeServicesResult& AddServices(const Service& value) { m_services.push_back(value); return *this; }
/**
* <p>The service metadata for the service or services in the response.</p>
*/
inline DescribeServicesResult& AddServices(Service&& value) { m_services.push_back(std::move(value)); return *this; }
/**
* <p>The format version of the response. For example, <code>aws_v1</code>.</p>
*/
inline const Aws::String& GetFormatVersion() const{ return m_formatVersion; }
/**
* <p>The format version of the response. For example, <code>aws_v1</code>.</p>
*/
inline void SetFormatVersion(const Aws::String& value) { m_formatVersion = value; }
/**
* <p>The format version of the response. For example, <code>aws_v1</code>.</p>
*/
inline void SetFormatVersion(Aws::String&& value) { m_formatVersion = std::move(value); }
/**
* <p>The format version of the response. For example, <code>aws_v1</code>.</p>
*/
inline void SetFormatVersion(const char* value) { m_formatVersion.assign(value); }
/**
* <p>The format version of the response. For example, <code>aws_v1</code>.</p>
*/
inline DescribeServicesResult& WithFormatVersion(const Aws::String& value) { SetFormatVersion(value); return *this;}
/**
* <p>The format version of the response. For example, <code>aws_v1</code>.</p>
*/
inline DescribeServicesResult& WithFormatVersion(Aws::String&& value) { SetFormatVersion(std::move(value)); return *this;}
/**
* <p>The format version of the response. For example, <code>aws_v1</code>.</p>
*/
inline DescribeServicesResult& WithFormatVersion(const char* value) { SetFormatVersion(value); return *this;}
/**
* <p>The pagination token for the next set of retreivable results.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The pagination token for the next set of retreivable results.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>The pagination token for the next set of retreivable results.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>The pagination token for the next set of retreivable results.</p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>The pagination token for the next set of retreivable results.</p>
*/
inline DescribeServicesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The pagination token for the next set of retreivable results.</p>
*/
inline DescribeServicesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The pagination token for the next set of retreivable results.</p>
*/
inline DescribeServicesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<Service> m_services;
Aws::String m_formatVersion;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace Pricing
} // namespace Aws