Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Smithy Json #3330

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@
#pragma once
#include <aws/AWSMigrationHub/MigrationHub_EXPORTS.h>
#include <aws/core/client/ClientConfiguration.h>
#include <aws/core/client/AWSClient.h>
#include <aws/core/client/AWSClientAsyncCRTP.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/AWSMigrationHub/MigrationHubServiceClientModel.h>
#include <smithy/client/AwsSmithyClient.h>
#include <smithy/identity/auth/built-in/SigV4AuthSchemeResolver.h>
#include <smithy/identity/auth/built-in/SigV4AuthScheme.h>
#include <smithy/client/serializer/JsonOutcomeSerializer.h>
#include <aws/AWSMigrationHub/MigrationHubErrorMarshaller.h>

namespace Aws
{
namespace MigrationHub
{
AWS_MIGRATIONHUB_API extern const char SERVICE_NAME[];
/**
* <p>The AWS Migration Hub API methods help to obtain server and application
* migration status and integrate your resource-specific migration tool by
Expand All @@ -23,12 +27,20 @@ namespace MigrationHub
* or a <code>HomeRegionNotSetException</code> error will be returned. Also, you
* must make the API calls while in your home region.</p>
*/
class AWS_MIGRATIONHUB_API MigrationHubClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<MigrationHubClient>
class AWS_MIGRATIONHUB_API MigrationHubClient : Aws::Client::ClientWithAsyncTemplateMethods<MigrationHubClient>,
smithy::client::AwsSmithyClientT<Aws::MigrationHub::SERVICE_NAME,
Aws::MigrationHub::MigrationHubClientConfiguration,
smithy::SigV4AuthSchemeResolver<>,
Aws::Crt::Variant<smithy::SigV4AuthScheme>,
MigrationHubEndpointProviderBase,
smithy::client::JsonOutcomeSerializer,
smithy::client::JsonOutcome,
Aws::Client::MigrationHubErrorMarshaller>
{
public:
typedef Aws::Client::AWSJsonClient BASECLASS;
static const char* GetServiceName();
static const char* GetAllocationTag();
inline const char* GetServiceClientName() const override { return "Migration Hub"; }

typedef MigrationHubClientConfiguration ClientConfigurationType;
typedef MigrationHubEndpointProvider EndpointProviderType;
Expand Down Expand Up @@ -704,10 +716,7 @@ namespace MigrationHub
std::shared_ptr<MigrationHubEndpointProviderBase>& accessEndpointProvider();
private:
friend class Aws::Client::ClientWithAsyncTemplateMethods<MigrationHubClient>;
void init(const MigrationHubClientConfiguration& clientConfiguration);

MigrationHubClientConfiguration m_clientConfiguration;
std::shared_ptr<MigrationHubEndpointProviderBase> m_endpointProvider;
};

} // namespace MigrationHub
Expand Down
520 changes: 211 additions & 309 deletions generated/src/aws-cpp-sdk-AWSMigrationHub/source/MigrationHubClient.cpp

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@
#pragma once
#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
#include <aws/core/client/ClientConfiguration.h>
#include <aws/core/client/AWSClient.h>
#include <aws/core/client/AWSClientAsyncCRTP.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/accessanalyzer/AccessAnalyzerServiceClientModel.h>
#include <smithy/client/AwsSmithyClient.h>
#include <smithy/identity/auth/built-in/SigV4AuthSchemeResolver.h>
#include <smithy/identity/auth/built-in/SigV4AuthScheme.h>
#include <smithy/client/serializer/JsonOutcomeSerializer.h>
#include <aws/accessanalyzer/AccessAnalyzerErrorMarshaller.h>

namespace Aws
{
namespace AccessAnalyzer
{
AWS_ACCESSANALYZER_API extern const char SERVICE_NAME[];
/**
* <p>Identity and Access Management Access Analyzer helps you to set, verify, and
* refine your IAM policies by providing a suite of capabilities. Its features
Expand Down Expand Up @@ -42,12 +46,20 @@ namespace AccessAnalyzer
* href="https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html">Identity
* and Access Management Access Analyzer</a> in the <b>IAM User Guide</b>.</p>
*/
class AWS_ACCESSANALYZER_API AccessAnalyzerClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<AccessAnalyzerClient>
class AWS_ACCESSANALYZER_API AccessAnalyzerClient : Aws::Client::ClientWithAsyncTemplateMethods<AccessAnalyzerClient>,
smithy::client::AwsSmithyClientT<Aws::AccessAnalyzer::SERVICE_NAME,
Aws::AccessAnalyzer::AccessAnalyzerClientConfiguration,
smithy::SigV4AuthSchemeResolver<>,
Aws::Crt::Variant<smithy::SigV4AuthScheme>,
AccessAnalyzerEndpointProviderBase,
smithy::client::JsonOutcomeSerializer,
smithy::client::JsonOutcome,
Aws::Client::AccessAnalyzerErrorMarshaller>
{
public:
typedef Aws::Client::AWSJsonClient BASECLASS;
static const char* GetServiceName();
static const char* GetAllocationTag();
inline const char* GetServiceClientName() const override { return "AccessAnalyzer"; }

typedef AccessAnalyzerClientConfiguration ClientConfigurationType;
typedef AccessAnalyzerEndpointProvider EndpointProviderType;
Expand Down Expand Up @@ -1098,10 +1110,7 @@ namespace AccessAnalyzer
std::shared_ptr<AccessAnalyzerEndpointProviderBase>& accessEndpointProvider();
private:
friend class Aws::Client::ClientWithAsyncTemplateMethods<AccessAnalyzerClient>;
void init(const AccessAnalyzerClientConfiguration& clientConfiguration);

AccessAnalyzerClientConfiguration m_clientConfiguration;
std::shared_ptr<AccessAnalyzerEndpointProviderBase> m_endpointProvider;
};

} // namespace AccessAnalyzer
Expand Down
Loading