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-iot/include/aws/iot/model/S3Destination.h

134 lines
3.5 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/core/utils/memory/stl/AWSString.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 updated firmware in S3.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/S3Destination">AWS
* API Reference</a></p>
*/
class AWS_IOT_API S3Destination
{
public:
S3Destination();
S3Destination(Aws::Utils::Json::JsonView jsonValue);
S3Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The S3 bucket that contains the updated firmware.</p>
*/
inline const Aws::String& GetBucket() const{ return m_bucket; }
/**
* <p>The S3 bucket that contains the updated firmware.</p>
*/
inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
/**
* <p>The S3 bucket that contains the updated firmware.</p>
*/
inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
/**
* <p>The S3 bucket that contains the updated firmware.</p>
*/
inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
/**
* <p>The S3 bucket that contains the updated firmware.</p>
*/
inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
/**
* <p>The S3 bucket that contains the updated firmware.</p>
*/
inline S3Destination& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
/**
* <p>The S3 bucket that contains the updated firmware.</p>
*/
inline S3Destination& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
/**
* <p>The S3 bucket that contains the updated firmware.</p>
*/
inline S3Destination& WithBucket(const char* value) { SetBucket(value); return *this;}
/**
* <p>The S3 prefix.</p>
*/
inline const Aws::String& GetPrefix() const{ return m_prefix; }
/**
* <p>The S3 prefix.</p>
*/
inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
/**
* <p>The S3 prefix.</p>
*/
inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
/**
* <p>The S3 prefix.</p>
*/
inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
/**
* <p>The S3 prefix.</p>
*/
inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
/**
* <p>The S3 prefix.</p>
*/
inline S3Destination& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
/**
* <p>The S3 prefix.</p>
*/
inline S3Destination& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
/**
* <p>The S3 prefix.</p>
*/
inline S3Destination& WithPrefix(const char* value) { SetPrefix(value); return *this;}
private:
Aws::String m_bucket;
bool m_bucketHasBeenSet;
Aws::String m_prefix;
bool m_prefixHasBeenSet;
};
} // namespace Model
} // namespace IoT
} // namespace Aws