AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MediaDeviceInfo.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/ec2/model/MediaDeviceMemoryInfo.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 MediaDeviceInfo();
37 AWS_EC2_API MediaDeviceInfo(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 int GetCount() const{ return m_count; }
49 inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
50 inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
51 inline MediaDeviceInfo& WithCount(int value) { SetCount(value); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline MediaDeviceInfo& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline MediaDeviceInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline MediaDeviceInfo& WithName(const char* value) { SetName(value); return *this;}
67
69
72 inline const Aws::String& GetManufacturer() const{ return m_manufacturer; }
73 inline bool ManufacturerHasBeenSet() const { return m_manufacturerHasBeenSet; }
74 inline void SetManufacturer(const Aws::String& value) { m_manufacturerHasBeenSet = true; m_manufacturer = value; }
75 inline void SetManufacturer(Aws::String&& value) { m_manufacturerHasBeenSet = true; m_manufacturer = std::move(value); }
76 inline void SetManufacturer(const char* value) { m_manufacturerHasBeenSet = true; m_manufacturer.assign(value); }
77 inline MediaDeviceInfo& WithManufacturer(const Aws::String& value) { SetManufacturer(value); return *this;}
78 inline MediaDeviceInfo& WithManufacturer(Aws::String&& value) { SetManufacturer(std::move(value)); return *this;}
79 inline MediaDeviceInfo& WithManufacturer(const char* value) { SetManufacturer(value); return *this;}
81
83
86 inline const MediaDeviceMemoryInfo& GetMemoryInfo() const{ return m_memoryInfo; }
87 inline bool MemoryInfoHasBeenSet() const { return m_memoryInfoHasBeenSet; }
88 inline void SetMemoryInfo(const MediaDeviceMemoryInfo& value) { m_memoryInfoHasBeenSet = true; m_memoryInfo = value; }
89 inline void SetMemoryInfo(MediaDeviceMemoryInfo&& value) { m_memoryInfoHasBeenSet = true; m_memoryInfo = std::move(value); }
90 inline MediaDeviceInfo& WithMemoryInfo(const MediaDeviceMemoryInfo& value) { SetMemoryInfo(value); return *this;}
91 inline MediaDeviceInfo& WithMemoryInfo(MediaDeviceMemoryInfo&& value) { SetMemoryInfo(std::move(value)); return *this;}
93 private:
94
95 int m_count;
96 bool m_countHasBeenSet = false;
97
98 Aws::String m_name;
99 bool m_nameHasBeenSet = false;
100
101 Aws::String m_manufacturer;
102 bool m_manufacturerHasBeenSet = false;
103
104 MediaDeviceMemoryInfo m_memoryInfo;
105 bool m_memoryInfoHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace EC2
110} // namespace Aws
MediaDeviceInfo & WithName(const char *value)
void SetMemoryInfo(MediaDeviceMemoryInfo &&value)
MediaDeviceInfo & WithCount(int value)
MediaDeviceInfo & WithManufacturer(const Aws::String &value)
MediaDeviceInfo & WithName(Aws::String &&value)
MediaDeviceInfo & WithMemoryInfo(const MediaDeviceMemoryInfo &value)
MediaDeviceInfo & WithName(const Aws::String &value)
void SetManufacturer(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetName(const Aws::String &value)
const Aws::String & GetManufacturer() const
MediaDeviceInfo & WithManufacturer(const char *value)
MediaDeviceInfo & WithManufacturer(Aws::String &&value)
void SetName(Aws::String &&value)
AWS_EC2_API MediaDeviceInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
const MediaDeviceMemoryInfo & GetMemoryInfo() const
const Aws::String & GetName() const
void SetName(const char *value)
AWS_EC2_API MediaDeviceInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetMemoryInfo(const MediaDeviceMemoryInfo &value)
void SetManufacturer(Aws::String &&value)
MediaDeviceInfo & WithMemoryInfo(MediaDeviceMemoryInfo &&value)
void SetManufacturer(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream