AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
DeleteChapCredentialsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/storagegateway/StorageGateway_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace StorageGateway {
15namespace Model {
16
26 public:
27 AWS_STORAGEGATEWAY_API DeleteChapCredentialsRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DeleteChapCredentials"; }
34
35 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
36
37 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
40
45 inline const Aws::String& GetTargetARN() const { return m_targetARN; }
46 inline bool TargetARNHasBeenSet() const { return m_targetARNHasBeenSet; }
47 template <typename TargetARNT = Aws::String>
48 void SetTargetARN(TargetARNT&& value) {
49 m_targetARNHasBeenSet = true;
50 m_targetARN = std::forward<TargetARNT>(value);
51 }
52 template <typename TargetARNT = Aws::String>
54 SetTargetARN(std::forward<TargetARNT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetInitiatorName() const { return m_initiatorName; }
64 inline bool InitiatorNameHasBeenSet() const { return m_initiatorNameHasBeenSet; }
65 template <typename InitiatorNameT = Aws::String>
66 void SetInitiatorName(InitiatorNameT&& value) {
67 m_initiatorNameHasBeenSet = true;
68 m_initiatorName = std::forward<InitiatorNameT>(value);
69 }
70 template <typename InitiatorNameT = Aws::String>
72 SetInitiatorName(std::forward<InitiatorNameT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_targetARN;
78
79 Aws::String m_initiatorName;
80 bool m_targetARNHasBeenSet = false;
81 bool m_initiatorNameHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace StorageGateway
86} // namespace Aws
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_STORAGEGATEWAY_API DeleteChapCredentialsRequest()=default
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
DeleteChapCredentialsRequest & WithTargetARN(TargetARNT &&value)
DeleteChapCredentialsRequest & WithInitiatorName(InitiatorNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String