AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomAmi.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_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 ElasticBeanstalk
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_ELASTICBEANSTALK_API CustomAmi();
35 AWS_ELASTICBEANSTALK_API CustomAmi(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_ELASTICBEANSTALK_API CustomAmi& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetVirtualizationType() const{ return m_virtualizationType; }
47 inline bool VirtualizationTypeHasBeenSet() const { return m_virtualizationTypeHasBeenSet; }
48 inline void SetVirtualizationType(const Aws::String& value) { m_virtualizationTypeHasBeenSet = true; m_virtualizationType = value; }
49 inline void SetVirtualizationType(Aws::String&& value) { m_virtualizationTypeHasBeenSet = true; m_virtualizationType = std::move(value); }
50 inline void SetVirtualizationType(const char* value) { m_virtualizationTypeHasBeenSet = true; m_virtualizationType.assign(value); }
51 inline CustomAmi& WithVirtualizationType(const Aws::String& value) { SetVirtualizationType(value); return *this;}
52 inline CustomAmi& WithVirtualizationType(Aws::String&& value) { SetVirtualizationType(std::move(value)); return *this;}
53 inline CustomAmi& WithVirtualizationType(const char* value) { SetVirtualizationType(value); return *this;}
55
57
60 inline const Aws::String& GetImageId() const{ return m_imageId; }
61 inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; }
62 inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; }
63 inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); }
64 inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); }
65 inline CustomAmi& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
66 inline CustomAmi& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
67 inline CustomAmi& WithImageId(const char* value) { SetImageId(value); return *this;}
69 private:
70
71 Aws::String m_virtualizationType;
72 bool m_virtualizationTypeHasBeenSet = false;
73
74 Aws::String m_imageId;
75 bool m_imageIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ElasticBeanstalk
80} // namespace Aws
void SetImageId(Aws::String &&value)
Definition CustomAmi.h:63
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICBEANSTALK_API CustomAmi & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CustomAmi & WithImageId(const char *value)
Definition CustomAmi.h:67
AWS_ELASTICBEANSTALK_API CustomAmi(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetVirtualizationType() const
Definition CustomAmi.h:46
CustomAmi & WithVirtualizationType(const char *value)
Definition CustomAmi.h:53
CustomAmi & WithImageId(const Aws::String &value)
Definition CustomAmi.h:65
AWS_ELASTICBEANSTALK_API CustomAmi()
void SetImageId(const Aws::String &value)
Definition CustomAmi.h:62
CustomAmi & WithVirtualizationType(Aws::String &&value)
Definition CustomAmi.h:52
void SetVirtualizationType(const char *value)
Definition CustomAmi.h:50
void SetImageId(const char *value)
Definition CustomAmi.h:64
void SetVirtualizationType(const Aws::String &value)
Definition CustomAmi.h:48
const Aws::String & GetImageId() const
Definition CustomAmi.h:60
void SetVirtualizationType(Aws::String &&value)
Definition CustomAmi.h:49
CustomAmi & WithImageId(Aws::String &&value)
Definition CustomAmi.h:66
CustomAmi & WithVirtualizationType(const Aws::String &value)
Definition CustomAmi.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream