7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/AppSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
31 inline virtual const char*
GetServiceRequestName()
const override {
return "PutGraphqlApiEnvironmentVariables"; }
43 template<
typename ApiIdT = Aws::String>
44 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet =
true; m_apiId = std::forward<ApiIdT>(value); }
45 template<
typename ApiIdT = Aws::String>
69 template<
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
70 void SetEnvironmentVariables(EnvironmentVariablesT&& value) { m_environmentVariablesHasBeenSet =
true; m_environmentVariables = std::forward<EnvironmentVariablesT>(value); }
71 template<
typename EnvironmentVariablesT = Aws::Map<Aws::String, Aws::String>>
73 template<
typename EnvironmentVariablesKeyT = Aws::String,
typename EnvironmentVariablesValueT = Aws::String>
75 m_environmentVariablesHasBeenSet =
true; m_environmentVariables.emplace(std::forward<EnvironmentVariablesKeyT>(key), std::forward<EnvironmentVariablesValueT>(value));
return *
this;
81 bool m_apiIdHasBeenSet =
false;
84 bool m_environmentVariablesHasBeenSet =
false;
AWS_APPSYNC_API PutGraphqlApiEnvironmentVariablesRequest()=default
void SetApiId(ApiIdT &&value)
bool EnvironmentVariablesHasBeenSet() const
const Aws::String & GetApiId() const
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
bool ApiIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetEnvironmentVariables() const
PutGraphqlApiEnvironmentVariablesRequest & AddEnvironmentVariables(EnvironmentVariablesKeyT &&key, EnvironmentVariablesValueT &&value)
virtual const char * GetServiceRequestName() const override
PutGraphqlApiEnvironmentVariablesRequest & WithEnvironmentVariables(EnvironmentVariablesT &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
PutGraphqlApiEnvironmentVariablesRequest & WithApiId(ApiIdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String