/** * 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.

See Also:

AWS * API Reference

*/ class AWS_SSM_API InstanceAssociationOutputLocation { public: InstanceAssociationOutputLocation(); InstanceAssociationOutputLocation(Aws::Utils::Json::JsonView jsonValue); InstanceAssociationOutputLocation& operator=(Aws::Utils::Json::JsonView jsonValue); 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; }; } // namespace Model } // namespace SSM } // namespace Aws