92 lines
3.4 KiB
C
92 lines
3.4 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace ServiceDiscovery
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class AWS_SERVICEDISCOVERY_API CreatePublicDnsNamespaceResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
CreatePublicDnsNamespaceResult();
|
|||
|
|
CreatePublicDnsNamespaceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
CreatePublicDnsNamespaceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A value that you can use to determine whether the request completed
|
|||
|
|
* successfully. To get the status of the operation, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_GetOperation.html">GetOperation</a>.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetOperationId() const{ return m_operationId; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A value that you can use to determine whether the request completed
|
|||
|
|
* successfully. To get the status of the operation, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_GetOperation.html">GetOperation</a>.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A value that you can use to determine whether the request completed
|
|||
|
|
* successfully. To get the status of the operation, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_GetOperation.html">GetOperation</a>.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A value that you can use to determine whether the request completed
|
|||
|
|
* successfully. To get the status of the operation, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_GetOperation.html">GetOperation</a>.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOperationId(const char* value) { m_operationId.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A value that you can use to determine whether the request completed
|
|||
|
|
* successfully. To get the status of the operation, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_GetOperation.html">GetOperation</a>.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreatePublicDnsNamespaceResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A value that you can use to determine whether the request completed
|
|||
|
|
* successfully. To get the status of the operation, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_GetOperation.html">GetOperation</a>.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreatePublicDnsNamespaceResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A value that you can use to determine whether the request completed
|
|||
|
|
* successfully. To get the status of the operation, see <a
|
|||
|
|
* href="https://docs.aws.amazon.com/cloud-map/latest/api/API_GetOperation.html">GetOperation</a>.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreatePublicDnsNamespaceResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_operationId;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace ServiceDiscovery
|
|||
|
|
} // namespace Aws
|