Lesson 35 - Get Compute Auth Token Working
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
/**
|
||||
* 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/core/utils/memory/stl/AWSString.h>
|
||||
#include <aws/ssm/model/ConnectionStatus.h>
|
||||
#include <utility>
|
||||
|
||||
namespace Aws
|
||||
{
|
||||
template<typename RESULT_TYPE>
|
||||
class AmazonWebServiceResult;
|
||||
|
||||
namespace Utils
|
||||
{
|
||||
namespace Json
|
||||
{
|
||||
class JsonValue;
|
||||
} // namespace Json
|
||||
} // namespace Utils
|
||||
namespace SSM
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class GetConnectionStatusResult
|
||||
{
|
||||
public:
|
||||
AWS_SSM_API GetConnectionStatusResult();
|
||||
AWS_SSM_API GetConnectionStatusResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
||||
AWS_SSM_API GetConnectionStatusResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
||||
|
||||
|
||||
///@{
|
||||
/**
|
||||
* <p>The ID of the managed node to check connection status. </p>
|
||||
*/
|
||||
inline const Aws::String& GetTarget() const{ return m_target; }
|
||||
inline void SetTarget(const Aws::String& value) { m_target = value; }
|
||||
inline void SetTarget(Aws::String&& value) { m_target = std::move(value); }
|
||||
inline void SetTarget(const char* value) { m_target.assign(value); }
|
||||
inline GetConnectionStatusResult& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
|
||||
inline GetConnectionStatusResult& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
|
||||
inline GetConnectionStatusResult& WithTarget(const char* value) { SetTarget(value); return *this;}
|
||||
///@}
|
||||
|
||||
///@{
|
||||
/**
|
||||
* <p>The status of the connection to the managed node.</p>
|
||||
*/
|
||||
inline const ConnectionStatus& GetStatus() const{ return m_status; }
|
||||
inline void SetStatus(const ConnectionStatus& value) { m_status = value; }
|
||||
inline void SetStatus(ConnectionStatus&& value) { m_status = std::move(value); }
|
||||
inline GetConnectionStatusResult& WithStatus(const ConnectionStatus& value) { SetStatus(value); return *this;}
|
||||
inline GetConnectionStatusResult& WithStatus(ConnectionStatus&& value) { SetStatus(std::move(value)); return *this;}
|
||||
///@}
|
||||
|
||||
///@{
|
||||
|
||||
inline const Aws::String& GetRequestId() const{ return m_requestId; }
|
||||
inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
|
||||
inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
|
||||
inline void SetRequestId(const char* value) { m_requestId.assign(value); }
|
||||
inline GetConnectionStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
|
||||
inline GetConnectionStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
|
||||
inline GetConnectionStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
|
||||
///@}
|
||||
private:
|
||||
|
||||
Aws::String m_target;
|
||||
|
||||
ConnectionStatus m_status;
|
||||
|
||||
Aws::String m_requestId;
|
||||
};
|
||||
|
||||
} // namespace Model
|
||||
} // namespace SSM
|
||||
} // namespace Aws
|
||||
Reference in New Issue
Block a user