AWS SDK for C++  1.8.126
AWS SDK for C++
DescribeIdentityUsageResult.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 {
34  {
35  public:
39 
40 
44  inline const IdentityUsage& GetIdentityUsage() const{ return m_identityUsage; }
45 
49  inline void SetIdentityUsage(const IdentityUsage& value) { m_identityUsage = value; }
50 
54  inline void SetIdentityUsage(IdentityUsage&& value) { m_identityUsage = std::move(value); }
55 
59  inline DescribeIdentityUsageResult& WithIdentityUsage(const IdentityUsage& value) { SetIdentityUsage(value); return *this;}
60 
64  inline DescribeIdentityUsageResult& WithIdentityUsage(IdentityUsage&& value) { SetIdentityUsage(std::move(value)); return *this;}
65 
66  private:
67 
68  IdentityUsage m_identityUsage;
69  };
70 
71 } // namespace Model
72 } // namespace CognitoSync
73 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CognitoSync_EXPORTS.h
Aws::CognitoSync::Model::DescribeIdentityUsageResult::DescribeIdentityUsageResult
DescribeIdentityUsageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CognitoSync::Model::DescribeIdentityUsageResult::operator=
DescribeIdentityUsageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CognitoSync::Model::DescribeIdentityUsageResult::SetIdentityUsage
void SetIdentityUsage(IdentityUsage &&value)
Definition: DescribeIdentityUsageResult.h:54
Aws::CognitoSync::Model::DescribeIdentityUsageResult::WithIdentityUsage
DescribeIdentityUsageResult & WithIdentityUsage(const IdentityUsage &value)
Definition: DescribeIdentityUsageResult.h:59
Aws::CognitoSync::Model::DescribeIdentityUsageResult::GetIdentityUsage
const IdentityUsage & GetIdentityUsage() const
Definition: DescribeIdentityUsageResult.h:44
IdentityUsage.h
Aws::CognitoSync::Model::DescribeIdentityUsageResult::SetIdentityUsage
void SetIdentityUsage(const IdentityUsage &value)
Definition: DescribeIdentityUsageResult.h:49
Aws::CognitoSync::Model::DescribeIdentityUsageResult::DescribeIdentityUsageResult
DescribeIdentityUsageResult()
Aws
Definition: AccessManagementClient.h:15
AWS_COGNITOSYNC_API
#define AWS_COGNITOSYNC_API
Definition: CognitoSync_EXPORTS.h:28
Aws::CognitoSync::Model::IdentityUsage
Definition: IdentityUsage.h:33
Aws::CognitoSync::Model::DescribeIdentityUsageResult
Definition: DescribeIdentityUsageResult.h:34
Aws::CognitoSync::Model::DescribeIdentityUsageResult::WithIdentityUsage
DescribeIdentityUsageResult & WithIdentityUsage(IdentityUsage &&value)
Definition: DescribeIdentityUsageResult.h:64