AWS SDK for C++  1.9.124
AWS SDK for C++
DeleteChapCredentialsResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace StorageGateway
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetTargetARN() const{ return m_targetARN; }
44 
48  inline void SetTargetARN(const Aws::String& value) { m_targetARN = value; }
49 
53  inline void SetTargetARN(Aws::String&& value) { m_targetARN = std::move(value); }
54 
58  inline void SetTargetARN(const char* value) { m_targetARN.assign(value); }
59 
63  inline DeleteChapCredentialsResult& WithTargetARN(const Aws::String& value) { SetTargetARN(value); return *this;}
64 
68  inline DeleteChapCredentialsResult& WithTargetARN(Aws::String&& value) { SetTargetARN(std::move(value)); return *this;}
69 
73  inline DeleteChapCredentialsResult& WithTargetARN(const char* value) { SetTargetARN(value); return *this;}
74 
75 
79  inline const Aws::String& GetInitiatorName() const{ return m_initiatorName; }
80 
84  inline void SetInitiatorName(const Aws::String& value) { m_initiatorName = value; }
85 
89  inline void SetInitiatorName(Aws::String&& value) { m_initiatorName = std::move(value); }
90 
94  inline void SetInitiatorName(const char* value) { m_initiatorName.assign(value); }
95 
99  inline DeleteChapCredentialsResult& WithInitiatorName(const Aws::String& value) { SetInitiatorName(value); return *this;}
100 
104  inline DeleteChapCredentialsResult& WithInitiatorName(Aws::String&& value) { SetInitiatorName(std::move(value)); return *this;}
105 
109  inline DeleteChapCredentialsResult& WithInitiatorName(const char* value) { SetInitiatorName(value); return *this;}
110 
111  private:
112 
113  Aws::String m_targetARN;
114 
115  Aws::String m_initiatorName;
116  };
117 
118 } // namespace Model
119 } // namespace StorageGateway
120 } // namespace Aws
Aws::StorageGateway::Model::DeleteChapCredentialsResult
Definition: DeleteChapCredentialsResult.h:33
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DeleteChapCredentialsResult::SetInitiatorName
void SetInitiatorName(const Aws::String &value)
Definition: DeleteChapCredentialsResult.h:84
Aws::StorageGateway::Model::DeleteChapCredentialsResult::WithInitiatorName
DeleteChapCredentialsResult & WithInitiatorName(const char *value)
Definition: DeleteChapCredentialsResult.h:109
Aws::StorageGateway::Model::DeleteChapCredentialsResult::SetTargetARN
void SetTargetARN(const char *value)
Definition: DeleteChapCredentialsResult.h:58
Aws::StorageGateway::Model::DeleteChapCredentialsResult::SetTargetARN
void SetTargetARN(const Aws::String &value)
Definition: DeleteChapCredentialsResult.h:48
Aws::StorageGateway::Model::DeleteChapCredentialsResult::WithTargetARN
DeleteChapCredentialsResult & WithTargetARN(const Aws::String &value)
Definition: DeleteChapCredentialsResult.h:63
Aws::StorageGateway::Model::DeleteChapCredentialsResult::SetTargetARN
void SetTargetARN(Aws::String &&value)
Definition: DeleteChapCredentialsResult.h:53
Aws::StorageGateway::Model::DeleteChapCredentialsResult::WithInitiatorName
DeleteChapCredentialsResult & WithInitiatorName(const Aws::String &value)
Definition: DeleteChapCredentialsResult.h:99
Aws::StorageGateway::Model::DeleteChapCredentialsResult::DeleteChapCredentialsResult
DeleteChapCredentialsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DeleteChapCredentialsResult::WithInitiatorName
DeleteChapCredentialsResult & WithInitiatorName(Aws::String &&value)
Definition: DeleteChapCredentialsResult.h:104
Aws::StorageGateway::Model::DeleteChapCredentialsResult::DeleteChapCredentialsResult
DeleteChapCredentialsResult()
Aws::StorageGateway::Model::DeleteChapCredentialsResult::SetInitiatorName
void SetInitiatorName(const char *value)
Definition: DeleteChapCredentialsResult.h:94
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DeleteChapCredentialsResult::WithTargetARN
DeleteChapCredentialsResult & WithTargetARN(Aws::String &&value)
Definition: DeleteChapCredentialsResult.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DeleteChapCredentialsResult::GetInitiatorName
const Aws::String & GetInitiatorName() const
Definition: DeleteChapCredentialsResult.h:79
Aws::StorageGateway::Model::DeleteChapCredentialsResult::GetTargetARN
const Aws::String & GetTargetARN() const
Definition: DeleteChapCredentialsResult.h:43
Aws::StorageGateway::Model::DeleteChapCredentialsResult::WithTargetARN
DeleteChapCredentialsResult & WithTargetARN(const char *value)
Definition: DeleteChapCredentialsResult.h:73
Aws::StorageGateway::Model::DeleteChapCredentialsResult::SetInitiatorName
void SetInitiatorName(Aws::String &&value)
Definition: DeleteChapCredentialsResult.h:89
Aws::StorageGateway::Model::DeleteChapCredentialsResult::operator=
DeleteChapCredentialsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)