7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetUsername(
const char* value) { m_usernameHasBeenSet =
true; m_username.assign(value); }
63 inline void SetPassword(
const char* value) { m_passwordHasBeenSet =
true; m_password.assign(value); }
78 inline void SetValidForInMinutes(
int value) { m_validForInMinutesHasBeenSet =
true; m_validForInMinutes = value; }
90 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
98 bool m_usernameHasBeenSet =
false;
101 bool m_passwordHasBeenSet =
false;
103 int m_validForInMinutes;
104 bool m_validForInMinutesHasBeenSet =
false;
107 bool m_instanceIdHasBeenSet =
false;
void SetValidForInMinutes(int value)
void SetInstanceId(const char *value)
TemporaryCredential & WithUsername(Aws::String &&value)
void SetPassword(const Aws::String &value)
AWS_OPSWORKS_API TemporaryCredential(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUsername() const
void SetInstanceId(const Aws::String &value)
int GetValidForInMinutes() const
bool ValidForInMinutesHasBeenSet() const
bool PasswordHasBeenSet() const
TemporaryCredential & WithPassword(Aws::String &&value)
bool InstanceIdHasBeenSet() const
TemporaryCredential & WithPassword(const char *value)
TemporaryCredential & WithInstanceId(const Aws::String &value)
const Aws::String & GetInstanceId() const
TemporaryCredential & WithInstanceId(Aws::String &&value)
TemporaryCredential & WithInstanceId(const char *value)
void SetUsername(Aws::String &&value)
TemporaryCredential & WithUsername(const char *value)
bool UsernameHasBeenSet() const
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPSWORKS_API TemporaryCredential & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUsername(const char *value)
AWS_OPSWORKS_API TemporaryCredential()
TemporaryCredential & WithUsername(const Aws::String &value)
const Aws::String & GetPassword() const
void SetInstanceId(Aws::String &&value)
TemporaryCredential & WithPassword(const Aws::String &value)
void SetPassword(const char *value)
TemporaryCredential & WithValidForInMinutes(int value)
void SetUsername(const Aws::String &value)
void SetPassword(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue