AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NitroTpmInfo.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/AWSVector.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 NitroTpmInfo();
37 AWS_EC2_API NitroTpmInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_EC2_API NitroTpmInfo& operator=(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::Vector<Aws::String>& GetSupportedVersions() const{ return m_supportedVersions; }
49 inline bool SupportedVersionsHasBeenSet() const { return m_supportedVersionsHasBeenSet; }
50 inline void SetSupportedVersions(const Aws::Vector<Aws::String>& value) { m_supportedVersionsHasBeenSet = true; m_supportedVersions = value; }
51 inline void SetSupportedVersions(Aws::Vector<Aws::String>&& value) { m_supportedVersionsHasBeenSet = true; m_supportedVersions = std::move(value); }
53 inline NitroTpmInfo& WithSupportedVersions(Aws::Vector<Aws::String>&& value) { SetSupportedVersions(std::move(value)); return *this;}
54 inline NitroTpmInfo& AddSupportedVersions(const Aws::String& value) { m_supportedVersionsHasBeenSet = true; m_supportedVersions.push_back(value); return *this; }
55 inline NitroTpmInfo& AddSupportedVersions(Aws::String&& value) { m_supportedVersionsHasBeenSet = true; m_supportedVersions.push_back(std::move(value)); return *this; }
56 inline NitroTpmInfo& AddSupportedVersions(const char* value) { m_supportedVersionsHasBeenSet = true; m_supportedVersions.push_back(value); return *this; }
58 private:
59
60 Aws::Vector<Aws::String> m_supportedVersions;
61 bool m_supportedVersionsHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace EC2
66} // namespace Aws
NitroTpmInfo & WithSupportedVersions(const Aws::Vector< Aws::String > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API NitroTpmInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Aws::String > & GetSupportedVersions() const
void SetSupportedVersions(const Aws::Vector< Aws::String > &value)
NitroTpmInfo & AddSupportedVersions(const char *value)
void SetSupportedVersions(Aws::Vector< Aws::String > &&value)
NitroTpmInfo & AddSupportedVersions(const Aws::String &value)
AWS_EC2_API NitroTpmInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool SupportedVersionsHasBeenSet() const
NitroTpmInfo & WithSupportedVersions(Aws::Vector< Aws::String > &&value)
NitroTpmInfo & AddSupportedVersions(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream