AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTargetARN(const Aws::String& value) { m_targetARNHasBeenSet = true; m_targetARN = value; }
50 inline void SetTargetARN(Aws::String&& value) { m_targetARNHasBeenSet = true; m_targetARN = std::move(value); }
51 inline void SetTargetARN(const char* value) { m_targetARNHasBeenSet = true; m_targetARN.assign(value); }
52 inline ChapInfo& WithTargetARN(const Aws::String& value) { SetTargetARN(value); return *this;}
53 inline ChapInfo& WithTargetARN(Aws::String&& value) { SetTargetARN(std::move(value)); return *this;}
54 inline ChapInfo& WithTargetARN(const char* value) { SetTargetARN(value); return *this;}
56
58
62 inline const Aws::String& GetSecretToAuthenticateInitiator() const{ return m_secretToAuthenticateInitiator; }
63 inline bool SecretToAuthenticateInitiatorHasBeenSet() const { return m_secretToAuthenticateInitiatorHasBeenSet; }
64 inline void SetSecretToAuthenticateInitiator(const Aws::String& value) { m_secretToAuthenticateInitiatorHasBeenSet = true; m_secretToAuthenticateInitiator = value; }
65 inline void SetSecretToAuthenticateInitiator(Aws::String&& value) { m_secretToAuthenticateInitiatorHasBeenSet = true; m_secretToAuthenticateInitiator = std::move(value); }
66 inline void SetSecretToAuthenticateInitiator(const char* value) { m_secretToAuthenticateInitiatorHasBeenSet = true; m_secretToAuthenticateInitiator.assign(value); }
69 inline ChapInfo& WithSecretToAuthenticateInitiator(const char* value) { SetSecretToAuthenticateInitiator(value); return *this;}
71
73
76 inline const Aws::String& GetInitiatorName() const{ return m_initiatorName; }
77 inline bool InitiatorNameHasBeenSet() const { return m_initiatorNameHasBeenSet; }
78 inline void SetInitiatorName(const Aws::String& value) { m_initiatorNameHasBeenSet = true; m_initiatorName = value; }
79 inline void SetInitiatorName(Aws::String&& value) { m_initiatorNameHasBeenSet = true; m_initiatorName = std::move(value); }
80 inline void SetInitiatorName(const char* value) { m_initiatorNameHasBeenSet = true; m_initiatorName.assign(value); }
81 inline ChapInfo& WithInitiatorName(const Aws::String& value) { SetInitiatorName(value); return *this;}
82 inline ChapInfo& WithInitiatorName(Aws::String&& value) { SetInitiatorName(std::move(value)); return *this;}
83 inline ChapInfo& WithInitiatorName(const char* value) { SetInitiatorName(value); return *this;}
85
87
91 inline const Aws::String& GetSecretToAuthenticateTarget() const{ return m_secretToAuthenticateTarget; }
92 inline bool SecretToAuthenticateTargetHasBeenSet() const { return m_secretToAuthenticateTargetHasBeenSet; }
93 inline void SetSecretToAuthenticateTarget(const Aws::String& value) { m_secretToAuthenticateTargetHasBeenSet = true; m_secretToAuthenticateTarget = value; }
94 inline void SetSecretToAuthenticateTarget(Aws::String&& value) { m_secretToAuthenticateTargetHasBeenSet = true; m_secretToAuthenticateTarget = std::move(value); }
95 inline void SetSecretToAuthenticateTarget(const char* value) { m_secretToAuthenticateTargetHasBeenSet = true; m_secretToAuthenticateTarget.assign(value); }
97 inline ChapInfo& WithSecretToAuthenticateTarget(Aws::String&& value) { SetSecretToAuthenticateTarget(std::move(value)); return *this;}
98 inline ChapInfo& WithSecretToAuthenticateTarget(const char* value) { SetSecretToAuthenticateTarget(value); return *this;}
100 private:
101
102 Aws::String m_targetARN;
103 bool m_targetARNHasBeenSet = false;
104
105 Aws::String m_secretToAuthenticateInitiator;
106 bool m_secretToAuthenticateInitiatorHasBeenSet = false;
107
108 Aws::String m_initiatorName;
109 bool m_initiatorNameHasBeenSet = false;
110
111 Aws::String m_secretToAuthenticateTarget;
112 bool m_secretToAuthenticateTargetHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace StorageGateway
117} // namespace Aws
ChapInfo & WithInitiatorName(const Aws::String &value)
Definition ChapInfo.h:81
ChapInfo & WithSecretToAuthenticateInitiator(Aws::String &&value)
Definition ChapInfo.h:68
const Aws::String & GetSecretToAuthenticateTarget() const
Definition ChapInfo.h:91
void SetSecretToAuthenticateTarget(Aws::String &&value)
Definition ChapInfo.h:94
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTargetARN(Aws::String &&value)
Definition ChapInfo.h:50
void SetTargetARN(const char *value)
Definition ChapInfo.h:51
AWS_STORAGEGATEWAY_API ChapInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SecretToAuthenticateInitiatorHasBeenSet() const
Definition ChapInfo.h:63
void SetSecretToAuthenticateInitiator(const char *value)
Definition ChapInfo.h:66
void SetSecretToAuthenticateTarget(const Aws::String &value)
Definition ChapInfo.h:93
const Aws::String & GetSecretToAuthenticateInitiator() const
Definition ChapInfo.h:62
ChapInfo & WithSecretToAuthenticateInitiator(const char *value)
Definition ChapInfo.h:69
void SetTargetARN(const Aws::String &value)
Definition ChapInfo.h:49
void SetSecretToAuthenticateInitiator(Aws::String &&value)
Definition ChapInfo.h:65
ChapInfo & WithSecretToAuthenticateTarget(const Aws::String &value)
Definition ChapInfo.h:96
AWS_STORAGEGATEWAY_API ChapInfo(Aws::Utils::Json::JsonView jsonValue)
ChapInfo & WithInitiatorName(const char *value)
Definition ChapInfo.h:83
ChapInfo & WithTargetARN(const char *value)
Definition ChapInfo.h:54
const Aws::String & GetInitiatorName() const
Definition ChapInfo.h:76
AWS_STORAGEGATEWAY_API ChapInfo()
ChapInfo & WithSecretToAuthenticateInitiator(const Aws::String &value)
Definition ChapInfo.h:67
ChapInfo & WithTargetARN(Aws::String &&value)
Definition ChapInfo.h:53
ChapInfo & WithSecretToAuthenticateTarget(Aws::String &&value)
Definition ChapInfo.h:97
void SetSecretToAuthenticateTarget(const char *value)
Definition ChapInfo.h:95
void SetInitiatorName(Aws::String &&value)
Definition ChapInfo.h:79
ChapInfo & WithInitiatorName(Aws::String &&value)
Definition ChapInfo.h:82
ChapInfo & WithSecretToAuthenticateTarget(const char *value)
Definition ChapInfo.h:98
void SetInitiatorName(const Aws::String &value)
Definition ChapInfo.h:78
void SetInitiatorName(const char *value)
Definition ChapInfo.h:80
bool SecretToAuthenticateTargetHasBeenSet() const
Definition ChapInfo.h:92
const Aws::String & GetTargetARN() const
Definition ChapInfo.h:47
ChapInfo & WithTargetARN(const Aws::String &value)
Definition ChapInfo.h:52
void SetSecretToAuthenticateInitiator(const Aws::String &value)
Definition ChapInfo.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue