This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

217 lines
6.5 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/codestar-connections/model/ProviderType.h>
#include <aws/codestar-connections/model/VpcConfiguration.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace CodeStarconnections
{
namespace Model
{
class AWS_CODESTARCONNECTIONS_API GetHostResult
{
public:
GetHostResult();
GetHostResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetHostResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The name of the requested host.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the requested host.</p>
*/
inline void SetName(const Aws::String& value) { m_name = value; }
/**
* <p>The name of the requested host.</p>
*/
inline void SetName(Aws::String&& value) { m_name = std::move(value); }
/**
* <p>The name of the requested host.</p>
*/
inline void SetName(const char* value) { m_name.assign(value); }
/**
* <p>The name of the requested host.</p>
*/
inline GetHostResult& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the requested host.</p>
*/
inline GetHostResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the requested host.</p>
*/
inline GetHostResult& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The status of the requested host.</p>
*/
inline const Aws::String& GetStatus() const{ return m_status; }
/**
* <p>The status of the requested host.</p>
*/
inline void SetStatus(const Aws::String& value) { m_status = value; }
/**
* <p>The status of the requested host.</p>
*/
inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
/**
* <p>The status of the requested host.</p>
*/
inline void SetStatus(const char* value) { m_status.assign(value); }
/**
* <p>The status of the requested host.</p>
*/
inline GetHostResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
/**
* <p>The status of the requested host.</p>
*/
inline GetHostResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The status of the requested host.</p>
*/
inline GetHostResult& WithStatus(const char* value) { SetStatus(value); return *this;}
/**
* <p>The provider type of the requested host, such as GitHub Enterprise
* Server.</p>
*/
inline const ProviderType& GetProviderType() const{ return m_providerType; }
/**
* <p>The provider type of the requested host, such as GitHub Enterprise
* Server.</p>
*/
inline void SetProviderType(const ProviderType& value) { m_providerType = value; }
/**
* <p>The provider type of the requested host, such as GitHub Enterprise
* Server.</p>
*/
inline void SetProviderType(ProviderType&& value) { m_providerType = std::move(value); }
/**
* <p>The provider type of the requested host, such as GitHub Enterprise
* Server.</p>
*/
inline GetHostResult& WithProviderType(const ProviderType& value) { SetProviderType(value); return *this;}
/**
* <p>The provider type of the requested host, such as GitHub Enterprise
* Server.</p>
*/
inline GetHostResult& WithProviderType(ProviderType&& value) { SetProviderType(std::move(value)); return *this;}
/**
* <p>The endpoint of the infrastructure represented by the requested host.</p>
*/
inline const Aws::String& GetProviderEndpoint() const{ return m_providerEndpoint; }
/**
* <p>The endpoint of the infrastructure represented by the requested host.</p>
*/
inline void SetProviderEndpoint(const Aws::String& value) { m_providerEndpoint = value; }
/**
* <p>The endpoint of the infrastructure represented by the requested host.</p>
*/
inline void SetProviderEndpoint(Aws::String&& value) { m_providerEndpoint = std::move(value); }
/**
* <p>The endpoint of the infrastructure represented by the requested host.</p>
*/
inline void SetProviderEndpoint(const char* value) { m_providerEndpoint.assign(value); }
/**
* <p>The endpoint of the infrastructure represented by the requested host.</p>
*/
inline GetHostResult& WithProviderEndpoint(const Aws::String& value) { SetProviderEndpoint(value); return *this;}
/**
* <p>The endpoint of the infrastructure represented by the requested host.</p>
*/
inline GetHostResult& WithProviderEndpoint(Aws::String&& value) { SetProviderEndpoint(std::move(value)); return *this;}
/**
* <p>The endpoint of the infrastructure represented by the requested host.</p>
*/
inline GetHostResult& WithProviderEndpoint(const char* value) { SetProviderEndpoint(value); return *this;}
/**
* <p>The VPC configuration of the requested host.</p>
*/
inline const VpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
/**
* <p>The VPC configuration of the requested host.</p>
*/
inline void SetVpcConfiguration(const VpcConfiguration& value) { m_vpcConfiguration = value; }
/**
* <p>The VPC configuration of the requested host.</p>
*/
inline void SetVpcConfiguration(VpcConfiguration&& value) { m_vpcConfiguration = std::move(value); }
/**
* <p>The VPC configuration of the requested host.</p>
*/
inline GetHostResult& WithVpcConfiguration(const VpcConfiguration& value) { SetVpcConfiguration(value); return *this;}
/**
* <p>The VPC configuration of the requested host.</p>
*/
inline GetHostResult& WithVpcConfiguration(VpcConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;}
private:
Aws::String m_name;
Aws::String m_status;
ProviderType m_providerType;
Aws::String m_providerEndpoint;
VpcConfiguration m_vpcConfiguration;
};
} // namespace Model
} // namespace CodeStarconnections
} // namespace Aws