AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
DeleteChapCredentialsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/storagegateway/StorageGateway_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace StorageGateway {
23namespace Model {
30 public:
31 AWS_STORAGEGATEWAY_API DeleteChapCredentialsResult() = default;
34
36
39 inline const Aws::String& GetTargetARN() const { return m_targetARN; }
40 template <typename TargetARNT = Aws::String>
41 void SetTargetARN(TargetARNT&& value) {
42 m_targetARNHasBeenSet = true;
43 m_targetARN = std::forward<TargetARNT>(value);
44 }
45 template <typename TargetARNT = Aws::String>
47 SetTargetARN(std::forward<TargetARNT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetInitiatorName() const { return m_initiatorName; }
57 template <typename InitiatorNameT = Aws::String>
58 void SetInitiatorName(InitiatorNameT&& value) {
59 m_initiatorNameHasBeenSet = true;
60 m_initiatorName = std::forward<InitiatorNameT>(value);
61 }
62 template <typename InitiatorNameT = Aws::String>
64 SetInitiatorName(std::forward<InitiatorNameT>(value));
65 return *this;
66 }
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template <typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) {
74 m_requestIdHasBeenSet = true;
75 m_requestId = std::forward<RequestIdT>(value);
76 }
77 template <typename RequestIdT = Aws::String>
79 SetRequestId(std::forward<RequestIdT>(value));
80 return *this;
81 }
83 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
84
85 private:
86 Aws::String m_targetARN;
87
88 Aws::String m_initiatorName;
89
90 Aws::String m_requestId;
91 Aws::Http::HttpResponseCode m_HttpResponseCode;
92 bool m_targetARNHasBeenSet = false;
93 bool m_initiatorNameHasBeenSet = false;
94 bool m_requestIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace StorageGateway
99} // 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