/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SMS { namespace Model { class GenerateTemplateResult { public: AWS_SMS_API GenerateTemplateResult(); AWS_SMS_API GenerateTemplateResult(const Aws::AmazonWebServiceResult& result); AWS_SMS_API GenerateTemplateResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The location of the Amazon S3 object.

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

The location of the Amazon S3 object.

*/ inline void SetS3Location(const S3Location& value) { m_s3Location = value; } /** *

The location of the Amazon S3 object.

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

The location of the Amazon S3 object.

*/ inline GenerateTemplateResult& WithS3Location(const S3Location& value) { SetS3Location(value); return *this;} /** *

The location of the Amazon S3 object.

*/ inline GenerateTemplateResult& WithS3Location(S3Location&& value) { SetS3Location(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GenerateTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GenerateTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GenerateTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: S3Location m_s3Location; Aws::String m_requestId; }; } // namespace Model } // namespace SMS } // namespace Aws