cpp/example_code/medical-imaging/hello_health_imaging/README.md
This folder provides a CMake "Hello HealthImaging" project that uses the AWS SDK for C++ to call AWS HealthImaging (HealthImaging).
Before using this example, first complete the installation and setup steps for Getting started in the AWS SDK for C++ Developer Guide.
This example uses the CMake build system. For information about the CMake build system, see https://cmake.org/.
Many Integrated Development Environments (IDEs) support CMake. If your preferred IDE supports CMake, follow the IDEs instructions to open this CMake project.
You can also build this project from a command line interface using the following commands.
mkdir build
cd build
cmake --build ..
The built executable is named hello_medical-imaging.
You can run this example with the following AWS Identity and Access Management (IAM) permissions' policy.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "medical-imaging:ListDatastores",
"Resource": "*"
}
]
}
You can also use CMake to generate the input files for your native build system. For more information, see https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html.
The CMakeLists.txt file contains the build settings. If your build is failing (particularly on Windows), you might need to modify this file.
The hello_health_imaging.cpp file contains the C++ source code, including a "main" function.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0