AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ChapInfo.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace StorageGateway
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_STORAGEGATEWAY_API ChapInfo() = default;
37 AWS_STORAGEGATEWAY_API ChapInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_STORAGEGATEWAY_API ChapInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetTargetARN() const { return m_targetARN; }
48 inline bool TargetARNHasBeenSet() const { return m_targetARNHasBeenSet; }
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>
52 ChapInfo& WithTargetARN(TargetARNT&& value) { SetTargetARN(std::forward<TargetARNT>(value)); return *this;}
54
56
60 inline const Aws::String& GetSecretToAuthenticateInitiator() const { return m_secretToAuthenticateInitiator; }
61 inline bool SecretToAuthenticateInitiatorHasBeenSet() const { return m_secretToAuthenticateInitiatorHasBeenSet; }
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>
65 ChapInfo& WithSecretToAuthenticateInitiator(SecretToAuthenticateInitiatorT&& value) { SetSecretToAuthenticateInitiator(std::forward<SecretToAuthenticateInitiatorT>(value)); return *this;}
67
69
72 inline const Aws::String& GetInitiatorName() const { return m_initiatorName; }
73 inline bool InitiatorNameHasBeenSet() const { return m_initiatorNameHasBeenSet; }
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>
77 ChapInfo& WithInitiatorName(InitiatorNameT&& value) { SetInitiatorName(std::forward<InitiatorNameT>(value)); return *this;}
79
81
85 inline const Aws::String& GetSecretToAuthenticateTarget() const { return m_secretToAuthenticateTarget; }
86 inline bool SecretToAuthenticateTargetHasBeenSet() const { return m_secretToAuthenticateTargetHasBeenSet; }
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>
90 ChapInfo& WithSecretToAuthenticateTarget(SecretToAuthenticateTargetT&& value) { SetSecretToAuthenticateTarget(std::forward<SecretToAuthenticateTargetT>(value)); return *this;}
92 private:
93
94 Aws::String m_targetARN;
95 bool m_targetARNHasBeenSet = false;
96
97 Aws::String m_secretToAuthenticateInitiator;
98 bool m_secretToAuthenticateInitiatorHasBeenSet = false;
99
100 Aws::String m_initiatorName;
101 bool m_initiatorNameHasBeenSet = false;
102
103 Aws::String m_secretToAuthenticateTarget;
104 bool m_secretToAuthenticateTargetHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace StorageGateway
109} // namespace Aws
ChapInfo & WithSecretToAuthenticateInitiator(SecretToAuthenticateInitiatorT &&value)
Definition ChapInfo.h:65
const Aws::String & GetSecretToAuthenticateTarget() const
Definition ChapInfo.h:85
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSecretToAuthenticateTarget(SecretToAuthenticateTargetT &&value)
Definition ChapInfo.h:88
ChapInfo & WithSecretToAuthenticateTarget(SecretToAuthenticateTargetT &&value)
Definition ChapInfo.h:90
ChapInfo & WithTargetARN(TargetARNT &&value)
Definition ChapInfo.h:52
AWS_STORAGEGATEWAY_API ChapInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSecretToAuthenticateInitiator(SecretToAuthenticateInitiatorT &&value)
Definition ChapInfo.h:63
void SetInitiatorName(InitiatorNameT &&value)
Definition ChapInfo.h:75
bool SecretToAuthenticateInitiatorHasBeenSet() const
Definition ChapInfo.h:61
const Aws::String & GetSecretToAuthenticateInitiator() const
Definition ChapInfo.h:60
void SetTargetARN(TargetARNT &&value)
Definition ChapInfo.h:50
ChapInfo & WithInitiatorName(InitiatorNameT &&value)
Definition ChapInfo.h:77
AWS_STORAGEGATEWAY_API ChapInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API ChapInfo()=default
const Aws::String & GetInitiatorName() const
Definition ChapInfo.h:72
bool SecretToAuthenticateTargetHasBeenSet() const
Definition ChapInfo.h:86
const Aws::String & GetTargetARN() const
Definition ChapInfo.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue