/** * 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 SSMContacts { namespace Model { /** */ class GetContactChannelRequest : public SSMContactsRequest { public: AWS_SSMCONTACTS_API GetContactChannelRequest(); // 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 "GetContactChannel"; } AWS_SSMCONTACTS_API Aws::String SerializePayload() const override; AWS_SSMCONTACTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the contact channel you want information * about.

*/ inline const Aws::String& GetContactChannelId() const{ return m_contactChannelId; } /** *

The Amazon Resource Name (ARN) of the contact channel you want information * about.

*/ inline bool ContactChannelIdHasBeenSet() const { return m_contactChannelIdHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the contact channel you want information * about.

*/ inline void SetContactChannelId(const Aws::String& value) { m_contactChannelIdHasBeenSet = true; m_contactChannelId = value; } /** *

The Amazon Resource Name (ARN) of the contact channel you want information * about.

*/ inline void SetContactChannelId(Aws::String&& value) { m_contactChannelIdHasBeenSet = true; m_contactChannelId = std::move(value); } /** *

The Amazon Resource Name (ARN) of the contact channel you want information * about.

*/ inline void SetContactChannelId(const char* value) { m_contactChannelIdHasBeenSet = true; m_contactChannelId.assign(value); } /** *

The Amazon Resource Name (ARN) of the contact channel you want information * about.

*/ inline GetContactChannelRequest& WithContactChannelId(const Aws::String& value) { SetContactChannelId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the contact channel you want information * about.

*/ inline GetContactChannelRequest& WithContactChannelId(Aws::String&& value) { SetContactChannelId(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the contact channel you want information * about.

*/ inline GetContactChannelRequest& WithContactChannelId(const char* value) { SetContactChannelId(value); return *this;} private: Aws::String m_contactChannelId; bool m_contactChannelIdHasBeenSet = false; }; } // namespace Model } // namespace SSMContacts } // namespace Aws