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-autoscaling/include/aws/autoscaling/model/FailedScheduledUpdateGroupActionRequest.h

180 lines
5.8 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/autoscaling/AutoScaling_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace AutoScaling
{
namespace Model
{
/**
* <p>Describes a scheduled action that could not be created, updated, or
* deleted.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/FailedScheduledUpdateGroupActionRequest">AWS
* API Reference</a></p>
*/
class AWS_AUTOSCALING_API FailedScheduledUpdateGroupActionRequest
{
public:
FailedScheduledUpdateGroupActionRequest();
FailedScheduledUpdateGroupActionRequest(const Aws::Utils::Xml::XmlNode& xmlNode);
FailedScheduledUpdateGroupActionRequest& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
void OutputToStream(Aws::OStream& oStream, const char* location) const;
/**
* <p>The name of the scheduled action.</p>
*/
inline const Aws::String& GetScheduledActionName() const{ return m_scheduledActionName; }
/**
* <p>The name of the scheduled action.</p>
*/
inline bool ScheduledActionNameHasBeenSet() const { return m_scheduledActionNameHasBeenSet; }
/**
* <p>The name of the scheduled action.</p>
*/
inline void SetScheduledActionName(const Aws::String& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = value; }
/**
* <p>The name of the scheduled action.</p>
*/
inline void SetScheduledActionName(Aws::String&& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = std::move(value); }
/**
* <p>The name of the scheduled action.</p>
*/
inline void SetScheduledActionName(const char* value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName.assign(value); }
/**
* <p>The name of the scheduled action.</p>
*/
inline FailedScheduledUpdateGroupActionRequest& WithScheduledActionName(const Aws::String& value) { SetScheduledActionName(value); return *this;}
/**
* <p>The name of the scheduled action.</p>
*/
inline FailedScheduledUpdateGroupActionRequest& WithScheduledActionName(Aws::String&& value) { SetScheduledActionName(std::move(value)); return *this;}
/**
* <p>The name of the scheduled action.</p>
*/
inline FailedScheduledUpdateGroupActionRequest& WithScheduledActionName(const char* value) { SetScheduledActionName(value); return *this;}
/**
* <p>The error code.</p>
*/
inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
/**
* <p>The error code.</p>
*/
inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
/**
* <p>The error code.</p>
*/
inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
/**
* <p>The error code.</p>
*/
inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
/**
* <p>The error code.</p>
*/
inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
/**
* <p>The error code.</p>
*/
inline FailedScheduledUpdateGroupActionRequest& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
/**
* <p>The error code.</p>
*/
inline FailedScheduledUpdateGroupActionRequest& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
/**
* <p>The error code.</p>
*/
inline FailedScheduledUpdateGroupActionRequest& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
/**
* <p>The error message accompanying the error code.</p>
*/
inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
/**
* <p>The error message accompanying the error code.</p>
*/
inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
/**
* <p>The error message accompanying the error code.</p>
*/
inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
/**
* <p>The error message accompanying the error code.</p>
*/
inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
/**
* <p>The error message accompanying the error code.</p>
*/
inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
/**
* <p>The error message accompanying the error code.</p>
*/
inline FailedScheduledUpdateGroupActionRequest& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
/**
* <p>The error message accompanying the error code.</p>
*/
inline FailedScheduledUpdateGroupActionRequest& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
/**
* <p>The error message accompanying the error code.</p>
*/
inline FailedScheduledUpdateGroupActionRequest& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
private:
Aws::String m_scheduledActionName;
bool m_scheduledActionNameHasBeenSet;
Aws::String m_errorCode;
bool m_errorCodeHasBeenSet;
Aws::String m_errorMessage;
bool m_errorMessageHasBeenSet;
};
} // namespace Model
} // namespace AutoScaling
} // namespace Aws