7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace StorageGateway
49 template<
typename TargetARNT = Aws::String>
50 void SetTargetARN(TargetARNT&& value) { m_targetARNHasBeenSet =
true; m_targetARN = std::forward<TargetARNT>(value); }
51 template<
typename TargetARNT = Aws::String>
62 template<
typename SecretToAuthenticateInitiatorT = Aws::String>
63 void SetSecretToAuthenticateInitiator(SecretToAuthenticateInitiatorT&& value) { m_secretToAuthenticateInitiatorHasBeenSet =
true; m_secretToAuthenticateInitiator = std::forward<SecretToAuthenticateInitiatorT>(value); }
64 template<
typename SecretToAuthenticateInitiatorT = Aws::String>
74 template<
typename InitiatorNameT = Aws::String>
75 void SetInitiatorName(InitiatorNameT&& value) { m_initiatorNameHasBeenSet =
true; m_initiatorName = std::forward<InitiatorNameT>(value); }
76 template<
typename InitiatorNameT = Aws::String>
87 template<
typename SecretToAuthenticateTargetT = Aws::String>
88 void SetSecretToAuthenticateTarget(SecretToAuthenticateTargetT&& value) { m_secretToAuthenticateTargetHasBeenSet =
true; m_secretToAuthenticateTarget = std::forward<SecretToAuthenticateTargetT>(value); }
89 template<
typename SecretToAuthenticateTargetT = Aws::String>
95 bool m_targetARNHasBeenSet =
false;
98 bool m_secretToAuthenticateInitiatorHasBeenSet =
false;
101 bool m_initiatorNameHasBeenSet =
false;
104 bool m_secretToAuthenticateTargetHasBeenSet =
false;
ChapInfo & WithSecretToAuthenticateInitiator(SecretToAuthenticateInitiatorT &&value)
const Aws::String & GetSecretToAuthenticateTarget() const
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSecretToAuthenticateTarget(SecretToAuthenticateTargetT &&value)
ChapInfo & WithSecretToAuthenticateTarget(SecretToAuthenticateTargetT &&value)
ChapInfo & WithTargetARN(TargetARNT &&value)
AWS_STORAGEGATEWAY_API ChapInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSecretToAuthenticateInitiator(SecretToAuthenticateInitiatorT &&value)
void SetInitiatorName(InitiatorNameT &&value)
bool SecretToAuthenticateInitiatorHasBeenSet() const
const Aws::String & GetSecretToAuthenticateInitiator() const
void SetTargetARN(TargetARNT &&value)
ChapInfo & WithInitiatorName(InitiatorNameT &&value)
AWS_STORAGEGATEWAY_API ChapInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API ChapInfo()=default
const Aws::String & GetInitiatorName() const
bool InitiatorNameHasBeenSet() const
bool SecretToAuthenticateTargetHasBeenSet() const
const Aws::String & GetTargetARN() const
bool TargetARNHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue