7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/sso-admin/SSOAdminRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sso-admin/model/Grant.h>
11#include <aws/sso-admin/model/GrantType.h>
47 inline void SetApplicationArn(
const char* value) { m_applicationArnHasBeenSet =
true; m_applicationArn.assign(value); }
59 inline void SetGrant(
const Grant& value) { m_grantHasBeenSet =
true; m_grant = value; }
60 inline void SetGrant(
Grant&& value) { m_grantHasBeenSet =
true; m_grant = std::move(value); }
79 bool m_applicationArnHasBeenSet =
false;
82 bool m_grantHasBeenSet =
false;
85 bool m_grantTypeHasBeenSet =
false;
AWS_SSOADMIN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool GrantHasBeenSet() const
void SetGrant(const Grant &value)
void SetGrantType(const GrantType &value)
const GrantType & GetGrantType() const
void SetApplicationArn(const Aws::String &value)
const Grant & GetGrant() const
void SetApplicationArn(Aws::String &&value)
PutApplicationGrantRequest & WithApplicationArn(Aws::String &&value)
PutApplicationGrantRequest & WithGrant(const Grant &value)
bool GrantTypeHasBeenSet() const
void SetGrant(Grant &&value)
void SetApplicationArn(const char *value)
PutApplicationGrantRequest & WithApplicationArn(const Aws::String &value)
void SetGrantType(GrantType &&value)
PutApplicationGrantRequest & WithApplicationArn(const char *value)
AWS_SSOADMIN_API PutApplicationGrantRequest()
PutApplicationGrantRequest & WithGrant(Grant &&value)
bool ApplicationArnHasBeenSet() const
AWS_SSOADMIN_API Aws::String SerializePayload() const override
const Aws::String & GetApplicationArn() const
virtual const char * GetServiceRequestName() const override
PutApplicationGrantRequest & WithGrantType(const GrantType &value)
PutApplicationGrantRequest & WithGrantType(GrantType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String