7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/OpsWorksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
45 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
60 inline void SetValidForInMinutes(
int value) { m_validForInMinutesHasBeenSet =
true; m_validForInMinutes = value; }
66 bool m_instanceIdHasBeenSet =
false;
68 int m_validForInMinutes;
69 bool m_validForInMinutesHasBeenSet =
false;
void SetInstanceId(Aws::String &&value)
GrantAccessRequest & WithInstanceId(const char *value)
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
int GetValidForInMinutes() const
virtual const char * GetServiceRequestName() const override
bool ValidForInMinutesHasBeenSet() const
GrantAccessRequest & WithValidForInMinutes(int value)
GrantAccessRequest & WithInstanceId(const Aws::String &value)
AWS_OPSWORKS_API Aws::String SerializePayload() const override
void SetInstanceId(const Aws::String &value)
const Aws::String & GetInstanceId() const
void SetInstanceId(const char *value)
bool InstanceIdHasBeenSet() const
GrantAccessRequest & WithInstanceId(Aws::String &&value)
void SetValidForInMinutes(int value)
AWS_OPSWORKS_API GrantAccessRequest()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String