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/glue/Glue_EXPORTS.h>
|
|
#include <aws/glue/GlueRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Glue
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_GLUE_API StopCrawlerScheduleRequest : public GlueRequest
|
|
{
|
|
public:
|
|
StopCrawlerScheduleRequest();
|
|
|
|
// 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 "StopCrawlerSchedule"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>Name of the crawler whose schedule state to set.</p>
|
|
*/
|
|
inline const Aws::String& GetCrawlerName() const{ return m_crawlerName; }
|
|
|
|
/**
|
|
* <p>Name of the crawler whose schedule state to set.</p>
|
|
*/
|
|
inline bool CrawlerNameHasBeenSet() const { return m_crawlerNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Name of the crawler whose schedule state to set.</p>
|
|
*/
|
|
inline void SetCrawlerName(const Aws::String& value) { m_crawlerNameHasBeenSet = true; m_crawlerName = value; }
|
|
|
|
/**
|
|
* <p>Name of the crawler whose schedule state to set.</p>
|
|
*/
|
|
inline void SetCrawlerName(Aws::String&& value) { m_crawlerNameHasBeenSet = true; m_crawlerName = std::move(value); }
|
|
|
|
/**
|
|
* <p>Name of the crawler whose schedule state to set.</p>
|
|
*/
|
|
inline void SetCrawlerName(const char* value) { m_crawlerNameHasBeenSet = true; m_crawlerName.assign(value); }
|
|
|
|
/**
|
|
* <p>Name of the crawler whose schedule state to set.</p>
|
|
*/
|
|
inline StopCrawlerScheduleRequest& WithCrawlerName(const Aws::String& value) { SetCrawlerName(value); return *this;}
|
|
|
|
/**
|
|
* <p>Name of the crawler whose schedule state to set.</p>
|
|
*/
|
|
inline StopCrawlerScheduleRequest& WithCrawlerName(Aws::String&& value) { SetCrawlerName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Name of the crawler whose schedule state to set.</p>
|
|
*/
|
|
inline StopCrawlerScheduleRequest& WithCrawlerName(const char* value) { SetCrawlerName(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_crawlerName;
|
|
bool m_crawlerNameHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Glue
|
|
} // namespace Aws
|