AWS SDK for C++  1.9.71
AWS SDK for C++
GetContactResult.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 AlexaForBusiness
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Contact& GetContact() const{ return m_contact; }
39 
43  inline void SetContact(const Contact& value) { m_contact = value; }
44 
48  inline void SetContact(Contact&& value) { m_contact = std::move(value); }
49 
53  inline GetContactResult& WithContact(const Contact& value) { SetContact(value); return *this;}
54 
58  inline GetContactResult& WithContact(Contact&& value) { SetContact(std::move(value)); return *this;}
59 
60  private:
61 
62  Contact m_contact;
63  };
64 
65 } // namespace Model
66 } // namespace AlexaForBusiness
67 } // namespace Aws
Aws::AlexaForBusiness::Model::GetContactResult::operator=
GetContactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AlexaForBusiness::Model::GetContactResult
Definition: GetContactResult.h:28
Aws::AlexaForBusiness::Model::Contact
Definition: Contact.h:35
Aws::AlexaForBusiness::Model::GetContactResult::SetContact
void SetContact(Contact &&value)
Definition: GetContactResult.h:48
Aws::AlexaForBusiness::Model::GetContactResult::GetContactResult
GetContactResult()
Aws::AlexaForBusiness::Model::GetContactResult::WithContact
GetContactResult & WithContact(Contact &&value)
Definition: GetContactResult.h:58
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::GetContactResult::GetContact
const Contact & GetContact() const
Definition: GetContactResult.h:38
Aws::AlexaForBusiness::Model::GetContactResult::GetContactResult
GetContactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AlexaForBusiness::Model::GetContactResult::SetContact
void SetContact(const Contact &value)
Definition: GetContactResult.h:43
AlexaForBusiness_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Contact.h
Aws::AlexaForBusiness::Model::GetContactResult::WithContact
GetContactResult & WithContact(const Contact &value)
Definition: GetContactResult.h:53