/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SSM { namespace Model { /** *

An S3 bucket where you want to store the results of this request.

For * the minimal permissions required to enable Amazon S3 output for an association, * see Creating * associations in the Systems Manager User Guide.

See * Also:

AWS * API Reference

*/ class InstanceAssociationOutputLocation { public: AWS_SSM_API InstanceAssociationOutputLocation(); AWS_SSM_API InstanceAssociationOutputLocation(Aws::Utils::Json::JsonView jsonValue); AWS_SSM_API InstanceAssociationOutputLocation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

An S3 bucket where you want to store the results of this request.

*/ inline const S3OutputLocation& GetS3Location() const{ return m_s3Location; } /** *

An S3 bucket where you want to store the results of this request.

*/ inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; } /** *

An S3 bucket where you want to store the results of this request.

*/ inline void SetS3Location(const S3OutputLocation& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; } /** *

An S3 bucket where you want to store the results of this request.

*/ inline void SetS3Location(S3OutputLocation&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); } /** *

An S3 bucket where you want to store the results of this request.

*/ inline InstanceAssociationOutputLocation& WithS3Location(const S3OutputLocation& value) { SetS3Location(value); return *this;} /** *

An S3 bucket where you want to store the results of this request.

*/ inline InstanceAssociationOutputLocation& WithS3Location(S3OutputLocation&& value) { SetS3Location(std::move(value)); return *this;} private: S3OutputLocation m_s3Location; bool m_s3LocationHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws