Lesson 35 - Get Compute Auth Token Working

This commit is contained in:
Norman Lansing
2026-02-28 12:32:28 -05:00
parent 1d477ee42a
commit 4fde462bce
7743 changed files with 1397833 additions and 18 deletions

View File

@@ -0,0 +1,58 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ssm/SSM_EXPORTS.h>
#include <aws/ssm/SSMRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
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;
///@{
/**
* <p>The managed node ID.</p>
*/
inline const Aws::String& GetTarget() const{ return m_target; }
inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
inline GetConnectionStatusRequest& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
inline GetConnectionStatusRequest& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
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