/** * 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 SMS { namespace Model { /** *

Contains the location of a validation script.

See Also:

AWS API * Reference

*/ class Source { public: AWS_SMS_API Source(); AWS_SMS_API Source(Aws::Utils::Json::JsonView jsonValue); AWS_SMS_API Source& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SMS_API Aws::Utils::Json::JsonValue Jsonize() const; inline const S3Location& GetS3Location() const{ return m_s3Location; } inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; } inline void SetS3Location(const S3Location& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; } inline void SetS3Location(S3Location&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); } inline Source& WithS3Location(const S3Location& value) { SetS3Location(value); return *this;} inline Source& WithS3Location(S3Location&& value) { SetS3Location(std::move(value)); return *this;} private: S3Location m_s3Location; bool m_s3LocationHasBeenSet = false; }; } // namespace Model } // namespace SMS } // namespace Aws