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-apigatewayv2/include/aws/apigatewayv2/model/CreateModelResult.h

237 lines
6.9 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/apigatewayv2/ApiGatewayV2_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 ApiGatewayV2
{
namespace Model
{
class AWS_APIGATEWAYV2_API CreateModelResult
{
public:
CreateModelResult();
CreateModelResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateModelResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The content-type for the model, for example, "application/json".</p>
*/
inline const Aws::String& GetContentType() const{ return m_contentType; }
/**
* <p>The content-type for the model, for example, "application/json".</p>
*/
inline void SetContentType(const Aws::String& value) { m_contentType = value; }
/**
* <p>The content-type for the model, for example, "application/json".</p>
*/
inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); }
/**
* <p>The content-type for the model, for example, "application/json".</p>
*/
inline void SetContentType(const char* value) { m_contentType.assign(value); }
/**
* <p>The content-type for the model, for example, "application/json".</p>
*/
inline CreateModelResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
/**
* <p>The content-type for the model, for example, "application/json".</p>
*/
inline CreateModelResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
/**
* <p>The content-type for the model, for example, "application/json".</p>
*/
inline CreateModelResult& WithContentType(const char* value) { SetContentType(value); return *this;}
/**
* <p>The description of the model.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The description of the model.</p>
*/
inline void SetDescription(const Aws::String& value) { m_description = value; }
/**
* <p>The description of the model.</p>
*/
inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
/**
* <p>The description of the model.</p>
*/
inline void SetDescription(const char* value) { m_description.assign(value); }
/**
* <p>The description of the model.</p>
*/
inline CreateModelResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The description of the model.</p>
*/
inline CreateModelResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The description of the model.</p>
*/
inline CreateModelResult& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>The model identifier.</p>
*/
inline const Aws::String& GetModelId() const{ return m_modelId; }
/**
* <p>The model identifier.</p>
*/
inline void SetModelId(const Aws::String& value) { m_modelId = value; }
/**
* <p>The model identifier.</p>
*/
inline void SetModelId(Aws::String&& value) { m_modelId = std::move(value); }
/**
* <p>The model identifier.</p>
*/
inline void SetModelId(const char* value) { m_modelId.assign(value); }
/**
* <p>The model identifier.</p>
*/
inline CreateModelResult& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
/**
* <p>The model identifier.</p>
*/
inline CreateModelResult& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
/**
* <p>The model identifier.</p>
*/
inline CreateModelResult& WithModelId(const char* value) { SetModelId(value); return *this;}
/**
* <p>The name of the model. Must be alphanumeric.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the model. Must be alphanumeric.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the model. Must be alphanumeric.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the model. Must be alphanumeric.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the model. Must be alphanumeric.</p>
*/
inline CreateModelResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the model. Must be alphanumeric.</p>
*/
inline CreateModelResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the model. Must be alphanumeric.</p>
*/
inline CreateModelResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The schema for the model. For application/json models, this should be JSON
* schema draft 4 model.</p>
*/
inline const Aws::String& GetSchema() const{ return m_schema; }
/**
* <p>The schema for the model. For application/json models, this should be JSON
* schema draft 4 model.</p>
*/
inline void SetSchema(const Aws::String& value) { m_schema = value; }
/**
* <p>The schema for the model. For application/json models, this should be JSON
* schema draft 4 model.</p>
*/
inline void SetSchema(Aws::String&& value) { m_schema = std::move(value); }
/**
* <p>The schema for the model. For application/json models, this should be JSON
* schema draft 4 model.</p>
*/
inline void SetSchema(const char* value) { m_schema.assign(value); }
/**
* <p>The schema for the model. For application/json models, this should be JSON
* schema draft 4 model.</p>
*/
inline CreateModelResult& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
/**
* <p>The schema for the model. For application/json models, this should be JSON
* schema draft 4 model.</p>
*/
inline CreateModelResult& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
/**
* <p>The schema for the model. For application/json models, this should be JSON
* schema draft 4 model.</p>
*/
inline CreateModelResult& WithSchema(const char* value) { SetSchema(value); return *this;}
private:
Aws::String m_contentType;
Aws::String m_description;
Aws::String m_modelId;
Aws::String m_name;
Aws::String m_schema;
};
} // namespace Model
} // namespace ApiGatewayV2
} // namespace Aws