AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteChapCredentialsResult.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{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace StorageGateway
24{
25namespace Model
26{
33 {
34 public:
35 AWS_STORAGEGATEWAY_API DeleteChapCredentialsResult() = default;
38
39
41
44 inline const Aws::String& GetTargetARN() const { return m_targetARN; }
45 template<typename TargetARNT = Aws::String>
46 void SetTargetARN(TargetARNT&& value) { m_targetARNHasBeenSet = true; m_targetARN = std::forward<TargetARNT>(value); }
47 template<typename TargetARNT = Aws::String>
48 DeleteChapCredentialsResult& WithTargetARN(TargetARNT&& value) { SetTargetARN(std::forward<TargetARNT>(value)); return *this;}
50
52
55 inline const Aws::String& GetInitiatorName() const { return m_initiatorName; }
56 template<typename InitiatorNameT = Aws::String>
57 void SetInitiatorName(InitiatorNameT&& value) { m_initiatorNameHasBeenSet = true; m_initiatorName = std::forward<InitiatorNameT>(value); }
58 template<typename InitiatorNameT = Aws::String>
59 DeleteChapCredentialsResult& WithInitiatorName(InitiatorNameT&& value) { SetInitiatorName(std::forward<InitiatorNameT>(value)); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template<typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
67 template<typename RequestIdT = Aws::String>
68 DeleteChapCredentialsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
70 private:
71
72 Aws::String m_targetARN;
73 bool m_targetARNHasBeenSet = false;
74
75 Aws::String m_initiatorName;
76 bool m_initiatorNameHasBeenSet = false;
77
78 Aws::String m_requestId;
79 bool m_requestIdHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace StorageGateway
84} // namespace Aws
DeleteChapCredentialsResult & WithInitiatorName(InitiatorNameT &&value)
AWS_STORAGEGATEWAY_API DeleteChapCredentialsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_STORAGEGATEWAY_API DeleteChapCredentialsResult()=default
AWS_STORAGEGATEWAY_API DeleteChapCredentialsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteChapCredentialsResult & WithRequestId(RequestIdT &&value)
DeleteChapCredentialsResult & WithTargetARN(TargetARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue