AWS SDK for C++  1.8.126
AWS SDK for C++
RegisterDeviceResult.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 CognitoSync
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
44 
48  inline void SetDeviceId(const Aws::String& value) { m_deviceId = value; }
49 
53  inline void SetDeviceId(Aws::String&& value) { m_deviceId = std::move(value); }
54 
58  inline void SetDeviceId(const char* value) { m_deviceId.assign(value); }
59 
63  inline RegisterDeviceResult& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
64 
68  inline RegisterDeviceResult& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
69 
73  inline RegisterDeviceResult& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
74 
75  private:
76 
77  Aws::String m_deviceId;
78  };
79 
80 } // namespace Model
81 } // namespace CognitoSync
82 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CognitoSync::Model::RegisterDeviceResult::SetDeviceId
void SetDeviceId(const char *value)
Definition: RegisterDeviceResult.h:58
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::RegisterDeviceResult
Definition: RegisterDeviceResult.h:33
Aws::CognitoSync::Model::RegisterDeviceResult::RegisterDeviceResult
RegisterDeviceResult()
Aws::CognitoSync::Model::RegisterDeviceResult::GetDeviceId
const Aws::String & GetDeviceId() const
Definition: RegisterDeviceResult.h:43
Aws::CognitoSync::Model::RegisterDeviceResult::operator=
RegisterDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CognitoSync::Model::RegisterDeviceResult::RegisterDeviceResult
RegisterDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CognitoSync::Model::RegisterDeviceResult::SetDeviceId
void SetDeviceId(const Aws::String &value)
Definition: RegisterDeviceResult.h:48
AWSString.h
Aws::CognitoSync::Model::RegisterDeviceResult::WithDeviceId
RegisterDeviceResult & WithDeviceId(const Aws::String &value)
Definition: RegisterDeviceResult.h:63
Aws
Definition: AccessManagementClient.h:15
AWS_COGNITOSYNC_API
#define AWS_COGNITOSYNC_API
Definition: CognitoSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CognitoSync::Model::RegisterDeviceResult::SetDeviceId
void SetDeviceId(Aws::String &&value)
Definition: RegisterDeviceResult.h:53
Aws::CognitoSync::Model::RegisterDeviceResult::WithDeviceId
RegisterDeviceResult & WithDeviceId(const char *value)
Definition: RegisterDeviceResult.h:73
Aws::CognitoSync::Model::RegisterDeviceResult::WithDeviceId
RegisterDeviceResult & WithDeviceId(Aws::String &&value)
Definition: RegisterDeviceResult.h:68