/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace ConnectCases { namespace Model { /** */ class GetTemplateRequest : public ConnectCasesRequest { public: AWS_CONNECTCASES_API GetTemplateRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetTemplate"; } AWS_CONNECTCASES_API Aws::String SerializePayload() const override; /** *

The unique identifier of the Cases domain.

*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** *

The unique identifier of the Cases domain.

*/ inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } /** *

The unique identifier of the Cases domain.

*/ inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } /** *

The unique identifier of the Cases domain.

*/ inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } /** *

The unique identifier of the Cases domain.

*/ inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } /** *

The unique identifier of the Cases domain.

*/ inline GetTemplateRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *

The unique identifier of the Cases domain.

*/ inline GetTemplateRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *

The unique identifier of the Cases domain.

*/ inline GetTemplateRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *

A unique identifier of a template.

*/ inline const Aws::String& GetTemplateId() const{ return m_templateId; } /** *

A unique identifier of a template.

*/ inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; } /** *

A unique identifier of a template.

*/ inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; } /** *

A unique identifier of a template.

*/ inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); } /** *

A unique identifier of a template.

*/ inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); } /** *

A unique identifier of a template.

*/ inline GetTemplateRequest& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;} /** *

A unique identifier of a template.

*/ inline GetTemplateRequest& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;} /** *

A unique identifier of a template.

*/ inline GetTemplateRequest& WithTemplateId(const char* value) { SetTemplateId(value); return *this;} private: Aws::String m_domainId; bool m_domainIdHasBeenSet = false; Aws::String m_templateId; bool m_templateIdHasBeenSet = false; }; } // namespace Model } // namespace ConnectCases } // namespace Aws