7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace StorageGateway
51 inline void SetTargetARN(
const char* value) { m_targetARNHasBeenSet =
true; m_targetARN.assign(value); }
80 inline void SetInitiatorName(
const char* value) { m_initiatorNameHasBeenSet =
true; m_initiatorName.assign(value); }
95 inline void SetSecretToAuthenticateTarget(
const char* value) { m_secretToAuthenticateTargetHasBeenSet =
true; m_secretToAuthenticateTarget.assign(value); }
103 bool m_targetARNHasBeenSet =
false;
106 bool m_secretToAuthenticateInitiatorHasBeenSet =
false;
109 bool m_initiatorNameHasBeenSet =
false;
112 bool m_secretToAuthenticateTargetHasBeenSet =
false;
ChapInfo & WithInitiatorName(const Aws::String &value)
ChapInfo & WithSecretToAuthenticateInitiator(Aws::String &&value)
const Aws::String & GetSecretToAuthenticateTarget() const
void SetSecretToAuthenticateTarget(Aws::String &&value)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTargetARN(Aws::String &&value)
void SetTargetARN(const char *value)
AWS_STORAGEGATEWAY_API ChapInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SecretToAuthenticateInitiatorHasBeenSet() const
void SetSecretToAuthenticateInitiator(const char *value)
void SetSecretToAuthenticateTarget(const Aws::String &value)
const Aws::String & GetSecretToAuthenticateInitiator() const
ChapInfo & WithSecretToAuthenticateInitiator(const char *value)
void SetTargetARN(const Aws::String &value)
void SetSecretToAuthenticateInitiator(Aws::String &&value)
ChapInfo & WithSecretToAuthenticateTarget(const Aws::String &value)
AWS_STORAGEGATEWAY_API ChapInfo(Aws::Utils::Json::JsonView jsonValue)
ChapInfo & WithInitiatorName(const char *value)
ChapInfo & WithTargetARN(const char *value)
const Aws::String & GetInitiatorName() const
AWS_STORAGEGATEWAY_API ChapInfo()
ChapInfo & WithSecretToAuthenticateInitiator(const Aws::String &value)
ChapInfo & WithTargetARN(Aws::String &&value)
ChapInfo & WithSecretToAuthenticateTarget(Aws::String &&value)
void SetSecretToAuthenticateTarget(const char *value)
void SetInitiatorName(Aws::String &&value)
ChapInfo & WithInitiatorName(Aws::String &&value)
bool InitiatorNameHasBeenSet() const
ChapInfo & WithSecretToAuthenticateTarget(const char *value)
void SetInitiatorName(const Aws::String &value)
void SetInitiatorName(const char *value)
bool SecretToAuthenticateTargetHasBeenSet() const
const Aws::String & GetTargetARN() const
bool TargetARNHasBeenSet() const
ChapInfo & WithTargetARN(const Aws::String &value)
void SetSecretToAuthenticateInitiator(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue