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
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-lightsail/include/aws/lightsail/model/GetAutoSnapshotsRequest.h

94 lines
3.1 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lightsail/Lightsail_EXPORTS.h>
#include <aws/lightsail/LightsailRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Lightsail
{
namespace Model
{
/**
*/
class AWS_LIGHTSAIL_API GetAutoSnapshotsRequest : public LightsailRequest
{
public:
GetAutoSnapshotsRequest();
// 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 "GetAutoSnapshots"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of the source instance or disk from which to get automatic snapshot
* information.</p>
*/
inline const Aws::String& GetResourceName() const{ return m_resourceName; }
/**
* <p>The name of the source instance or disk from which to get automatic snapshot
* information.</p>
*/
inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
/**
* <p>The name of the source instance or disk from which to get automatic snapshot
* information.</p>
*/
inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
/**
* <p>The name of the source instance or disk from which to get automatic snapshot
* information.</p>
*/
inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
/**
* <p>The name of the source instance or disk from which to get automatic snapshot
* information.</p>
*/
inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
/**
* <p>The name of the source instance or disk from which to get automatic snapshot
* information.</p>
*/
inline GetAutoSnapshotsRequest& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
/**
* <p>The name of the source instance or disk from which to get automatic snapshot
* information.</p>
*/
inline GetAutoSnapshotsRequest& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
/**
* <p>The name of the source instance or disk from which to get automatic snapshot
* information.</p>
*/
inline GetAutoSnapshotsRequest& WithResourceName(const char* value) { SetResourceName(value); return *this;}
private:
Aws::String m_resourceName;
bool m_resourceNameHasBeenSet;
};
} // namespace Model
} // namespace Lightsail
} // namespace Aws