79 lines
2.1 KiB
C++
79 lines
2.1 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/iot/IoT_EXPORTS.h>
|
|
#include <aws/iot/model/S3Destination.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace IoT
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Describes the location of the updated firmware.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/Destination">AWS API
|
|
* Reference</a></p>
|
|
*/
|
|
class AWS_IOT_API Destination
|
|
{
|
|
public:
|
|
Destination();
|
|
Destination(Aws::Utils::Json::JsonView jsonValue);
|
|
Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>Describes the location in S3 of the updated firmware.</p>
|
|
*/
|
|
inline const S3Destination& GetS3Destination() const{ return m_s3Destination; }
|
|
|
|
/**
|
|
* <p>Describes the location in S3 of the updated firmware.</p>
|
|
*/
|
|
inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Describes the location in S3 of the updated firmware.</p>
|
|
*/
|
|
inline void SetS3Destination(const S3Destination& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = value; }
|
|
|
|
/**
|
|
* <p>Describes the location in S3 of the updated firmware.</p>
|
|
*/
|
|
inline void SetS3Destination(S3Destination&& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = std::move(value); }
|
|
|
|
/**
|
|
* <p>Describes the location in S3 of the updated firmware.</p>
|
|
*/
|
|
inline Destination& WithS3Destination(const S3Destination& value) { SetS3Destination(value); return *this;}
|
|
|
|
/**
|
|
* <p>Describes the location in S3 of the updated firmware.</p>
|
|
*/
|
|
inline Destination& WithS3Destination(S3Destination&& value) { SetS3Destination(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
S3Destination m_s3Destination;
|
|
bool m_s3DestinationHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace IoT
|
|
} // namespace Aws
|