Hazelcast C++ Client
Hazelcast C++ Client Library
Loading...
Searching...
No Matches
cloud_utility.h
1
/*
2
* Copyright (c) 2008-2025, Hazelcast, Inc. All Rights Reserved.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
#pragma once
17
18
#include <string>
19
#include <unordered_map>
20
#include <boost/property_tree/ptree.hpp>
21
22
#include "hazelcast/util/export.h"
23
24
#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
25
#pragma warning(push)
26
#pragma warning(disable : 4251)
// for dll export
27
#endif
28
29
namespace
pt = boost::property_tree;
30
31
namespace
hazelcast {
32
class
logger
;
33
34
namespace
client {
35
namespace
config {
36
class
client_aws_config
;
37
}
38
namespace
aws {
39
namespace
utility {
40
class
HAZELCAST_API
cloud_utility
41
{
42
public
:
54
static
std::unordered_map<std::string, std::string>
unmarshal_the_response
(
55
std::istream& stream,
56
logger
& lg);
57
58
static
void
unmarshal_json_response(
59
std::istream& stream,
60
config::client_aws_config
& aws_config,
61
std::unordered_map<std::string, std::string>& attributes);
62
};
63
}
// namespace utility
64
}
// namespace aws
65
}
// namespace client
66
}
// namespace hazelcast
67
68
#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
69
#pragma warning(pop)
70
#endif
hazelcast::client::aws::utility::cloud_utility
Definition
cloud_utility.h:41
hazelcast::client::aws::utility::cloud_utility::unmarshal_the_response
static std::unordered_map< std::string, std::string > unmarshal_the_response(std::istream &stream, logger &lg)
Unmarshal the response from DescribeInstances and return the discovered node map.
hazelcast::client::config::client_aws_config
The client_aws_config contains the configuration for client to connect to nodes in aws environment.
Definition
client_aws_config.h:54
hazelcast::logger
Definition
logger.h:27
hazelcast
include
hazelcast
client
aws
utility
cloud_utility.h
Generated on
for Hazelcast C++ Client by
1.14.0