AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SuspendedProcess.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
36 {
37 public:
38 AWS_AUTOSCALING_API SuspendedProcess();
39 AWS_AUTOSCALING_API SuspendedProcess(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_AUTOSCALING_API SuspendedProcess& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::String& GetProcessName() const{ return m_processName; }
51 inline bool ProcessNameHasBeenSet() const { return m_processNameHasBeenSet; }
52 inline void SetProcessName(const Aws::String& value) { m_processNameHasBeenSet = true; m_processName = value; }
53 inline void SetProcessName(Aws::String&& value) { m_processNameHasBeenSet = true; m_processName = std::move(value); }
54 inline void SetProcessName(const char* value) { m_processNameHasBeenSet = true; m_processName.assign(value); }
55 inline SuspendedProcess& WithProcessName(const Aws::String& value) { SetProcessName(value); return *this;}
56 inline SuspendedProcess& WithProcessName(Aws::String&& value) { SetProcessName(std::move(value)); return *this;}
57 inline SuspendedProcess& WithProcessName(const char* value) { SetProcessName(value); return *this;}
59
61
64 inline const Aws::String& GetSuspensionReason() const{ return m_suspensionReason; }
65 inline bool SuspensionReasonHasBeenSet() const { return m_suspensionReasonHasBeenSet; }
66 inline void SetSuspensionReason(const Aws::String& value) { m_suspensionReasonHasBeenSet = true; m_suspensionReason = value; }
67 inline void SetSuspensionReason(Aws::String&& value) { m_suspensionReasonHasBeenSet = true; m_suspensionReason = std::move(value); }
68 inline void SetSuspensionReason(const char* value) { m_suspensionReasonHasBeenSet = true; m_suspensionReason.assign(value); }
69 inline SuspendedProcess& WithSuspensionReason(const Aws::String& value) { SetSuspensionReason(value); return *this;}
70 inline SuspendedProcess& WithSuspensionReason(Aws::String&& value) { SetSuspensionReason(std::move(value)); return *this;}
71 inline SuspendedProcess& WithSuspensionReason(const char* value) { SetSuspensionReason(value); return *this;}
73 private:
74
75 Aws::String m_processName;
76 bool m_processNameHasBeenSet = false;
77
78 Aws::String m_suspensionReason;
79 bool m_suspensionReasonHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace AutoScaling
84} // namespace Aws
AWS_AUTOSCALING_API SuspendedProcess & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SuspendedProcess & WithSuspensionReason(const char *value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SuspendedProcess & WithSuspensionReason(const Aws::String &value)
SuspendedProcess & WithProcessName(Aws::String &&value)
AWS_AUTOSCALING_API SuspendedProcess(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSuspensionReason(const Aws::String &value)
void SetSuspensionReason(Aws::String &&value)
void SetProcessName(const Aws::String &value)
const Aws::String & GetSuspensionReason() const
SuspendedProcess & WithProcessName(const char *value)
SuspendedProcess & WithProcessName(const Aws::String &value)
const Aws::String & GetProcessName() const
SuspendedProcess & WithSuspensionReason(Aws::String &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream