AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetInstanceTpmEkPubResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/EkPubKeyType.h>
10#include <aws/ec2/model/EkPubKeyFormat.h>
11#include <aws/ec2/model/ResponseMetadata.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace EC2
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
43 inline void SetInstanceId(const Aws::String& value) { m_instanceId = value; }
44 inline void SetInstanceId(Aws::String&& value) { m_instanceId = std::move(value); }
45 inline void SetInstanceId(const char* value) { m_instanceId.assign(value); }
46 inline GetInstanceTpmEkPubResponse& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
47 inline GetInstanceTpmEkPubResponse& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
48 inline GetInstanceTpmEkPubResponse& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
50
52
55 inline const EkPubKeyType& GetKeyType() const{ return m_keyType; }
56 inline void SetKeyType(const EkPubKeyType& value) { m_keyType = value; }
57 inline void SetKeyType(EkPubKeyType&& value) { m_keyType = std::move(value); }
58 inline GetInstanceTpmEkPubResponse& WithKeyType(const EkPubKeyType& value) { SetKeyType(value); return *this;}
59 inline GetInstanceTpmEkPubResponse& WithKeyType(EkPubKeyType&& value) { SetKeyType(std::move(value)); return *this;}
61
63
66 inline const EkPubKeyFormat& GetKeyFormat() const{ return m_keyFormat; }
67 inline void SetKeyFormat(const EkPubKeyFormat& value) { m_keyFormat = value; }
68 inline void SetKeyFormat(EkPubKeyFormat&& value) { m_keyFormat = std::move(value); }
69 inline GetInstanceTpmEkPubResponse& WithKeyFormat(const EkPubKeyFormat& value) { SetKeyFormat(value); return *this;}
70 inline GetInstanceTpmEkPubResponse& WithKeyFormat(EkPubKeyFormat&& value) { SetKeyFormat(std::move(value)); return *this;}
72
74
77 inline const Aws::String& GetKeyValue() const{ return m_keyValue; }
78 inline void SetKeyValue(const Aws::String& value) { m_keyValue = value; }
79 inline void SetKeyValue(Aws::String&& value) { m_keyValue = std::move(value); }
80 inline void SetKeyValue(const char* value) { m_keyValue.assign(value); }
81 inline GetInstanceTpmEkPubResponse& WithKeyValue(const Aws::String& value) { SetKeyValue(value); return *this;}
82 inline GetInstanceTpmEkPubResponse& WithKeyValue(Aws::String&& value) { SetKeyValue(std::move(value)); return *this;}
83 inline GetInstanceTpmEkPubResponse& WithKeyValue(const char* value) { SetKeyValue(value); return *this;}
85
87
88 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
89 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
90 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
92 inline GetInstanceTpmEkPubResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_instanceId;
97
98 EkPubKeyType m_keyType;
99
100 EkPubKeyFormat m_keyFormat;
101
102 Aws::String m_keyValue;
103
104 ResponseMetadata m_responseMetadata;
105 };
106
107} // namespace Model
108} // namespace EC2
109} // namespace Aws
GetInstanceTpmEkPubResponse & WithKeyType(const EkPubKeyType &value)
void SetResponseMetadata(const ResponseMetadata &value)
AWS_EC2_API GetInstanceTpmEkPubResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetInstanceTpmEkPubResponse & WithInstanceId(const char *value)
GetInstanceTpmEkPubResponse & WithKeyFormat(EkPubKeyFormat &&value)
AWS_EC2_API GetInstanceTpmEkPubResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetInstanceTpmEkPubResponse & WithKeyValue(const char *value)
GetInstanceTpmEkPubResponse & WithInstanceId(const Aws::String &value)
GetInstanceTpmEkPubResponse & WithKeyValue(Aws::String &&value)
GetInstanceTpmEkPubResponse & WithInstanceId(Aws::String &&value)
GetInstanceTpmEkPubResponse & WithKeyValue(const Aws::String &value)
GetInstanceTpmEkPubResponse & WithKeyFormat(const EkPubKeyFormat &value)
GetInstanceTpmEkPubResponse & WithResponseMetadata(const ResponseMetadata &value)
GetInstanceTpmEkPubResponse & WithResponseMetadata(ResponseMetadata &&value)
GetInstanceTpmEkPubResponse & WithKeyType(EkPubKeyType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument