Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tuts/001-lightsail-gs/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cmake_minimum_required(VERSION 3.13)
project(tutorial-lightsail)
find_package(AWSSDK REQUIRED COMPONENTS lightsail)
add_executable(scenario getting_started_scenario.cpp lightsail_wrapper.cpp)
target_link_libraries(scenario ${AWSSDK_LINK_LIBRARIES})
19 changes: 19 additions & 0 deletions tuts/001-lightsail-gs/cpp/getting_started_scenario.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include <aws/core/Aws.h>
#include <aws/lightsail/LightsailClient.h>
#include "lightsail_wrapper.h"
#include <iostream>

int main(int argc, char *argv[]) {
Aws::SDKOptions options;
Aws::InitAPI(options);
{
Aws::Lightsail::LightsailClient client;
std::cout << "Running Lightsail getting started scenario..." << std::endl;
// TODO: setup, interact, teardown
}
Aws::ShutdownAPI(options);
return 0;
}
10 changes: 10 additions & 0 deletions tuts/001-lightsail-gs/cpp/lightsail_wrapper.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include "lightsail_wrapper.h"
#include <iostream>

bool placeholder(const Aws::Lightsail::LightsailClient &client) {
// TODO: Implement
return true;
}
9 changes: 9 additions & 0 deletions tuts/001-lightsail-gs/cpp/lightsail_wrapper.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#pragma once
#include <aws/lightsail/LightsailClient.h>
#include <string>

bool placeholder(const Aws::Lightsail::LightsailClient &client);
// TODO: Add wrapper function declarations matching CLI tutorial actions
5 changes: 5 additions & 0 deletions tuts/002-vpc-gs/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cmake_minimum_required(VERSION 3.13)
project(tutorial-ec2)
find_package(AWSSDK REQUIRED COMPONENTS ec2)
add_executable(scenario getting_started_scenario.cpp ec2_wrapper.cpp)
target_link_libraries(scenario ${AWSSDK_LINK_LIBRARIES})
10 changes: 10 additions & 0 deletions tuts/002-vpc-gs/cpp/ec2_wrapper.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include "ec2_wrapper.h"
#include <iostream>

bool placeholder(const Aws::Ec2::Ec2Client &client) {
// TODO: Implement
return true;
}
9 changes: 9 additions & 0 deletions tuts/002-vpc-gs/cpp/ec2_wrapper.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#pragma once
#include <aws/ec2/Ec2Client.h>
#include <string>

bool placeholder(const Aws::Ec2::Ec2Client &client);
// TODO: Add wrapper function declarations matching CLI tutorial actions
19 changes: 19 additions & 0 deletions tuts/002-vpc-gs/cpp/getting_started_scenario.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include <aws/core/Aws.h>
#include <aws/ec2/Ec2Client.h>
#include "ec2_wrapper.h"
#include <iostream>

int main(int argc, char *argv[]) {
Aws::SDKOptions options;
Aws::InitAPI(options);
{
Aws::Ec2::Ec2Client client;
std::cout << "Running Ec2 getting started scenario..." << std::endl;
// TODO: setup, interact, teardown
}
Aws::ShutdownAPI(options);
return 0;
}
5 changes: 5 additions & 0 deletions tuts/003-s3-gettingstarted/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cmake_minimum_required(VERSION 3.13)
project(tutorial-s3)
find_package(AWSSDK REQUIRED COMPONENTS s3)
add_executable(scenario getting_started_scenario.cpp s3_wrapper.cpp)
target_link_libraries(scenario ${AWSSDK_LINK_LIBRARIES})
19 changes: 19 additions & 0 deletions tuts/003-s3-gettingstarted/cpp/getting_started_scenario.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include <aws/core/Aws.h>
#include <aws/s3/S3Client.h>
#include "s3_wrapper.h"
#include <iostream>

int main(int argc, char *argv[]) {
Aws::SDKOptions options;
Aws::InitAPI(options);
{
Aws::S3::S3Client client;
std::cout << "Running S3 getting started scenario..." << std::endl;
// TODO: setup, interact, teardown
}
Aws::ShutdownAPI(options);
return 0;
}
10 changes: 10 additions & 0 deletions tuts/003-s3-gettingstarted/cpp/s3_wrapper.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include "s3_wrapper.h"
#include <iostream>

bool placeholder(const Aws::S3::S3Client &client) {
// TODO: Implement
return true;
}
9 changes: 9 additions & 0 deletions tuts/003-s3-gettingstarted/cpp/s3_wrapper.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#pragma once
#include <aws/s3/S3Client.h>
#include <string>

bool placeholder(const Aws::S3::S3Client &client);
// TODO: Add wrapper function declarations matching CLI tutorial actions
5 changes: 5 additions & 0 deletions tuts/004-cloudmap-custom-attributes/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cmake_minimum_required(VERSION 3.13)
project(tutorial-servicediscovery)
find_package(AWSSDK REQUIRED COMPONENTS servicediscovery)
add_executable(scenario getting_started_scenario.cpp servicediscovery_wrapper.cpp)
target_link_libraries(scenario ${AWSSDK_LINK_LIBRARIES})
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include <aws/core/Aws.h>
#include <aws/servicediscovery/CloudMapClient.h>
#include "servicediscovery_wrapper.h"
#include <iostream>

int main(int argc, char *argv[]) {
Aws::SDKOptions options;
Aws::InitAPI(options);
{
Aws::CloudMap::CloudMapClient client;
std::cout << "Running CloudMap getting started scenario..." << std::endl;
// TODO: setup, interact, teardown
}
Aws::ShutdownAPI(options);
return 0;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include "servicediscovery_wrapper.h"
#include <iostream>

bool placeholder(const Aws::CloudMap::CloudMapClient &client) {
// TODO: Implement
return true;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#pragma once
#include <aws/servicediscovery/CloudMapClient.h>
#include <string>

bool placeholder(const Aws::CloudMap::CloudMapClient &client);
// TODO: Add wrapper function declarations matching CLI tutorial actions
5 changes: 5 additions & 0 deletions tuts/005-cloudfront-gettingstarted/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cmake_minimum_required(VERSION 3.13)
project(tutorial-cloudfront)
find_package(AWSSDK REQUIRED COMPONENTS cloudfront)
add_executable(scenario getting_started_scenario.cpp cloudfront_wrapper.cpp)
target_link_libraries(scenario ${AWSSDK_LINK_LIBRARIES})
10 changes: 10 additions & 0 deletions tuts/005-cloudfront-gettingstarted/cpp/cloudfront_wrapper.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include "cloudfront_wrapper.h"
#include <iostream>

bool placeholder(const Aws::CloudFront::CloudFrontClient &client) {
// TODO: Implement
return true;
}
9 changes: 9 additions & 0 deletions tuts/005-cloudfront-gettingstarted/cpp/cloudfront_wrapper.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#pragma once
#include <aws/cloudfront/CloudFrontClient.h>
#include <string>

bool placeholder(const Aws::CloudFront::CloudFrontClient &client);
// TODO: Add wrapper function declarations matching CLI tutorial actions
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include <aws/core/Aws.h>
#include <aws/cloudfront/CloudFrontClient.h>
#include "cloudfront_wrapper.h"
#include <iostream>

int main(int argc, char *argv[]) {
Aws::SDKOptions options;
Aws::InitAPI(options);
{
Aws::CloudFront::CloudFrontClient client;
std::cout << "Running CloudFront getting started scenario..." << std::endl;
// TODO: setup, interact, teardown
}
Aws::ShutdownAPI(options);
return 0;
}
5 changes: 5 additions & 0 deletions tuts/008-vpc-private-servers-gs/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cmake_minimum_required(VERSION 3.13)
project(tutorial-ec2)
find_package(AWSSDK REQUIRED COMPONENTS ec2)
add_executable(scenario getting_started_scenario.cpp ec2_wrapper.cpp)
target_link_libraries(scenario ${AWSSDK_LINK_LIBRARIES})
10 changes: 10 additions & 0 deletions tuts/008-vpc-private-servers-gs/cpp/ec2_wrapper.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include "ec2_wrapper.h"
#include <iostream>

bool placeholder(const Aws::Ec2::Ec2Client &client) {
// TODO: Implement
return true;
}
9 changes: 9 additions & 0 deletions tuts/008-vpc-private-servers-gs/cpp/ec2_wrapper.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#pragma once
#include <aws/ec2/Ec2Client.h>
#include <string>

bool placeholder(const Aws::Ec2::Ec2Client &client);
// TODO: Add wrapper function declarations matching CLI tutorial actions
19 changes: 19 additions & 0 deletions tuts/008-vpc-private-servers-gs/cpp/getting_started_scenario.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include <aws/core/Aws.h>
#include <aws/ec2/Ec2Client.h>
#include "ec2_wrapper.h"
#include <iostream>

int main(int argc, char *argv[]) {
Aws::SDKOptions options;
Aws::InitAPI(options);
{
Aws::Ec2::Ec2Client client;
std::cout << "Running Ec2 getting started scenario..." << std::endl;
// TODO: setup, interact, teardown
}
Aws::ShutdownAPI(options);
return 0;
}
5 changes: 5 additions & 0 deletions tuts/009-vpc-ipam-gs/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cmake_minimum_required(VERSION 3.13)
project(tutorial-ec2)
find_package(AWSSDK REQUIRED COMPONENTS ec2)
add_executable(scenario getting_started_scenario.cpp ec2_wrapper.cpp)
target_link_libraries(scenario ${AWSSDK_LINK_LIBRARIES})
10 changes: 10 additions & 0 deletions tuts/009-vpc-ipam-gs/cpp/ec2_wrapper.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include "ec2_wrapper.h"
#include <iostream>

bool placeholder(const Aws::Ec2::Ec2Client &client) {
// TODO: Implement
return true;
}
9 changes: 9 additions & 0 deletions tuts/009-vpc-ipam-gs/cpp/ec2_wrapper.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#pragma once
#include <aws/ec2/Ec2Client.h>
#include <string>

bool placeholder(const Aws::Ec2::Ec2Client &client);
// TODO: Add wrapper function declarations matching CLI tutorial actions
19 changes: 19 additions & 0 deletions tuts/009-vpc-ipam-gs/cpp/getting_started_scenario.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include <aws/core/Aws.h>
#include <aws/ec2/Ec2Client.h>
#include "ec2_wrapper.h"
#include <iostream>

int main(int argc, char *argv[]) {
Aws::SDKOptions options;
Aws::InitAPI(options);
{
Aws::Ec2::Ec2Client client;
std::cout << "Running Ec2 getting started scenario..." << std::endl;
// TODO: setup, interact, teardown
}
Aws::ShutdownAPI(options);
return 0;
}
5 changes: 5 additions & 0 deletions tuts/010-cloudmap-service-discovery/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cmake_minimum_required(VERSION 3.13)
project(tutorial-servicediscovery)
find_package(AWSSDK REQUIRED COMPONENTS servicediscovery)
add_executable(scenario getting_started_scenario.cpp servicediscovery_wrapper.cpp)
target_link_libraries(scenario ${AWSSDK_LINK_LIBRARIES})
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include <aws/core/Aws.h>
#include <aws/servicediscovery/CloudMapClient.h>
#include "servicediscovery_wrapper.h"
#include <iostream>

int main(int argc, char *argv[]) {
Aws::SDKOptions options;
Aws::InitAPI(options);
{
Aws::CloudMap::CloudMapClient client;
std::cout << "Running CloudMap getting started scenario..." << std::endl;
// TODO: setup, interact, teardown
}
Aws::ShutdownAPI(options);
return 0;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include "servicediscovery_wrapper.h"
#include <iostream>

bool placeholder(const Aws::CloudMap::CloudMapClient &client) {
// TODO: Implement
return true;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#pragma once
#include <aws/servicediscovery/CloudMapClient.h>
#include <string>

bool placeholder(const Aws::CloudMap::CloudMapClient &client);
// TODO: Add wrapper function declarations matching CLI tutorial actions
5 changes: 5 additions & 0 deletions tuts/011-getting-started-batch-fargate/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cmake_minimum_required(VERSION 3.13)
project(tutorial-batch)
find_package(AWSSDK REQUIRED COMPONENTS batch)
add_executable(scenario getting_started_scenario.cpp batch_wrapper.cpp)
target_link_libraries(scenario ${AWSSDK_LINK_LIBRARIES})
10 changes: 10 additions & 0 deletions tuts/011-getting-started-batch-fargate/cpp/batch_wrapper.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include "batch_wrapper.h"
#include <iostream>

bool placeholder(const Aws::Batch::BatchClient &client) {
// TODO: Implement
return true;
}
Loading
Loading