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"; }
42 template<
typename Endpo
intIdentifierT = Aws::String>
43 void SetEndpointIdentifier(EndpointIdentifierT&& value) { m_endpointIdentifierHasBeenSet =
true; m_endpointIdentifier = std::forward<EndpointIdentifierT>(value); }
44 template<
typename Endpo
intIdentifierT = Aws::String>
54 template<
typename VirtualClusterIdentifierT = Aws::String>
55 void SetVirtualClusterIdentifier(VirtualClusterIdentifierT&& value) { m_virtualClusterIdentifierHasBeenSet =
true; m_virtualClusterIdentifier = std::forward<VirtualClusterIdentifierT>(value); }
56 template<
typename VirtualClusterIdentifierT = Aws::String>
66 template<
typename ExecutionRoleArnT = Aws::String>
67 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
68 template<
typename ExecutionRoleArnT = Aws::String>
79 template<
typename CredentialTypeT = Aws::String>
80 void SetCredentialType(CredentialTypeT&& value) { m_credentialTypeHasBeenSet =
true; m_credentialType = std::forward<CredentialTypeT>(value); }
81 template<
typename CredentialTypeT = Aws::String>
92 inline void SetDurationInSeconds(
int value) { m_durationInSecondsHasBeenSet =
true; m_durationInSeconds = value; }
103 template<
typename LogContextT = Aws::String>
104 void SetLogContext(LogContextT&& value) { m_logContextHasBeenSet =
true; m_logContext = std::forward<LogContextT>(value); }
105 template<
typename LogContextT = Aws::String>
115 template<
typename ClientTokenT = Aws::String>
116 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
117 template<
typename ClientTokenT = Aws::String>
123 bool m_endpointIdentifierHasBeenSet =
false;
126 bool m_virtualClusterIdentifierHasBeenSet =
false;
129 bool m_executionRoleArnHasBeenSet =
false;
132 bool m_credentialTypeHasBeenSet =
false;
134 int m_durationInSeconds{0};
135 bool m_durationInSecondsHasBeenSet =
false;
138 bool m_logContextHasBeenSet =
false;
141 bool m_clientTokenHasBeenSet =
true;
bool ClientTokenHasBeenSet() const
bool EndpointIdentifierHasBeenSet() const
GetManagedEndpointSessionCredentialsRequest & WithDurationInSeconds(int value)
virtual const char * GetServiceRequestName() const override
GetManagedEndpointSessionCredentialsRequest & WithEndpointIdentifier(EndpointIdentifierT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::String & GetEndpointIdentifier() const
bool LogContextHasBeenSet() const
GetManagedEndpointSessionCredentialsRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
void SetCredentialType(CredentialTypeT &&value)
bool CredentialTypeHasBeenSet() const
AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override
void SetLogContext(LogContextT &&value)
bool ExecutionRoleArnHasBeenSet() const
GetManagedEndpointSessionCredentialsRequest & WithVirtualClusterIdentifier(VirtualClusterIdentifierT &&value)
GetManagedEndpointSessionCredentialsRequest & WithCredentialType(CredentialTypeT &&value)
GetManagedEndpointSessionCredentialsRequest & WithLogContext(LogContextT &&value)
void SetDurationInSeconds(int value)
const Aws::String & GetCredentialType() const
bool DurationInSecondsHasBeenSet() const
int GetDurationInSeconds() const
void SetVirtualClusterIdentifier(VirtualClusterIdentifierT &&value)
AWS_EMRCONTAINERS_API GetManagedEndpointSessionCredentialsRequest()=default
const Aws::String & GetExecutionRoleArn() const
const Aws::String & GetVirtualClusterIdentifier() const
GetManagedEndpointSessionCredentialsRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
void SetEndpointIdentifier(EndpointIdentifierT &&value)
const Aws::String & GetLogContext() const
void SetClientToken(ClientTokenT &&value)
bool VirtualClusterIdentifierHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String