AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteTokenResult.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_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 AmplifyBackend
24{
25namespace Model
26{
28 {
29 public:
30 AWS_AMPLIFYBACKEND_API DeleteTokenResult();
33
34
36
39 inline bool GetIsSuccess() const{ return m_isSuccess; }
40 inline void SetIsSuccess(bool value) { m_isSuccess = value; }
41 inline DeleteTokenResult& WithIsSuccess(bool value) { SetIsSuccess(value); return *this;}
43
45
46 inline const Aws::String& GetRequestId() const{ return m_requestId; }
47 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
48 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
49 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
50 inline DeleteTokenResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
51 inline DeleteTokenResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
52 inline DeleteTokenResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
54 private:
55
56 bool m_isSuccess;
57
58 Aws::String m_requestId;
59 };
60
61} // namespace Model
62} // namespace AmplifyBackend
63} // namespace Aws
AWS_AMPLIFYBACKEND_API DeleteTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteTokenResult & WithRequestId(const Aws::String &value)
AWS_AMPLIFYBACKEND_API DeleteTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteTokenResult & WithRequestId(const char *value)
void SetRequestId(const Aws::String &value)
DeleteTokenResult & WithIsSuccess(bool value)
DeleteTokenResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue