/** * 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 SSM { namespace Model { /** */ class GetConnectionStatusRequest : public SSMRequest { public: AWS_SSM_API GetConnectionStatusRequest(); // 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 "GetConnectionStatus"; } AWS_SSM_API Aws::String SerializePayload() const override; AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The managed node ID.

*/ inline const Aws::String& GetTarget() const{ return m_target; } /** *

The managed node ID.

*/ inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; } /** *

The managed node ID.

*/ inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; } /** *

The managed node ID.

*/ inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); } /** *

The managed node ID.

*/ inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); } /** *

The managed node ID.

*/ inline GetConnectionStatusRequest& WithTarget(const Aws::String& value) { SetTarget(value); return *this;} /** *

The managed node ID.

*/ inline GetConnectionStatusRequest& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;} /** *

The managed node ID.

*/ inline GetConnectionStatusRequest& WithTarget(const char* value) { SetTarget(value); return *this;} private: Aws::String m_target; bool m_targetHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws