AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImageRecycleBinInfo.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 <aws/core/utils/DateTime.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 ImageRecycleBinInfo();
37 AWS_EC2_API ImageRecycleBinInfo(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
48 inline const Aws::String& GetImageId() const{ return m_imageId; }
49 inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; }
50 inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; }
51 inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); }
52 inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); }
53 inline ImageRecycleBinInfo& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
54 inline ImageRecycleBinInfo& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
55 inline ImageRecycleBinInfo& WithImageId(const char* value) { SetImageId(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline ImageRecycleBinInfo& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline ImageRecycleBinInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline ImageRecycleBinInfo& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline ImageRecycleBinInfo& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline ImageRecycleBinInfo& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline ImageRecycleBinInfo& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetRecycleBinEnterTime() const{ return m_recycleBinEnterTime; }
91 inline bool RecycleBinEnterTimeHasBeenSet() const { return m_recycleBinEnterTimeHasBeenSet; }
92 inline void SetRecycleBinEnterTime(const Aws::Utils::DateTime& value) { m_recycleBinEnterTimeHasBeenSet = true; m_recycleBinEnterTime = value; }
93 inline void SetRecycleBinEnterTime(Aws::Utils::DateTime&& value) { m_recycleBinEnterTimeHasBeenSet = true; m_recycleBinEnterTime = std::move(value); }
97
99
103 inline const Aws::Utils::DateTime& GetRecycleBinExitTime() const{ return m_recycleBinExitTime; }
104 inline bool RecycleBinExitTimeHasBeenSet() const { return m_recycleBinExitTimeHasBeenSet; }
105 inline void SetRecycleBinExitTime(const Aws::Utils::DateTime& value) { m_recycleBinExitTimeHasBeenSet = true; m_recycleBinExitTime = value; }
106 inline void SetRecycleBinExitTime(Aws::Utils::DateTime&& value) { m_recycleBinExitTimeHasBeenSet = true; m_recycleBinExitTime = std::move(value); }
110 private:
111
112 Aws::String m_imageId;
113 bool m_imageIdHasBeenSet = false;
114
115 Aws::String m_name;
116 bool m_nameHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120
121 Aws::Utils::DateTime m_recycleBinEnterTime;
122 bool m_recycleBinEnterTimeHasBeenSet = false;
123
124 Aws::Utils::DateTime m_recycleBinExitTime;
125 bool m_recycleBinExitTimeHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace EC2
130} // namespace Aws
ImageRecycleBinInfo & WithName(Aws::String &&value)
const Aws::Utils::DateTime & GetRecycleBinEnterTime() const
void SetName(const Aws::String &value)
ImageRecycleBinInfo & WithDescription(const char *value)
const Aws::String & GetName() const
void SetRecycleBinExitTime(const Aws::Utils::DateTime &value)
void SetRecycleBinEnterTime(Aws::Utils::DateTime &&value)
const Aws::String & GetDescription() const
void SetImageId(const Aws::String &value)
void SetDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetRecycleBinExitTime() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetImageId() const
ImageRecycleBinInfo & WithImageId(const Aws::String &value)
void SetDescription(Aws::String &&value)
ImageRecycleBinInfo & WithRecycleBinEnterTime(Aws::Utils::DateTime &&value)
ImageRecycleBinInfo & WithRecycleBinExitTime(const Aws::Utils::DateTime &value)
ImageRecycleBinInfo & WithName(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API ImageRecycleBinInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API ImageRecycleBinInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
ImageRecycleBinInfo & WithRecycleBinExitTime(Aws::Utils::DateTime &&value)
ImageRecycleBinInfo & WithImageId(const char *value)
ImageRecycleBinInfo & WithDescription(Aws::String &&value)
ImageRecycleBinInfo & WithRecycleBinEnterTime(const Aws::Utils::DateTime &value)
ImageRecycleBinInfo & WithName(const Aws::String &value)
ImageRecycleBinInfo & WithDescription(const Aws::String &value)
void SetRecycleBinEnterTime(const Aws::Utils::DateTime &value)
void SetRecycleBinExitTime(Aws::Utils::DateTime &&value)
ImageRecycleBinInfo & WithImageId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream