AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteFleetErrorItem.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/DeleteFleetError.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_EC2_API DeleteFleetErrorItem();
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const DeleteFleetError& GetError() const{ return m_error; }
49 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
50 inline void SetError(const DeleteFleetError& value) { m_errorHasBeenSet = true; m_error = value; }
51 inline void SetError(DeleteFleetError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
52 inline DeleteFleetErrorItem& WithError(const DeleteFleetError& value) { SetError(value); return *this;}
53 inline DeleteFleetErrorItem& WithError(DeleteFleetError&& value) { SetError(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
61 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
62 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
63 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
64 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
65 inline DeleteFleetErrorItem& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
66 inline DeleteFleetErrorItem& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
67 inline DeleteFleetErrorItem& WithFleetId(const char* value) { SetFleetId(value); return *this;}
69 private:
70
71 DeleteFleetError m_error;
72 bool m_errorHasBeenSet = false;
73
74 Aws::String m_fleetId;
75 bool m_fleetIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
DeleteFleetErrorItem & WithError(const DeleteFleetError &value)
const DeleteFleetError & GetError() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API DeleteFleetErrorItem & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DeleteFleetErrorItem & WithFleetId(const Aws::String &value)
DeleteFleetErrorItem & WithFleetId(const char *value)
void SetFleetId(const Aws::String &value)
void SetError(const DeleteFleetError &value)
DeleteFleetErrorItem & WithError(DeleteFleetError &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DeleteFleetErrorItem & WithFleetId(Aws::String &&value)
AWS_EC2_API DeleteFleetErrorItem(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetError(DeleteFleetError &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream