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-apigateway/include/aws/apigateway/model/UpdateBasePathMappingResult.h

171 lines
5.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 <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 the base path that callers of the API must provide as part of the
* URL after the domain name.</p> <div class="remarks">A custom domain name plus a
* <code>BasePathMapping</code> specification identifies a deployed <a>RestApi</a>
* in a given stage of the owner <a>Account</a>.</div> <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/BasePathMapping">AWS
* API Reference</a></p>
*/
class AWS_APIGATEWAY_API UpdateBasePathMappingResult
{
public:
UpdateBasePathMappingResult();
UpdateBasePathMappingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
UpdateBasePathMappingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The base path name that callers of the API must provide as part of the URL
* after the domain name.</p>
*/
inline const Aws::String& GetBasePath() const{ return m_basePath; }
/**
* <p>The base path name that callers of the API must provide as part of the URL
* after the domain name.</p>
*/
inline void SetBasePath(const Aws::String& value) { m_basePath = value; }
/**
* <p>The base path name that callers of the API must provide as part of the URL
* after the domain name.</p>
*/
inline void SetBasePath(Aws::String&& value) { m_basePath = std::move(value); }
/**
* <p>The base path name that callers of the API must provide as part of the URL
* after the domain name.</p>
*/
inline void SetBasePath(const char* value) { m_basePath.assign(value); }
/**
* <p>The base path name that callers of the API must provide as part of the URL
* after the domain name.</p>
*/
inline UpdateBasePathMappingResult& WithBasePath(const Aws::String& value) { SetBasePath(value); return *this;}
/**
* <p>The base path name that callers of the API must provide as part of the URL
* after the domain name.</p>
*/
inline UpdateBasePathMappingResult& WithBasePath(Aws::String&& value) { SetBasePath(std::move(value)); return *this;}
/**
* <p>The base path name that callers of the API must provide as part of the URL
* after the domain name.</p>
*/
inline UpdateBasePathMappingResult& WithBasePath(const char* value) { SetBasePath(value); return *this;}
/**
* <p>The string identifier of the associated <a>RestApi</a>.</p>
*/
inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
/**
* <p>The string identifier of the associated <a>RestApi</a>.</p>
*/
inline void SetRestApiId(const Aws::String& value) { m_restApiId = value; }
/**
* <p>The string identifier of the associated <a>RestApi</a>.</p>
*/
inline void SetRestApiId(Aws::String&& value) { m_restApiId = std::move(value); }
/**
* <p>The string identifier of the associated <a>RestApi</a>.</p>
*/
inline void SetRestApiId(const char* value) { m_restApiId.assign(value); }
/**
* <p>The string identifier of the associated <a>RestApi</a>.</p>
*/
inline UpdateBasePathMappingResult& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
/**
* <p>The string identifier of the associated <a>RestApi</a>.</p>
*/
inline UpdateBasePathMappingResult& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
/**
* <p>The string identifier of the associated <a>RestApi</a>.</p>
*/
inline UpdateBasePathMappingResult& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
/**
* <p>The name of the associated stage.</p>
*/
inline const Aws::String& GetStage() const{ return m_stage; }
/**
* <p>The name of the associated stage.</p>
*/
inline void SetStage(const Aws::String& value) { m_stage = value; }
/**
* <p>The name of the associated stage.</p>
*/
inline void SetStage(Aws::String&& value) { m_stage = std::move(value); }
/**
* <p>The name of the associated stage.</p>
*/
inline void SetStage(const char* value) { m_stage.assign(value); }
/**
* <p>The name of the associated stage.</p>
*/
inline UpdateBasePathMappingResult& WithStage(const Aws::String& value) { SetStage(value); return *this;}
/**
* <p>The name of the associated stage.</p>
*/
inline UpdateBasePathMappingResult& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;}
/**
* <p>The name of the associated stage.</p>
*/
inline UpdateBasePathMappingResult& WithStage(const char* value) { SetStage(value); return *this;}
private:
Aws::String m_basePath;
Aws::String m_restApiId;
Aws::String m_stage;
};
} // namespace Model
} // namespace APIGateway
} // namespace Aws