AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterDeviceResult.h
1
6#pragma once
7#include <aws/cognito-sync/CognitoSync_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 CognitoSync
24{
25namespace Model
26{
33 {
34 public:
35 AWS_COGNITOSYNC_API RegisterDeviceResult();
38
39
41
44 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
45 inline void SetDeviceId(const Aws::String& value) { m_deviceId = value; }
46 inline void SetDeviceId(Aws::String&& value) { m_deviceId = std::move(value); }
47 inline void SetDeviceId(const char* value) { m_deviceId.assign(value); }
48 inline RegisterDeviceResult& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
49 inline RegisterDeviceResult& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
50 inline RegisterDeviceResult& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
52
54
55 inline const Aws::String& GetRequestId() const{ return m_requestId; }
56 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
57 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
58 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
59 inline RegisterDeviceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
60 inline RegisterDeviceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
61 inline RegisterDeviceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
63 private:
64
65 Aws::String m_deviceId;
66
67 Aws::String m_requestId;
68 };
69
70} // namespace Model
71} // namespace CognitoSync
72} // namespace Aws
RegisterDeviceResult & WithRequestId(const Aws::String &value)
AWS_COGNITOSYNC_API RegisterDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterDeviceResult & WithDeviceId(Aws::String &&value)
RegisterDeviceResult & WithRequestId(const char *value)
RegisterDeviceResult & WithRequestId(Aws::String &&value)
AWS_COGNITOSYNC_API RegisterDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterDeviceResult & WithDeviceId(const Aws::String &value)
RegisterDeviceResult & WithDeviceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue