AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ManagedAction.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticbeanstalk/model/ActionType.h>
11#include <aws/elasticbeanstalk/model/ActionStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace ElasticBeanstalk
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_ELASTICBEANSTALK_API ManagedAction();
39 AWS_ELASTICBEANSTALK_API ManagedAction(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_ELASTICBEANSTALK_API ManagedAction& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::String& GetActionId() const{ return m_actionId; }
51 inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
52 inline void SetActionId(const Aws::String& value) { m_actionIdHasBeenSet = true; m_actionId = value; }
53 inline void SetActionId(Aws::String&& value) { m_actionIdHasBeenSet = true; m_actionId = std::move(value); }
54 inline void SetActionId(const char* value) { m_actionIdHasBeenSet = true; m_actionId.assign(value); }
55 inline ManagedAction& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
56 inline ManagedAction& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
57 inline ManagedAction& WithActionId(const char* value) { SetActionId(value); return *this;}
59
61
64 inline const Aws::String& GetActionDescription() const{ return m_actionDescription; }
65 inline bool ActionDescriptionHasBeenSet() const { return m_actionDescriptionHasBeenSet; }
66 inline void SetActionDescription(const Aws::String& value) { m_actionDescriptionHasBeenSet = true; m_actionDescription = value; }
67 inline void SetActionDescription(Aws::String&& value) { m_actionDescriptionHasBeenSet = true; m_actionDescription = std::move(value); }
68 inline void SetActionDescription(const char* value) { m_actionDescriptionHasBeenSet = true; m_actionDescription.assign(value); }
69 inline ManagedAction& WithActionDescription(const Aws::String& value) { SetActionDescription(value); return *this;}
70 inline ManagedAction& WithActionDescription(Aws::String&& value) { SetActionDescription(std::move(value)); return *this;}
71 inline ManagedAction& WithActionDescription(const char* value) { SetActionDescription(value); return *this;}
73
75
78 inline const ActionType& GetActionType() const{ return m_actionType; }
79 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
80 inline void SetActionType(const ActionType& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
81 inline void SetActionType(ActionType&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
82 inline ManagedAction& WithActionType(const ActionType& value) { SetActionType(value); return *this;}
83 inline ManagedAction& WithActionType(ActionType&& value) { SetActionType(std::move(value)); return *this;}
85
87
91 inline const ActionStatus& GetStatus() const{ return m_status; }
92 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
93 inline void SetStatus(const ActionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
94 inline void SetStatus(ActionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
95 inline ManagedAction& WithStatus(const ActionStatus& value) { SetStatus(value); return *this;}
96 inline ManagedAction& WithStatus(ActionStatus&& value) { SetStatus(std::move(value)); return *this;}
98
100
104 inline const Aws::Utils::DateTime& GetWindowStartTime() const{ return m_windowStartTime; }
105 inline bool WindowStartTimeHasBeenSet() const { return m_windowStartTimeHasBeenSet; }
106 inline void SetWindowStartTime(const Aws::Utils::DateTime& value) { m_windowStartTimeHasBeenSet = true; m_windowStartTime = value; }
107 inline void SetWindowStartTime(Aws::Utils::DateTime&& value) { m_windowStartTimeHasBeenSet = true; m_windowStartTime = std::move(value); }
108 inline ManagedAction& WithWindowStartTime(const Aws::Utils::DateTime& value) { SetWindowStartTime(value); return *this;}
109 inline ManagedAction& WithWindowStartTime(Aws::Utils::DateTime&& value) { SetWindowStartTime(std::move(value)); return *this;}
111 private:
112
113 Aws::String m_actionId;
114 bool m_actionIdHasBeenSet = false;
115
116 Aws::String m_actionDescription;
117 bool m_actionDescriptionHasBeenSet = false;
118
119 ActionType m_actionType;
120 bool m_actionTypeHasBeenSet = false;
121
122 ActionStatus m_status;
123 bool m_statusHasBeenSet = false;
124
125 Aws::Utils::DateTime m_windowStartTime;
126 bool m_windowStartTimeHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace ElasticBeanstalk
131} // namespace Aws
const Aws::String & GetActionDescription() const
void SetWindowStartTime(Aws::Utils::DateTime &&value)
void SetActionId(const Aws::String &value)
AWS_ELASTICBEANSTALK_API ManagedAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetActionId() const
const ActionStatus & GetStatus() const
void SetActionDescription(Aws::String &&value)
ManagedAction & WithActionId(Aws::String &&value)
ManagedAction & WithActionId(const char *value)
void SetWindowStartTime(const Aws::Utils::DateTime &value)
ManagedAction & WithWindowStartTime(const Aws::Utils::DateTime &value)
void SetActionDescription(const Aws::String &value)
const ActionType & GetActionType() const
ManagedAction & WithActionDescription(const Aws::String &value)
ManagedAction & WithActionType(const ActionType &value)
void SetActionType(const ActionType &value)
ManagedAction & WithStatus(ActionStatus &&value)
ManagedAction & WithActionDescription(const char *value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStatus(const ActionStatus &value)
ManagedAction & WithActionId(const Aws::String &value)
AWS_ELASTICBEANSTALK_API ManagedAction()
const Aws::Utils::DateTime & GetWindowStartTime() const
ManagedAction & WithStatus(const ActionStatus &value)
AWS_ELASTICBEANSTALK_API ManagedAction(const Aws::Utils::Xml::XmlNode &xmlNode)
ManagedAction & WithActionType(ActionType &&value)
ManagedAction & WithActionDescription(Aws::String &&value)
ManagedAction & WithWindowStartTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream