7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace StorageGateway
53 template<
typename TargetARNT = Aws::String>
54 void SetTargetARN(TargetARNT&& value) { m_targetARNHasBeenSet =
true; m_targetARN = std::forward<TargetARNT>(value); }
55 template<
typename TargetARNT = Aws::String>
67 template<
typename SecretToAuthenticateInitiatorT = Aws::String>
68 void SetSecretToAuthenticateInitiator(SecretToAuthenticateInitiatorT&& value) { m_secretToAuthenticateInitiatorHasBeenSet =
true; m_secretToAuthenticateInitiator = std::forward<SecretToAuthenticateInitiatorT>(value); }
69 template<
typename SecretToAuthenticateInitiatorT = Aws::String>
79 template<
typename InitiatorNameT = Aws::String>
80 void SetInitiatorName(InitiatorNameT&& value) { m_initiatorNameHasBeenSet =
true; m_initiatorName = std::forward<InitiatorNameT>(value); }
81 template<
typename InitiatorNameT = Aws::String>
94 template<
typename SecretToAuthenticateTargetT = Aws::String>
95 void SetSecretToAuthenticateTarget(SecretToAuthenticateTargetT&& value) { m_secretToAuthenticateTargetHasBeenSet =
true; m_secretToAuthenticateTarget = std::forward<SecretToAuthenticateTargetT>(value); }
96 template<
typename SecretToAuthenticateTargetT = Aws::String>
102 bool m_targetARNHasBeenSet =
false;
105 bool m_secretToAuthenticateInitiatorHasBeenSet =
false;
108 bool m_initiatorNameHasBeenSet =
false;
111 bool m_secretToAuthenticateTargetHasBeenSet =
false;
void SetInitiatorName(InitiatorNameT &&value)
const Aws::String & GetSecretToAuthenticateInitiator() const
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateChapCredentialsRequest & WithSecretToAuthenticateTarget(SecretToAuthenticateTargetT &&value)
bool SecretToAuthenticateInitiatorHasBeenSet() const
bool InitiatorNameHasBeenSet() const
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSecretToAuthenticateTarget() const
void SetSecretToAuthenticateInitiator(SecretToAuthenticateInitiatorT &&value)
bool TargetARNHasBeenSet() const
const Aws::String & GetInitiatorName() const
const Aws::String & GetTargetARN() const
bool SecretToAuthenticateTargetHasBeenSet() const
UpdateChapCredentialsRequest & WithTargetARN(TargetARNT &&value)
void SetTargetARN(TargetARNT &&value)
UpdateChapCredentialsRequest & WithInitiatorName(InitiatorNameT &&value)
UpdateChapCredentialsRequest & WithSecretToAuthenticateInitiator(SecretToAuthenticateInitiatorT &&value)
void SetSecretToAuthenticateTarget(SecretToAuthenticateTargetT &&value)
AWS_STORAGEGATEWAY_API UpdateChapCredentialsRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String