AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeEntityResult.h
1
6#pragma once
7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/model/EntityType.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace WorkMail
25{
26namespace Model
27{
29 {
30 public:
31 AWS_WORKMAIL_API DescribeEntityResult();
34
35
37
40 inline const Aws::String& GetEntityId() const{ return m_entityId; }
41 inline void SetEntityId(const Aws::String& value) { m_entityId = value; }
42 inline void SetEntityId(Aws::String&& value) { m_entityId = std::move(value); }
43 inline void SetEntityId(const char* value) { m_entityId.assign(value); }
44 inline DescribeEntityResult& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
45 inline DescribeEntityResult& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
46 inline DescribeEntityResult& WithEntityId(const char* value) { SetEntityId(value); return *this;}
48
50
53 inline const Aws::String& GetName() const{ return m_name; }
54 inline void SetName(const Aws::String& value) { m_name = value; }
55 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
56 inline void SetName(const char* value) { m_name.assign(value); }
57 inline DescribeEntityResult& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline DescribeEntityResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline DescribeEntityResult& WithName(const char* value) { SetName(value); return *this;}
61
63
66 inline const EntityType& GetType() const{ return m_type; }
67 inline void SetType(const EntityType& value) { m_type = value; }
68 inline void SetType(EntityType&& value) { m_type = std::move(value); }
69 inline DescribeEntityResult& WithType(const EntityType& value) { SetType(value); return *this;}
70 inline DescribeEntityResult& WithType(EntityType&& value) { SetType(std::move(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline DescribeEntityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline DescribeEntityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline DescribeEntityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_entityId;
86
87 Aws::String m_name;
88
89 EntityType m_type;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace WorkMail
96} // namespace Aws
DescribeEntityResult & WithType(EntityType &&value)
DescribeEntityResult & WithEntityId(const Aws::String &value)
DescribeEntityResult & WithEntityId(Aws::String &&value)
DescribeEntityResult & WithEntityId(const char *value)
AWS_WORKMAIL_API DescribeEntityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEntityResult & WithName(const Aws::String &value)
DescribeEntityResult & WithName(Aws::String &&value)
DescribeEntityResult & WithName(const char *value)
DescribeEntityResult & WithRequestId(const char *value)
void SetRequestId(const Aws::String &value)
AWS_WORKMAIL_API DescribeEntityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEntityResult & WithRequestId(Aws::String &&value)
DescribeEntityResult & WithType(const EntityType &value)
DescribeEntityResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue