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-serverlessrepo/include/aws/serverlessrepo/model/PutApplicationPolicyResult.h

79 lines
2.6 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/serverlessrepo/ServerlessApplicationRepository_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/serverlessrepo/model/ApplicationPolicyStatement.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace ServerlessApplicationRepository
{
namespace Model
{
class AWS_SERVERLESSAPPLICATIONREPOSITORY_API PutApplicationPolicyResult
{
public:
PutApplicationPolicyResult();
PutApplicationPolicyResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
PutApplicationPolicyResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>An array of policy statements applied to the application.</p>
*/
inline const Aws::Vector<ApplicationPolicyStatement>& GetStatements() const{ return m_statements; }
/**
* <p>An array of policy statements applied to the application.</p>
*/
inline void SetStatements(const Aws::Vector<ApplicationPolicyStatement>& value) { m_statements = value; }
/**
* <p>An array of policy statements applied to the application.</p>
*/
inline void SetStatements(Aws::Vector<ApplicationPolicyStatement>&& value) { m_statements = std::move(value); }
/**
* <p>An array of policy statements applied to the application.</p>
*/
inline PutApplicationPolicyResult& WithStatements(const Aws::Vector<ApplicationPolicyStatement>& value) { SetStatements(value); return *this;}
/**
* <p>An array of policy statements applied to the application.</p>
*/
inline PutApplicationPolicyResult& WithStatements(Aws::Vector<ApplicationPolicyStatement>&& value) { SetStatements(std::move(value)); return *this;}
/**
* <p>An array of policy statements applied to the application.</p>
*/
inline PutApplicationPolicyResult& AddStatements(const ApplicationPolicyStatement& value) { m_statements.push_back(value); return *this; }
/**
* <p>An array of policy statements applied to the application.</p>
*/
inline PutApplicationPolicyResult& AddStatements(ApplicationPolicyStatement&& value) { m_statements.push_back(std::move(value)); return *this; }
private:
Aws::Vector<ApplicationPolicyStatement> m_statements;
};
} // namespace Model
} // namespace ServerlessApplicationRepository
} // namespace Aws