AWS SDK for C++
1.9.1
AWS SDK for C++
aws-cpp-sdk-ds
include
aws
ds
model
CreateSnapshotResult.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/ds/DirectoryService_EXPORTS.h
>
8
#include <
aws/core/utils/memory/stl/AWSString.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
DirectoryService
24
{
25
namespace
Model
26
{
33
class
AWS_DIRECTORYSERVICE_API
CreateSnapshotResult
34
{
35
public
:
36
CreateSnapshotResult
();
37
CreateSnapshotResult
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>
& result);
38
CreateSnapshotResult
&
operator=
(
const
Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>
& result);
39
40
44
inline
const
Aws::String
&
GetSnapshotId
()
const
{
return
m_snapshotId; }
45
49
inline
void
SetSnapshotId
(
const
Aws::String
& value) { m_snapshotId = value; }
50
54
inline
void
SetSnapshotId
(
Aws::String
&& value) { m_snapshotId = std::move(value); }
55
59
inline
void
SetSnapshotId
(
const
char
* value) { m_snapshotId.assign(value); }
60
64
inline
CreateSnapshotResult
&
WithSnapshotId
(
const
Aws::String
& value) { SetSnapshotId(value);
return
*
this
;}
65
69
inline
CreateSnapshotResult
&
WithSnapshotId
(
Aws::String
&& value) { SetSnapshotId(std::move(value));
return
*
this
;}
70
74
inline
CreateSnapshotResult
&
WithSnapshotId
(
const
char
* value) { SetSnapshotId(value);
return
*
this
;}
75
76
private
:
77
78
Aws::String
m_snapshotId;
79
};
80
81
}
// namespace Model
82
}
// namespace DirectoryService
83
}
// namespace Aws
Aws::AmazonWebServiceResult
Definition:
AmazonWebServiceResult.h:19
Aws::DirectoryService::Model::CreateSnapshotResult::GetSnapshotId
const Aws::String & GetSnapshotId() const
Definition:
CreateSnapshotResult.h:44
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition:
DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::CreateSnapshotResult::SetSnapshotId
void SetSnapshotId(const char *value)
Definition:
CreateSnapshotResult.h:59
Aws::DirectoryService::Model::CreateSnapshotResult::WithSnapshotId
CreateSnapshotResult & WithSnapshotId(const char *value)
Definition:
CreateSnapshotResult.h:74
Aws::DirectoryService::Model::CreateSnapshotResult::WithSnapshotId
CreateSnapshotResult & WithSnapshotId(const Aws::String &value)
Definition:
CreateSnapshotResult.h:64
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::CreateSnapshotResult::CreateSnapshotResult
CreateSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::CreateSnapshotResult::SetSnapshotId
void SetSnapshotId(const Aws::String &value)
Definition:
CreateSnapshotResult.h:49
Aws::DirectoryService::Model::CreateSnapshotResult::CreateSnapshotResult
CreateSnapshotResult()
Aws::DirectoryService::Model::CreateSnapshotResult::operator=
CreateSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::DirectoryService::Model::CreateSnapshotResult
Definition:
CreateSnapshotResult.h:34
Aws
Definition:
AccessManagementClient.h:15
Aws::DirectoryService::Model::CreateSnapshotResult::SetSnapshotId
void SetSnapshotId(Aws::String &&value)
Definition:
CreateSnapshotResult.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition:
AWSString.h:97
Aws::DirectoryService::Model::CreateSnapshotResult::WithSnapshotId
CreateSnapshotResult & WithSnapshotId(Aws::String &&value)
Definition:
CreateSnapshotResult.h:69
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences