AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeviceOptions.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EC2_API DeviceOptions();
36 AWS_EC2_API DeviceOptions(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_EC2_API DeviceOptions& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetTenantId() const{ return m_tenantId; }
48 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
49 inline void SetTenantId(const Aws::String& value) { m_tenantIdHasBeenSet = true; m_tenantId = value; }
50 inline void SetTenantId(Aws::String&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::move(value); }
51 inline void SetTenantId(const char* value) { m_tenantIdHasBeenSet = true; m_tenantId.assign(value); }
52 inline DeviceOptions& WithTenantId(const Aws::String& value) { SetTenantId(value); return *this;}
53 inline DeviceOptions& WithTenantId(Aws::String&& value) { SetTenantId(std::move(value)); return *this;}
54 inline DeviceOptions& WithTenantId(const char* value) { SetTenantId(value); return *this;}
56
58
62 inline const Aws::String& GetPublicSigningKeyUrl() const{ return m_publicSigningKeyUrl; }
63 inline bool PublicSigningKeyUrlHasBeenSet() const { return m_publicSigningKeyUrlHasBeenSet; }
64 inline void SetPublicSigningKeyUrl(const Aws::String& value) { m_publicSigningKeyUrlHasBeenSet = true; m_publicSigningKeyUrl = value; }
65 inline void SetPublicSigningKeyUrl(Aws::String&& value) { m_publicSigningKeyUrlHasBeenSet = true; m_publicSigningKeyUrl = std::move(value); }
66 inline void SetPublicSigningKeyUrl(const char* value) { m_publicSigningKeyUrlHasBeenSet = true; m_publicSigningKeyUrl.assign(value); }
67 inline DeviceOptions& WithPublicSigningKeyUrl(const Aws::String& value) { SetPublicSigningKeyUrl(value); return *this;}
68 inline DeviceOptions& WithPublicSigningKeyUrl(Aws::String&& value) { SetPublicSigningKeyUrl(std::move(value)); return *this;}
69 inline DeviceOptions& WithPublicSigningKeyUrl(const char* value) { SetPublicSigningKeyUrl(value); return *this;}
71 private:
72
73 Aws::String m_tenantId;
74 bool m_tenantIdHasBeenSet = false;
75
76 Aws::String m_publicSigningKeyUrl;
77 bool m_publicSigningKeyUrlHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace EC2
82} // namespace Aws
AWS_EC2_API DeviceOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PublicSigningKeyUrlHasBeenSet() const
void SetPublicSigningKeyUrl(const char *value)
void SetPublicSigningKeyUrl(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetTenantId() const
void SetTenantId(Aws::String &&value)
void SetTenantId(const char *value)
void SetTenantId(const Aws::String &value)
DeviceOptions & WithTenantId(const char *value)
DeviceOptions & WithPublicSigningKeyUrl(Aws::String &&value)
const Aws::String & GetPublicSigningKeyUrl() const
void SetPublicSigningKeyUrl(Aws::String &&value)
DeviceOptions & WithTenantId(const Aws::String &value)
DeviceOptions & WithPublicSigningKeyUrl(const Aws::String &value)
AWS_EC2_API DeviceOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
DeviceOptions & WithTenantId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DeviceOptions & WithPublicSigningKeyUrl(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream