AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateChapCredentialsRequest.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace StorageGateway
15{
16namespace Model
17{
18
30 {
31 public:
32 AWS_STORAGEGATEWAY_API UpdateChapCredentialsRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "UpdateChapCredentials"; }
39
40 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
41
42 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
43
44
46
51 inline const Aws::String& GetTargetARN() const{ return m_targetARN; }
52 inline bool TargetARNHasBeenSet() const { return m_targetARNHasBeenSet; }
53 inline void SetTargetARN(const Aws::String& value) { m_targetARNHasBeenSet = true; m_targetARN = value; }
54 inline void SetTargetARN(Aws::String&& value) { m_targetARNHasBeenSet = true; m_targetARN = std::move(value); }
55 inline void SetTargetARN(const char* value) { m_targetARNHasBeenSet = true; m_targetARN.assign(value); }
56 inline UpdateChapCredentialsRequest& WithTargetARN(const Aws::String& value) { SetTargetARN(value); return *this;}
57 inline UpdateChapCredentialsRequest& WithTargetARN(Aws::String&& value) { SetTargetARN(std::move(value)); return *this;}
58 inline UpdateChapCredentialsRequest& WithTargetARN(const char* value) { SetTargetARN(value); return *this;}
60
62
67 inline const Aws::String& GetSecretToAuthenticateInitiator() const{ return m_secretToAuthenticateInitiator; }
68 inline bool SecretToAuthenticateInitiatorHasBeenSet() const { return m_secretToAuthenticateInitiatorHasBeenSet; }
69 inline void SetSecretToAuthenticateInitiator(const Aws::String& value) { m_secretToAuthenticateInitiatorHasBeenSet = true; m_secretToAuthenticateInitiator = value; }
70 inline void SetSecretToAuthenticateInitiator(Aws::String&& value) { m_secretToAuthenticateInitiatorHasBeenSet = true; m_secretToAuthenticateInitiator = std::move(value); }
71 inline void SetSecretToAuthenticateInitiator(const char* value) { m_secretToAuthenticateInitiatorHasBeenSet = true; m_secretToAuthenticateInitiator.assign(value); }
76
78
81 inline const Aws::String& GetInitiatorName() const{ return m_initiatorName; }
82 inline bool InitiatorNameHasBeenSet() const { return m_initiatorNameHasBeenSet; }
83 inline void SetInitiatorName(const Aws::String& value) { m_initiatorNameHasBeenSet = true; m_initiatorName = value; }
84 inline void SetInitiatorName(Aws::String&& value) { m_initiatorNameHasBeenSet = true; m_initiatorName = std::move(value); }
85 inline void SetInitiatorName(const char* value) { m_initiatorNameHasBeenSet = true; m_initiatorName.assign(value); }
86 inline UpdateChapCredentialsRequest& WithInitiatorName(const Aws::String& value) { SetInitiatorName(value); return *this;}
87 inline UpdateChapCredentialsRequest& WithInitiatorName(Aws::String&& value) { SetInitiatorName(std::move(value)); return *this;}
88 inline UpdateChapCredentialsRequest& WithInitiatorName(const char* value) { SetInitiatorName(value); return *this;}
90
92
98 inline const Aws::String& GetSecretToAuthenticateTarget() const{ return m_secretToAuthenticateTarget; }
99 inline bool SecretToAuthenticateTargetHasBeenSet() const { return m_secretToAuthenticateTargetHasBeenSet; }
100 inline void SetSecretToAuthenticateTarget(const Aws::String& value) { m_secretToAuthenticateTargetHasBeenSet = true; m_secretToAuthenticateTarget = value; }
101 inline void SetSecretToAuthenticateTarget(Aws::String&& value) { m_secretToAuthenticateTargetHasBeenSet = true; m_secretToAuthenticateTarget = std::move(value); }
102 inline void SetSecretToAuthenticateTarget(const char* value) { m_secretToAuthenticateTargetHasBeenSet = true; m_secretToAuthenticateTarget.assign(value); }
107 private:
108
109 Aws::String m_targetARN;
110 bool m_targetARNHasBeenSet = false;
111
112 Aws::String m_secretToAuthenticateInitiator;
113 bool m_secretToAuthenticateInitiatorHasBeenSet = false;
114
115 Aws::String m_initiatorName;
116 bool m_initiatorNameHasBeenSet = false;
117
118 Aws::String m_secretToAuthenticateTarget;
119 bool m_secretToAuthenticateTargetHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace StorageGateway
124} // namespace Aws
UpdateChapCredentialsRequest & WithInitiatorName(const Aws::String &value)
UpdateChapCredentialsRequest & WithTargetARN(Aws::String &&value)
UpdateChapCredentialsRequest & WithInitiatorName(const char *value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateChapCredentialsRequest & WithSecretToAuthenticateInitiator(Aws::String &&value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
UpdateChapCredentialsRequest & WithSecretToAuthenticateTarget(const char *value)
UpdateChapCredentialsRequest & WithSecretToAuthenticateTarget(const Aws::String &value)
UpdateChapCredentialsRequest & WithSecretToAuthenticateTarget(Aws::String &&value)
UpdateChapCredentialsRequest & WithSecretToAuthenticateInitiator(const char *value)
UpdateChapCredentialsRequest & WithSecretToAuthenticateInitiator(const Aws::String &value)
UpdateChapCredentialsRequest & WithTargetARN(const Aws::String &value)
UpdateChapCredentialsRequest & WithTargetARN(const char *value)
UpdateChapCredentialsRequest & WithInitiatorName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String