AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailedScheduledUpdateGroupActionRequest.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace AutoScaling
22{
23namespace Model
24{
25
33 {
34 public:
38
39 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetScheduledActionName() const{ return m_scheduledActionName; }
48 inline bool ScheduledActionNameHasBeenSet() const { return m_scheduledActionNameHasBeenSet; }
49 inline void SetScheduledActionName(const Aws::String& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = value; }
50 inline void SetScheduledActionName(Aws::String&& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = std::move(value); }
51 inline void SetScheduledActionName(const char* value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName.assign(value); }
56
58
61 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
62 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
63 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
64 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
65 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
67 inline FailedScheduledUpdateGroupActionRequest& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
68 inline FailedScheduledUpdateGroupActionRequest& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
70
72
75 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
76 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
77 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
78 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
79 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
81 inline FailedScheduledUpdateGroupActionRequest& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
82 inline FailedScheduledUpdateGroupActionRequest& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
84 private:
85
86 Aws::String m_scheduledActionName;
87 bool m_scheduledActionNameHasBeenSet = false;
88
89 Aws::String m_errorCode;
90 bool m_errorCodeHasBeenSet = false;
91
92 Aws::String m_errorMessage;
93 bool m_errorMessageHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace AutoScaling
98} // namespace Aws
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
FailedScheduledUpdateGroupActionRequest & WithErrorCode(const char *value)
FailedScheduledUpdateGroupActionRequest & WithErrorCode(const Aws::String &value)
FailedScheduledUpdateGroupActionRequest & WithScheduledActionName(Aws::String &&value)
AWS_AUTOSCALING_API FailedScheduledUpdateGroupActionRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
FailedScheduledUpdateGroupActionRequest & WithScheduledActionName(const Aws::String &value)
FailedScheduledUpdateGroupActionRequest & WithErrorMessage(const Aws::String &value)
FailedScheduledUpdateGroupActionRequest & WithErrorCode(Aws::String &&value)
FailedScheduledUpdateGroupActionRequest & WithScheduledActionName(const char *value)
FailedScheduledUpdateGroupActionRequest & WithErrorMessage(Aws::String &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
FailedScheduledUpdateGroupActionRequest & WithErrorMessage(const char *value)
AWS_AUTOSCALING_API FailedScheduledUpdateGroupActionRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream