7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/emr-containers/EMRContainersRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/UUID.h>
15namespace EMRContainers
31 inline virtual const char*
GetServiceRequestName()
const override {
return "GetManagedEndpointSessionCredentials"; }
44 inline void SetEndpointIdentifier(
const char* value) { m_endpointIdentifierHasBeenSet =
true; m_endpointIdentifier.assign(value); }
58 inline void SetVirtualClusterIdentifier(
const char* value) { m_virtualClusterIdentifierHasBeenSet =
true; m_virtualClusterIdentifier.assign(value); }
72 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
87 inline void SetCredentialType(
const char* value) { m_credentialTypeHasBeenSet =
true; m_credentialType.assign(value); }
100 inline void SetDurationInSeconds(
int value) { m_durationInSecondsHasBeenSet =
true; m_durationInSeconds = value; }
113 inline void SetLogContext(
const char* value) { m_logContextHasBeenSet =
true; m_logContext.assign(value); }
127 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
135 bool m_endpointIdentifierHasBeenSet =
false;
138 bool m_virtualClusterIdentifierHasBeenSet =
false;
141 bool m_executionRoleArnHasBeenSet =
false;
144 bool m_credentialTypeHasBeenSet =
false;
146 int m_durationInSeconds;
147 bool m_durationInSecondsHasBeenSet =
false;
150 bool m_logContextHasBeenSet =
false;
153 bool m_clientTokenHasBeenSet =
false;
GetManagedEndpointSessionCredentialsRequest & WithClientToken(const char *value)
GetManagedEndpointSessionCredentialsRequest & WithClientToken(Aws::String &&value)
GetManagedEndpointSessionCredentialsRequest & WithCredentialType(const Aws::String &value)
bool ClientTokenHasBeenSet() const
bool EndpointIdentifierHasBeenSet() const
void SetLogContext(const Aws::String &value)
GetManagedEndpointSessionCredentialsRequest & WithDurationInSeconds(int value)
void SetClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetManagedEndpointSessionCredentialsRequest & WithCredentialType(Aws::String &&value)
const Aws::String & GetEndpointIdentifier() const
void SetEndpointIdentifier(Aws::String &&value)
bool LogContextHasBeenSet() const
GetManagedEndpointSessionCredentialsRequest & WithExecutionRoleArn(Aws::String &&value)
void SetLogContext(Aws::String &&value)
GetManagedEndpointSessionCredentialsRequest & WithExecutionRoleArn(const Aws::String &value)
AWS_EMRCONTAINERS_API GetManagedEndpointSessionCredentialsRequest()
bool CredentialTypeHasBeenSet() const
AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override
GetManagedEndpointSessionCredentialsRequest & WithEndpointIdentifier(const char *value)
GetManagedEndpointSessionCredentialsRequest & WithExecutionRoleArn(const char *value)
void SetLogContext(const char *value)
bool ExecutionRoleArnHasBeenSet() const
void SetEndpointIdentifier(const Aws::String &value)
GetManagedEndpointSessionCredentialsRequest & WithVirtualClusterIdentifier(const Aws::String &value)
GetManagedEndpointSessionCredentialsRequest & WithVirtualClusterIdentifier(const char *value)
void SetDurationInSeconds(int value)
GetManagedEndpointSessionCredentialsRequest & WithLogContext(const Aws::String &value)
const Aws::String & GetCredentialType() const
bool DurationInSecondsHasBeenSet() const
void SetCredentialType(Aws::String &&value)
int GetDurationInSeconds() const
void SetVirtualClusterIdentifier(const Aws::String &value)
GetManagedEndpointSessionCredentialsRequest & WithLogContext(const char *value)
void SetExecutionRoleArn(Aws::String &&value)
GetManagedEndpointSessionCredentialsRequest & WithLogContext(Aws::String &&value)
void SetVirtualClusterIdentifier(Aws::String &&value)
void SetClientToken(Aws::String &&value)
const Aws::String & GetExecutionRoleArn() const
const Aws::String & GetVirtualClusterIdentifier() const
const Aws::String & GetClientToken() const
GetManagedEndpointSessionCredentialsRequest & WithCredentialType(const char *value)
void SetVirtualClusterIdentifier(const char *value)
const Aws::String & GetLogContext() const
void SetExecutionRoleArn(const Aws::String &value)
void SetCredentialType(const char *value)
void SetCredentialType(const Aws::String &value)
void SetClientToken(const char *value)
GetManagedEndpointSessionCredentialsRequest & WithClientToken(const Aws::String &value)
GetManagedEndpointSessionCredentialsRequest & WithEndpointIdentifier(const Aws::String &value)
GetManagedEndpointSessionCredentialsRequest & WithVirtualClusterIdentifier(Aws::String &&value)
void SetExecutionRoleArn(const char *value)
void SetEndpointIdentifier(const char *value)
GetManagedEndpointSessionCredentialsRequest & WithEndpointIdentifier(Aws::String &&value)
bool VirtualClusterIdentifierHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String