7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace StorageGateway
55 inline void SetTargetARN(
const char* value) { m_targetARNHasBeenSet =
true; m_targetARN.assign(value); }
85 inline void SetInitiatorName(
const char* value) { m_initiatorNameHasBeenSet =
true; m_initiatorName.assign(value); }
110 bool m_targetARNHasBeenSet =
false;
113 bool m_secretToAuthenticateInitiatorHasBeenSet =
false;
116 bool m_initiatorNameHasBeenSet =
false;
119 bool m_secretToAuthenticateTargetHasBeenSet =
false;
UpdateChapCredentialsRequest & WithInitiatorName(const Aws::String &value)
UpdateChapCredentialsRequest & WithTargetARN(Aws::String &&value)
AWS_STORAGEGATEWAY_API UpdateChapCredentialsRequest()
const Aws::String & GetSecretToAuthenticateInitiator() const
void SetTargetARN(const char *value)
UpdateChapCredentialsRequest & WithInitiatorName(const char *value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateChapCredentialsRequest & WithSecretToAuthenticateInitiator(Aws::String &&value)
void SetSecretToAuthenticateTarget(Aws::String &&value)
bool SecretToAuthenticateInitiatorHasBeenSet() const
void SetInitiatorName(Aws::String &&value)
void SetTargetARN(Aws::String &&value)
bool InitiatorNameHasBeenSet() const
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
UpdateChapCredentialsRequest & WithSecretToAuthenticateTarget(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSecretToAuthenticateTarget() const
UpdateChapCredentialsRequest & WithSecretToAuthenticateTarget(const Aws::String &value)
UpdateChapCredentialsRequest & WithSecretToAuthenticateTarget(Aws::String &&value)
void SetTargetARN(const Aws::String &value)
bool TargetARNHasBeenSet() const
const Aws::String & GetInitiatorName() const
UpdateChapCredentialsRequest & WithSecretToAuthenticateInitiator(const char *value)
const Aws::String & GetTargetARN() const
void SetSecretToAuthenticateTarget(const Aws::String &value)
bool SecretToAuthenticateTargetHasBeenSet() const
UpdateChapCredentialsRequest & WithSecretToAuthenticateInitiator(const Aws::String &value)
UpdateChapCredentialsRequest & WithTargetARN(const Aws::String &value)
UpdateChapCredentialsRequest & WithTargetARN(const char *value)
void SetSecretToAuthenticateTarget(const char *value)
void SetInitiatorName(const char *value)
void SetSecretToAuthenticateInitiator(const char *value)
UpdateChapCredentialsRequest & WithInitiatorName(Aws::String &&value)
void SetSecretToAuthenticateInitiator(Aws::String &&value)
void SetInitiatorName(const Aws::String &value)
void SetSecretToAuthenticateInitiator(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String