AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PtrUpdateStatus.h
1
6#pragma once
7#include <aws/ec2/EC2_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 EC2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EC2_API PtrUpdateStatus();
36 AWS_EC2_API PtrUpdateStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetValue() const{ return m_value; }
48 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
49 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
50 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
51 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
52 inline PtrUpdateStatus& WithValue(const Aws::String& value) { SetValue(value); return *this;}
53 inline PtrUpdateStatus& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
54 inline PtrUpdateStatus& WithValue(const char* value) { SetValue(value); return *this;}
56
58
61 inline const Aws::String& GetStatus() const{ return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
64 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
65 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
66 inline PtrUpdateStatus& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
67 inline PtrUpdateStatus& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
68 inline PtrUpdateStatus& WithStatus(const char* value) { SetStatus(value); return *this;}
70
72
75 inline const Aws::String& GetReason() const{ return m_reason; }
76 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
77 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
78 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
79 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
80 inline PtrUpdateStatus& WithReason(const Aws::String& value) { SetReason(value); return *this;}
81 inline PtrUpdateStatus& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
82 inline PtrUpdateStatus& WithReason(const char* value) { SetReason(value); return *this;}
84 private:
85
86 Aws::String m_value;
87 bool m_valueHasBeenSet = false;
88
89 Aws::String m_status;
90 bool m_statusHasBeenSet = false;
91
92 Aws::String m_reason;
93 bool m_reasonHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace EC2
98} // namespace Aws
void SetValue(const Aws::String &value)
void SetStatus(const char *value)
void SetReason(const char *value)
PtrUpdateStatus & WithReason(const Aws::String &value)
PtrUpdateStatus & WithStatus(const char *value)
const Aws::String & GetValue() const
void SetValue(Aws::String &&value)
AWS_EC2_API PtrUpdateStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API PtrUpdateStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
PtrUpdateStatus & WithReason(Aws::String &&value)
PtrUpdateStatus & WithStatus(const Aws::String &value)
const Aws::String & GetReason() const
const Aws::String & GetStatus() const
void SetStatus(Aws::String &&value)
PtrUpdateStatus & WithReason(const char *value)
PtrUpdateStatus & WithValue(Aws::String &&value)
PtrUpdateStatus & WithValue(const Aws::String &value)
PtrUpdateStatus & WithStatus(Aws::String &&value)
void SetReason(const Aws::String &value)
void SetStatus(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PtrUpdateStatus & WithValue(const char *value)
void SetReason(Aws::String &&value)
void SetValue(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream