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-lambda/include/aws/lambda/model/PublishLayerVersionResult.h

331 lines
10 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/lambda/Lambda_EXPORTS.h>
#include <aws/lambda/model/LayerVersionContentOutput.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/lambda/model/Runtime.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Lambda
{
namespace Model
{
class AWS_LAMBDA_API PublishLayerVersionResult
{
public:
PublishLayerVersionResult();
PublishLayerVersionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
PublishLayerVersionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Details about the layer version.</p>
*/
inline const LayerVersionContentOutput& GetContent() const{ return m_content; }
/**
* <p>Details about the layer version.</p>
*/
inline void SetContent(const LayerVersionContentOutput& value) { m_content = value; }
/**
* <p>Details about the layer version.</p>
*/
inline void SetContent(LayerVersionContentOutput&& value) { m_content = std::move(value); }
/**
* <p>Details about the layer version.</p>
*/
inline PublishLayerVersionResult& WithContent(const LayerVersionContentOutput& value) { SetContent(value); return *this;}
/**
* <p>Details about the layer version.</p>
*/
inline PublishLayerVersionResult& WithContent(LayerVersionContentOutput&& value) { SetContent(std::move(value)); return *this;}
/**
* <p>The ARN of the layer.</p>
*/
inline const Aws::String& GetLayerArn() const{ return m_layerArn; }
/**
* <p>The ARN of the layer.</p>
*/
inline void SetLayerArn(const Aws::String& value) { m_layerArn = value; }
/**
* <p>The ARN of the layer.</p>
*/
inline void SetLayerArn(Aws::String&& value) { m_layerArn = std::move(value); }
/**
* <p>The ARN of the layer.</p>
*/
inline void SetLayerArn(const char* value) { m_layerArn.assign(value); }
/**
* <p>The ARN of the layer.</p>
*/
inline PublishLayerVersionResult& WithLayerArn(const Aws::String& value) { SetLayerArn(value); return *this;}
/**
* <p>The ARN of the layer.</p>
*/
inline PublishLayerVersionResult& WithLayerArn(Aws::String&& value) { SetLayerArn(std::move(value)); return *this;}
/**
* <p>The ARN of the layer.</p>
*/
inline PublishLayerVersionResult& WithLayerArn(const char* value) { SetLayerArn(value); return *this;}
/**
* <p>The ARN of the layer version.</p>
*/
inline const Aws::String& GetLayerVersionArn() const{ return m_layerVersionArn; }
/**
* <p>The ARN of the layer version.</p>
*/
inline void SetLayerVersionArn(const Aws::String& value) { m_layerVersionArn = value; }
/**
* <p>The ARN of the layer version.</p>
*/
inline void SetLayerVersionArn(Aws::String&& value) { m_layerVersionArn = std::move(value); }
/**
* <p>The ARN of the layer version.</p>
*/
inline void SetLayerVersionArn(const char* value) { m_layerVersionArn.assign(value); }
/**
* <p>The ARN of the layer version.</p>
*/
inline PublishLayerVersionResult& WithLayerVersionArn(const Aws::String& value) { SetLayerVersionArn(value); return *this;}
/**
* <p>The ARN of the layer version.</p>
*/
inline PublishLayerVersionResult& WithLayerVersionArn(Aws::String&& value) { SetLayerVersionArn(std::move(value)); return *this;}
/**
* <p>The ARN of the layer version.</p>
*/
inline PublishLayerVersionResult& WithLayerVersionArn(const char* value) { SetLayerVersionArn(value); return *this;}
/**
* <p>The description of the version.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>The description of the version.</p>
*/
inline void SetDescription(const Aws::String& value) { m_description = value; }
/**
* <p>The description of the version.</p>
*/
inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
/**
* <p>The description of the version.</p>
*/
inline void SetDescription(const char* value) { m_description.assign(value); }
/**
* <p>The description of the version.</p>
*/
inline PublishLayerVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>The description of the version.</p>
*/
inline PublishLayerVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>The description of the version.</p>
*/
inline PublishLayerVersionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
/**
* <p>The date that the layer version was created, in <a
* href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a>
* (YYYY-MM-DDThh:mm:ss.sTZD).</p>
*/
inline const Aws::String& GetCreatedDate() const{ return m_createdDate; }
/**
* <p>The date that the layer version was created, in <a
* href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a>
* (YYYY-MM-DDThh:mm:ss.sTZD).</p>
*/
inline void SetCreatedDate(const Aws::String& value) { m_createdDate = value; }
/**
* <p>The date that the layer version was created, in <a
* href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a>
* (YYYY-MM-DDThh:mm:ss.sTZD).</p>
*/
inline void SetCreatedDate(Aws::String&& value) { m_createdDate = std::move(value); }
/**
* <p>The date that the layer version was created, in <a
* href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a>
* (YYYY-MM-DDThh:mm:ss.sTZD).</p>
*/
inline void SetCreatedDate(const char* value) { m_createdDate.assign(value); }
/**
* <p>The date that the layer version was created, in <a
* href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a>
* (YYYY-MM-DDThh:mm:ss.sTZD).</p>
*/
inline PublishLayerVersionResult& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;}
/**
* <p>The date that the layer version was created, in <a
* href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a>
* (YYYY-MM-DDThh:mm:ss.sTZD).</p>
*/
inline PublishLayerVersionResult& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;}
/**
* <p>The date that the layer version was created, in <a
* href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a>
* (YYYY-MM-DDThh:mm:ss.sTZD).</p>
*/
inline PublishLayerVersionResult& WithCreatedDate(const char* value) { SetCreatedDate(value); return *this;}
/**
* <p>The version number.</p>
*/
inline long long GetVersion() const{ return m_version; }
/**
* <p>The version number.</p>
*/
inline void SetVersion(long long value) { m_version = value; }
/**
* <p>The version number.</p>
*/
inline PublishLayerVersionResult& WithVersion(long long value) { SetVersion(value); return *this;}
/**
* <p>The layer's compatible runtimes.</p>
*/
inline const Aws::Vector<Runtime>& GetCompatibleRuntimes() const{ return m_compatibleRuntimes; }
/**
* <p>The layer's compatible runtimes.</p>
*/
inline void SetCompatibleRuntimes(const Aws::Vector<Runtime>& value) { m_compatibleRuntimes = value; }
/**
* <p>The layer's compatible runtimes.</p>
*/
inline void SetCompatibleRuntimes(Aws::Vector<Runtime>&& value) { m_compatibleRuntimes = std::move(value); }
/**
* <p>The layer's compatible runtimes.</p>
*/
inline PublishLayerVersionResult& WithCompatibleRuntimes(const Aws::Vector<Runtime>& value) { SetCompatibleRuntimes(value); return *this;}
/**
* <p>The layer's compatible runtimes.</p>
*/
inline PublishLayerVersionResult& WithCompatibleRuntimes(Aws::Vector<Runtime>&& value) { SetCompatibleRuntimes(std::move(value)); return *this;}
/**
* <p>The layer's compatible runtimes.</p>
*/
inline PublishLayerVersionResult& AddCompatibleRuntimes(const Runtime& value) { m_compatibleRuntimes.push_back(value); return *this; }
/**
* <p>The layer's compatible runtimes.</p>
*/
inline PublishLayerVersionResult& AddCompatibleRuntimes(Runtime&& value) { m_compatibleRuntimes.push_back(std::move(value)); return *this; }
/**
* <p>The layer's software license.</p>
*/
inline const Aws::String& GetLicenseInfo() const{ return m_licenseInfo; }
/**
* <p>The layer's software license.</p>
*/
inline void SetLicenseInfo(const Aws::String& value) { m_licenseInfo = value; }
/**
* <p>The layer's software license.</p>
*/
inline void SetLicenseInfo(Aws::String&& value) { m_licenseInfo = std::move(value); }
/**
* <p>The layer's software license.</p>
*/
inline void SetLicenseInfo(const char* value) { m_licenseInfo.assign(value); }
/**
* <p>The layer's software license.</p>
*/
inline PublishLayerVersionResult& WithLicenseInfo(const Aws::String& value) { SetLicenseInfo(value); return *this;}
/**
* <p>The layer's software license.</p>
*/
inline PublishLayerVersionResult& WithLicenseInfo(Aws::String&& value) { SetLicenseInfo(std::move(value)); return *this;}
/**
* <p>The layer's software license.</p>
*/
inline PublishLayerVersionResult& WithLicenseInfo(const char* value) { SetLicenseInfo(value); return *this;}
private:
LayerVersionContentOutput m_content;
Aws::String m_layerArn;
Aws::String m_layerVersionArn;
Aws::String m_description;
Aws::String m_createdDate;
long long m_version;
Aws::Vector<Runtime> m_compatibleRuntimes;
Aws::String m_licenseInfo;
};
} // namespace Model
} // namespace Lambda
} // namespace Aws