112 lines
3.4 KiB
C
112 lines
3.4 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/apigateway/APIGateway_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|||
|
|
#include <aws/apigateway/model/BasePathMapping.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace APIGateway
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
/**
|
|||
|
|
* <p>Represents a collection of <a>BasePathMapping</a> resources.</p> <div
|
|||
|
|
* class="seeAlso"> <a
|
|||
|
|
* href="https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html">Use
|
|||
|
|
* Custom Domain Names</a> </div><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/apigateway-2015-07-09/BasePathMappings">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_APIGATEWAY_API GetBasePathMappingsResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
GetBasePathMappingsResult();
|
|||
|
|
GetBasePathMappingsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
GetBasePathMappingsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline const Aws::String& GetPosition() const{ return m_position; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline void SetPosition(const Aws::String& value) { m_position = value; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline void SetPosition(Aws::String&& value) { m_position = std::move(value); }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline void SetPosition(const char* value) { m_position.assign(value); }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline GetBasePathMappingsResult& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline GetBasePathMappingsResult& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline GetBasePathMappingsResult& WithPosition(const char* value) { SetPosition(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The current page of elements from this collection.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<BasePathMapping>& GetItems() const{ return m_items; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The current page of elements from this collection.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetItems(const Aws::Vector<BasePathMapping>& value) { m_items = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The current page of elements from this collection.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetItems(Aws::Vector<BasePathMapping>&& value) { m_items = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The current page of elements from this collection.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetBasePathMappingsResult& WithItems(const Aws::Vector<BasePathMapping>& value) { SetItems(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The current page of elements from this collection.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetBasePathMappingsResult& WithItems(Aws::Vector<BasePathMapping>&& value) { SetItems(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The current page of elements from this collection.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetBasePathMappingsResult& AddItems(const BasePathMapping& value) { m_items.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The current page of elements from this collection.</p>
|
|||
|
|
*/
|
|||
|
|
inline GetBasePathMappingsResult& AddItems(BasePathMapping&& value) { m_items.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_position;
|
|||
|
|
|
|||
|
|
Aws::Vector<BasePathMapping> m_items;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace APIGateway
|
|||
|
|
} // namespace Aws
|