7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
51 template<
typename UserNameT = Aws::String>
52 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet =
true; m_userName = std::forward<UserNameT>(value); }
53 template<
typename UserNameT = Aws::String>
65 template<
typename SecretT = Aws::String>
66 void SetSecret(SecretT&& value) { m_secretHasBeenSet =
true; m_secret = std::forward<SecretT>(value); }
67 template<
typename SecretT = Aws::String>
73 bool m_userNameHasBeenSet =
false;
76 bool m_secretHasBeenSet =
false;
bool SecretHasBeenSet() const
bool UserNameHasBeenSet() const
AWS_GAMELIFT_API InstanceCredentials()=default
const Aws::String & GetSecret() const
AWS_GAMELIFT_API InstanceCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceCredentials & WithUserName(UserNameT &&value)
void SetUserName(UserNameT &&value)
InstanceCredentials & WithSecret(SecretT &&value)
const Aws::String & GetUserName() const
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GAMELIFT_API InstanceCredentials(Aws::Utils::Json::JsonView jsonValue)
void SetSecret(SecretT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue