86 lines
2.6 KiB
C++
86 lines
2.6 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/logs/CloudWatchLogs_EXPORTS.h>
|
|
#include <aws/logs/CloudWatchLogsRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace CloudWatchLogs
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_CLOUDWATCHLOGS_API DeleteDestinationRequest : public CloudWatchLogsRequest
|
|
{
|
|
public:
|
|
DeleteDestinationRequest();
|
|
|
|
// 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 "DeleteDestination"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>The name of the destination.</p>
|
|
*/
|
|
inline const Aws::String& GetDestinationName() const{ return m_destinationName; }
|
|
|
|
/**
|
|
* <p>The name of the destination.</p>
|
|
*/
|
|
inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the destination.</p>
|
|
*/
|
|
inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; }
|
|
|
|
/**
|
|
* <p>The name of the destination.</p>
|
|
*/
|
|
inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the destination.</p>
|
|
*/
|
|
inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the destination.</p>
|
|
*/
|
|
inline DeleteDestinationRequest& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the destination.</p>
|
|
*/
|
|
inline DeleteDestinationRequest& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the destination.</p>
|
|
*/
|
|
inline DeleteDestinationRequest& WithDestinationName(const char* value) { SetDestinationName(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_destinationName;
|
|
bool m_destinationNameHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace CloudWatchLogs
|
|
} // namespace Aws
|