AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename TargetARNT = Aws::String>
52 void SetTargetARN(TargetARNT&& value) { m_targetARNHasBeenSet = true; m_targetARN = std::forward<TargetARNT>(value); }
53 template<typename TargetARNT = Aws::String>
54 DeleteChapCredentialsRequest& WithTargetARN(TargetARNT&& value) { SetTargetARN(std::forward<TargetARNT>(value)); return *this;}
56
58
61 inline const Aws::String& GetInitiatorName() const { return m_initiatorName; }
62 inline bool InitiatorNameHasBeenSet() const { return m_initiatorNameHasBeenSet; }
63 template<typename InitiatorNameT = Aws::String>
64 void SetInitiatorName(InitiatorNameT&& value) { m_initiatorNameHasBeenSet = true; m_initiatorName = std::forward<InitiatorNameT>(value); }
65 template<typename InitiatorNameT = Aws::String>
66 DeleteChapCredentialsRequest& WithInitiatorName(InitiatorNameT&& value) { SetInitiatorName(std::forward<InitiatorNameT>(value)); return *this;}
68 private:
69
70 Aws::String m_targetARN;
71 bool m_targetARNHasBeenSet = false;
72
73 Aws::String m_initiatorName;
74 bool m_initiatorNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace StorageGateway
79} // 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