7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
69 template<
typename DbUserT = Aws::String>
70 void SetDbUser(DbUserT&& value) { m_dbUserHasBeenSet =
true; m_dbUser = std::forward<DbUserT>(value); }
71 template<
typename DbUserT = Aws::String>
90 template<
typename DbNameT = Aws::String>
91 void SetDbName(DbNameT&& value) { m_dbNameHasBeenSet =
true; m_dbName = std::forward<DbNameT>(value); }
92 template<
typename DbNameT = Aws::String>
103 template<
typename ClusterIdentifierT = Aws::String>
104 void SetClusterIdentifier(ClusterIdentifierT&& value) { m_clusterIdentifierHasBeenSet =
true; m_clusterIdentifier = std::forward<ClusterIdentifierT>(value); }
105 template<
typename ClusterIdentifierT = Aws::String>
116 inline void SetDurationSeconds(
int value) { m_durationSecondsHasBeenSet =
true; m_durationSeconds = value; }
127 inline void SetAutoCreate(
bool value) { m_autoCreateHasBeenSet =
true; m_autoCreate = value; }
147 template<
typename DbGroupsT = Aws::Vector<Aws::String>>
148 void SetDbGroups(DbGroupsT&& value) { m_dbGroupsHasBeenSet =
true; m_dbGroups = std::forward<DbGroupsT>(value); }
149 template<
typename DbGroupsT = Aws::Vector<Aws::String>>
151 template<
typename DbGroupsT = Aws::String>
161 template<
typename CustomDomainNameT = Aws::String>
162 void SetCustomDomainName(CustomDomainNameT&& value) { m_customDomainNameHasBeenSet =
true; m_customDomainName = std::forward<CustomDomainNameT>(value); }
163 template<
typename CustomDomainNameT = Aws::String>
169 bool m_dbUserHasBeenSet =
false;
172 bool m_dbNameHasBeenSet =
false;
175 bool m_clusterIdentifierHasBeenSet =
false;
177 int m_durationSeconds{0};
178 bool m_durationSecondsHasBeenSet =
false;
180 bool m_autoCreate{
false};
181 bool m_autoCreateHasBeenSet =
false;
184 bool m_dbGroupsHasBeenSet =
false;
187 bool m_customDomainNameHasBeenSet =
false;
bool CustomDomainNameHasBeenSet() const
GetClusterCredentialsRequest & AddDbGroups(DbGroupsT &&value)
GetClusterCredentialsRequest & WithCustomDomainName(CustomDomainNameT &&value)
void SetDbUser(DbUserT &&value)
GetClusterCredentialsRequest & WithClusterIdentifier(ClusterIdentifierT &&value)
GetClusterCredentialsRequest & WithDbName(DbNameT &&value)
AWS_REDSHIFT_API GetClusterCredentialsRequest()=default
GetClusterCredentialsRequest & WithDurationSeconds(int value)
void SetAutoCreate(bool value)
void SetClusterIdentifier(ClusterIdentifierT &&value)
const Aws::String & GetCustomDomainName() const
GetClusterCredentialsRequest & WithDbUser(DbUserT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
int GetDurationSeconds() const
const Aws::String & GetClusterIdentifier() const
void SetDbName(DbNameT &&value)
virtual const char * GetServiceRequestName() const override
void SetDurationSeconds(int value)
bool GetAutoCreate() const
bool DbNameHasBeenSet() const
bool AutoCreateHasBeenSet() const
bool DbUserHasBeenSet() const
bool ClusterIdentifierHasBeenSet() const
GetClusterCredentialsRequest & WithDbGroups(DbGroupsT &&value)
const Aws::Vector< Aws::String > & GetDbGroups() const
GetClusterCredentialsRequest & WithAutoCreate(bool value)
void SetDbGroups(DbGroupsT &&value)
void SetCustomDomainName(CustomDomainNameT &&value)
bool DbGroupsHasBeenSet() const
const Aws::String & GetDbName() const
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool DurationSecondsHasBeenSet() const
const Aws::String & GetDbUser() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector