7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace RedshiftServerless
44 template<
typename CustomDomainNameT = Aws::String>
45 void SetCustomDomainName(CustomDomainNameT&& value) { m_customDomainNameHasBeenSet =
true; m_customDomainName = std::forward<CustomDomainNameT>(value); }
46 template<
typename CustomDomainNameT = Aws::String>
64 template<
typename DbNameT = Aws::String>
65 void SetDbName(DbNameT&& value) { m_dbNameHasBeenSet =
true; m_dbName = std::forward<DbNameT>(value); }
66 template<
typename DbNameT = Aws::String>
77 inline void SetDurationSeconds(
int value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
87 template<
typename WorkgroupNameT = Aws::String>
88 void SetWorkgroupName(WorkgroupNameT&& value) { m_workgroupNameHasBeenSet =
true; m_workgroupName = std::forward<WorkgroupNameT>(value); }
89 template<
typename WorkgroupNameT = Aws::String>
95 bool m_customDomainNameHasBeenSet =
false;
98 bool m_dbNameHasBeenSet =
false;
100 int m_durationSeconds{0};
101 bool m_durationSecondsHasBeenSet =
false;
104 bool m_workgroupNameHasBeenSet =
false;
bool DurationSecondsHasBeenSet() const
const Aws::String & GetWorkgroupName() const
void SetWorkgroupName(WorkgroupNameT &&value)
bool CustomDomainNameHasBeenSet() const
const Aws::String & GetDbName() const
void SetDurationSeconds(int value)
GetCredentialsRequest & WithDbName(DbNameT &&value)
int GetDurationSeconds() const
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
GetCredentialsRequest & WithDurationSeconds(int value)
bool WorkgroupNameHasBeenSet() const
void SetCustomDomainName(CustomDomainNameT &&value)
GetCredentialsRequest & WithCustomDomainName(CustomDomainNameT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetCustomDomainName() const
AWS_REDSHIFTSERVERLESS_API GetCredentialsRequest()=default
bool DbNameHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetCredentialsRequest & WithWorkgroupName(WorkgroupNameT &&value)
void SetDbName(DbNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String