AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteKeyPairResponse.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/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
29 {
30 public:
31 AWS_EC2_API DeleteKeyPairResponse();
34
35
37
40 inline bool GetReturn() const{ return m_return; }
41 inline void SetReturn(bool value) { m_return = value; }
42 inline DeleteKeyPairResponse& WithReturn(bool value) { SetReturn(value); return *this;}
44
46
49 inline const Aws::String& GetKeyPairId() const{ return m_keyPairId; }
50 inline void SetKeyPairId(const Aws::String& value) { m_keyPairId = value; }
51 inline void SetKeyPairId(Aws::String&& value) { m_keyPairId = std::move(value); }
52 inline void SetKeyPairId(const char* value) { m_keyPairId.assign(value); }
53 inline DeleteKeyPairResponse& WithKeyPairId(const Aws::String& value) { SetKeyPairId(value); return *this;}
54 inline DeleteKeyPairResponse& WithKeyPairId(Aws::String&& value) { SetKeyPairId(std::move(value)); return *this;}
55 inline DeleteKeyPairResponse& WithKeyPairId(const char* value) { SetKeyPairId(value); return *this;}
57
59
60 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
61 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
62 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
64 inline DeleteKeyPairResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
66 private:
67
68 bool m_return;
69
70 Aws::String m_keyPairId;
71
72 ResponseMetadata m_responseMetadata;
73 };
74
75} // namespace Model
76} // namespace EC2
77} // namespace Aws
DeleteKeyPairResponse & WithReturn(bool value)
void SetKeyPairId(const Aws::String &value)
const ResponseMetadata & GetResponseMetadata() const
AWS_EC2_API DeleteKeyPairResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteKeyPairResponse & WithKeyPairId(const Aws::String &value)
DeleteKeyPairResponse & WithKeyPairId(const char *value)
void SetResponseMetadata(ResponseMetadata &&value)
void SetResponseMetadata(const ResponseMetadata &value)
AWS_EC2_API DeleteKeyPairResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteKeyPairResponse & WithResponseMetadata(const ResponseMetadata &value)
DeleteKeyPairResponse & WithResponseMetadata(ResponseMetadata &&value)
DeleteKeyPairResponse & WithKeyPairId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument