/** * 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 GetDomainRequest : public ConnectCasesRequest { public: AWS_CONNECTCASES_API GetDomainRequest(); // 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 "GetDomain"; } 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 GetDomainRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *

The unique identifier of the Cases domain.

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

The unique identifier of the Cases domain.

*/ inline GetDomainRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;} private: Aws::String m_domainId; bool m_domainIdHasBeenSet = false; }; } // namespace Model } // namespace ConnectCases } // namespace Aws