AWS SDK for C++
1.8.129
AWS SDK for C++
aws-cpp-sdk-lightsail
include
aws
lightsail
model
ImportKeyPairResult.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/lightsail/Lightsail_EXPORTS.h
>
8
#include <
aws/lightsail/model/Operation.h
>
9
#include <utility>
10
11
namespace
Aws
12
{
13
template
<
typename
RESULT_TYPE>
14
class
AmazonWebServiceResult;
15
16
namespace
Utils
17
{
18
namespace
Json
19
{
20
class
JsonValue;
21
}
// namespace Json
22
}
// namespace Utils
23
namespace
Lightsail
24
{
25
namespace
Model
26
{
27
class
AWS_LIGHTSAIL_API
ImportKeyPairResult
28
{
29
public
:
30
ImportKeyPairResult
();
31
ImportKeyPairResult
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>
& result);
32
ImportKeyPairResult
&
operator=
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>
& result);
33
34
40
inline
const
Operation
&
GetOperation
()
const
{
return
m_operation; }
41
47
inline
void
SetOperation
(
const
Operation
& value) { m_operation = value; }
48
54
inline
void
SetOperation
(
Operation
&& value) { m_operation = std::move(value); }
55
61
inline
ImportKeyPairResult
&
WithOperation
(
const
Operation
& value) { SetOperation(value);
return
*
this
;}
62
68
inline
ImportKeyPairResult
&
WithOperation
(
Operation
&& value) { SetOperation(std::move(value));
return
*
this
;}
69
70
private
:
71
72
Operation
m_operation;
73
};
74
75
}
// namespace Model
76
}
// namespace Lightsail
77
}
// namespace Aws
Aws::AmazonWebServiceResult
Definition:
AmazonWebServiceResult.h:19
Aws::Lightsail::Model::ImportKeyPairResult::ImportKeyPairResult
ImportKeyPairResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::ImportKeyPairResult::SetOperation
void SetOperation(const Operation &value)
Definition:
ImportKeyPairResult.h:47
Aws::Lightsail::Model::Operation
Definition:
Operation.h:37
Aws::Lightsail::Model::ImportKeyPairResult::ImportKeyPairResult
ImportKeyPairResult()
Aws::Lightsail::Model::ImportKeyPairResult
Definition:
ImportKeyPairResult.h:28
Lightsail_EXPORTS.h
Aws::Lightsail::Model::ImportKeyPairResult::operator=
ImportKeyPairResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::ImportKeyPairResult::GetOperation
const Operation & GetOperation() const
Definition:
ImportKeyPairResult.h:40
Aws::Lightsail::Model::ImportKeyPairResult::WithOperation
ImportKeyPairResult & WithOperation(const Operation &value)
Definition:
ImportKeyPairResult.h:61
Aws::Lightsail::Model::ImportKeyPairResult::WithOperation
ImportKeyPairResult & WithOperation(Operation &&value)
Definition:
ImportKeyPairResult.h:68
Aws
Definition:
AccessManagementClient.h:15
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition:
Lightsail_EXPORTS.h:28
Operation.h
Aws::Lightsail::Model::ImportKeyPairResult::SetOperation
void SetOperation(Operation &&value)
Definition:
ImportKeyPairResult.h:54
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences