80 lines
1.9 KiB
C++
80 lines
1.9 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/signer/Signer_EXPORTS.h>
|
|
#include <aws/signer/model/S3SignedObject.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace signer
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Points to an <code>S3SignedObject</code> object that contains information
|
|
* about your signed code image.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/SignedObject">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_SIGNER_API SignedObject
|
|
{
|
|
public:
|
|
SignedObject();
|
|
SignedObject(Aws::Utils::Json::JsonView jsonValue);
|
|
SignedObject& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The <code>S3SignedObject</code>.</p>
|
|
*/
|
|
inline const S3SignedObject& GetS3() const{ return m_s3; }
|
|
|
|
/**
|
|
* <p>The <code>S3SignedObject</code>.</p>
|
|
*/
|
|
inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
|
|
|
|
/**
|
|
* <p>The <code>S3SignedObject</code>.</p>
|
|
*/
|
|
inline void SetS3(const S3SignedObject& value) { m_s3HasBeenSet = true; m_s3 = value; }
|
|
|
|
/**
|
|
* <p>The <code>S3SignedObject</code>.</p>
|
|
*/
|
|
inline void SetS3(S3SignedObject&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); }
|
|
|
|
/**
|
|
* <p>The <code>S3SignedObject</code>.</p>
|
|
*/
|
|
inline SignedObject& WithS3(const S3SignedObject& value) { SetS3(value); return *this;}
|
|
|
|
/**
|
|
* <p>The <code>S3SignedObject</code>.</p>
|
|
*/
|
|
inline SignedObject& WithS3(S3SignedObject&& value) { SetS3(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
S3SignedObject m_s3;
|
|
bool m_s3HasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace signer
|
|
} // namespace Aws
|