AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateChapCredentialsResult.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 UpdateChapCredentialsResult();
38
39
41
45 inline const Aws::String& GetTargetARN() const{ return m_targetARN; }
46 inline void SetTargetARN(const Aws::String& value) { m_targetARN = value; }
47 inline void SetTargetARN(Aws::String&& value) { m_targetARN = std::move(value); }
48 inline void SetTargetARN(const char* value) { m_targetARN.assign(value); }
49 inline UpdateChapCredentialsResult& WithTargetARN(const Aws::String& value) { SetTargetARN(value); return *this;}
50 inline UpdateChapCredentialsResult& WithTargetARN(Aws::String&& value) { SetTargetARN(std::move(value)); return *this;}
51 inline UpdateChapCredentialsResult& WithTargetARN(const char* value) { SetTargetARN(value); return *this;}
53
55
59 inline const Aws::String& GetInitiatorName() const{ return m_initiatorName; }
60 inline void SetInitiatorName(const Aws::String& value) { m_initiatorName = value; }
61 inline void SetInitiatorName(Aws::String&& value) { m_initiatorName = std::move(value); }
62 inline void SetInitiatorName(const char* value) { m_initiatorName.assign(value); }
63 inline UpdateChapCredentialsResult& WithInitiatorName(const Aws::String& value) { SetInitiatorName(value); return *this;}
64 inline UpdateChapCredentialsResult& WithInitiatorName(Aws::String&& value) { SetInitiatorName(std::move(value)); return *this;}
65 inline UpdateChapCredentialsResult& WithInitiatorName(const char* value) { SetInitiatorName(value); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
72 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
73 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
74 inline UpdateChapCredentialsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
75 inline UpdateChapCredentialsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
76 inline UpdateChapCredentialsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
78 private:
79
80 Aws::String m_targetARN;
81
82 Aws::String m_initiatorName;
83
84 Aws::String m_requestId;
85 };
86
87} // namespace Model
88} // namespace StorageGateway
89} // namespace Aws
UpdateChapCredentialsResult & WithTargetARN(const char *value)
UpdateChapCredentialsResult & WithInitiatorName(const Aws::String &value)
UpdateChapCredentialsResult & WithTargetARN(Aws::String &&value)
UpdateChapCredentialsResult & WithInitiatorName(Aws::String &&value)
UpdateChapCredentialsResult & WithRequestId(const Aws::String &value)
UpdateChapCredentialsResult & WithInitiatorName(const char *value)
UpdateChapCredentialsResult & WithTargetARN(const Aws::String &value)
AWS_STORAGEGATEWAY_API UpdateChapCredentialsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateChapCredentialsResult & WithRequestId(Aws::String &&value)
UpdateChapCredentialsResult & WithRequestId(const char *value)
AWS_STORAGEGATEWAY_API UpdateChapCredentialsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue