AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteChapCredentialsRequest.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
28 {
29 public:
30 AWS_STORAGEGATEWAY_API DeleteChapCredentialsRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "DeleteChapCredentials"; }
37
38 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
39
40 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
41
42
44
49 inline const Aws::String& GetTargetARN() const{ return m_targetARN; }
50 inline bool TargetARNHasBeenSet() const { return m_targetARNHasBeenSet; }
51 inline void SetTargetARN(const Aws::String& value) { m_targetARNHasBeenSet = true; m_targetARN = value; }
52 inline void SetTargetARN(Aws::String&& value) { m_targetARNHasBeenSet = true; m_targetARN = std::move(value); }
53 inline void SetTargetARN(const char* value) { m_targetARNHasBeenSet = true; m_targetARN.assign(value); }
54 inline DeleteChapCredentialsRequest& WithTargetARN(const Aws::String& value) { SetTargetARN(value); return *this;}
55 inline DeleteChapCredentialsRequest& WithTargetARN(Aws::String&& value) { SetTargetARN(std::move(value)); return *this;}
56 inline DeleteChapCredentialsRequest& WithTargetARN(const char* value) { SetTargetARN(value); return *this;}
58
60
63 inline const Aws::String& GetInitiatorName() const{ return m_initiatorName; }
64 inline bool InitiatorNameHasBeenSet() const { return m_initiatorNameHasBeenSet; }
65 inline void SetInitiatorName(const Aws::String& value) { m_initiatorNameHasBeenSet = true; m_initiatorName = value; }
66 inline void SetInitiatorName(Aws::String&& value) { m_initiatorNameHasBeenSet = true; m_initiatorName = std::move(value); }
67 inline void SetInitiatorName(const char* value) { m_initiatorNameHasBeenSet = true; m_initiatorName.assign(value); }
68 inline DeleteChapCredentialsRequest& WithInitiatorName(const Aws::String& value) { SetInitiatorName(value); return *this;}
69 inline DeleteChapCredentialsRequest& WithInitiatorName(Aws::String&& value) { SetInitiatorName(std::move(value)); return *this;}
70 inline DeleteChapCredentialsRequest& WithInitiatorName(const char* value) { SetInitiatorName(value); return *this;}
72 private:
73
74 Aws::String m_targetARN;
75 bool m_targetARNHasBeenSet = false;
76
77 Aws::String m_initiatorName;
78 bool m_initiatorNameHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace StorageGateway
83} // namespace Aws
DeleteChapCredentialsRequest & WithTargetARN(Aws::String &&value)
DeleteChapCredentialsRequest & WithTargetARN(const Aws::String &value)
DeleteChapCredentialsRequest & WithTargetARN(const char *value)
DeleteChapCredentialsRequest & WithInitiatorName(Aws::String &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteChapCredentialsRequest & WithInitiatorName(const char *value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
DeleteChapCredentialsRequest & WithInitiatorName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String