AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FpgaImageState.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/FpgaImageStateCode.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 FpgaImageState();
37 AWS_EC2_API FpgaImageState(const Aws::Utils::Xml::XmlNode& xmlNode);
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
53 inline const FpgaImageStateCode& GetCode() const{ return m_code; }
54 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
55 inline void SetCode(const FpgaImageStateCode& value) { m_codeHasBeenSet = true; m_code = value; }
56 inline void SetCode(FpgaImageStateCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
57 inline FpgaImageState& WithCode(const FpgaImageStateCode& value) { SetCode(value); return *this;}
58 inline FpgaImageState& WithCode(FpgaImageStateCode&& value) { SetCode(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetMessage() const{ return m_message; }
66 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
67 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
68 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
69 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
70 inline FpgaImageState& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
71 inline FpgaImageState& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
72 inline FpgaImageState& WithMessage(const char* value) { SetMessage(value); return *this;}
74 private:
75
76 FpgaImageStateCode m_code;
77 bool m_codeHasBeenSet = false;
78
79 Aws::String m_message;
80 bool m_messageHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace EC2
85} // namespace Aws
void SetMessage(const char *value)
FpgaImageState & WithMessage(Aws::String &&value)
AWS_EC2_API FpgaImageState(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMessage(Aws::String &&value)
AWS_EC2_API FpgaImageState & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCode(const FpgaImageStateCode &value)
void SetCode(FpgaImageStateCode &&value)
FpgaImageState & WithCode(const FpgaImageStateCode &value)
FpgaImageState & WithMessage(const Aws::String &value)
FpgaImageState & WithMessage(const char *value)
const Aws::String & GetMessage() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetMessage(const Aws::String &value)
const FpgaImageStateCode & GetCode() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
FpgaImageState & WithCode(FpgaImageStateCode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream