AWS SDK for C++  1.8.126
AWS SDK for C++
CreateContactResult.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 Aws::String& GetContactArn() const{ return m_contactArn; }
39 
43  inline void SetContactArn(const Aws::String& value) { m_contactArn = value; }
44 
48  inline void SetContactArn(Aws::String&& value) { m_contactArn = std::move(value); }
49 
53  inline void SetContactArn(const char* value) { m_contactArn.assign(value); }
54 
58  inline CreateContactResult& WithContactArn(const Aws::String& value) { SetContactArn(value); return *this;}
59 
63  inline CreateContactResult& WithContactArn(Aws::String&& value) { SetContactArn(std::move(value)); return *this;}
64 
68  inline CreateContactResult& WithContactArn(const char* value) { SetContactArn(value); return *this;}
69 
70  private:
71 
72  Aws::String m_contactArn;
73  };
74 
75 } // namespace Model
76 } // namespace AlexaForBusiness
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AlexaForBusiness::Model::CreateContactResult::SetContactArn
void SetContactArn(const Aws::String &value)
Definition: CreateContactResult.h:43
Aws::AlexaForBusiness::Model::CreateContactResult::SetContactArn
void SetContactArn(const char *value)
Definition: CreateContactResult.h:53
Aws::AlexaForBusiness::Model::CreateContactResult::SetContactArn
void SetContactArn(Aws::String &&value)
Definition: CreateContactResult.h:48
Aws::AlexaForBusiness::Model::CreateContactResult::CreateContactResult
CreateContactResult()
Aws::AlexaForBusiness::Model::CreateContactResult::WithContactArn
CreateContactResult & WithContactArn(const char *value)
Definition: CreateContactResult.h:68
Aws::AlexaForBusiness::Model::CreateContactResult::WithContactArn
CreateContactResult & WithContactArn(Aws::String &&value)
Definition: CreateContactResult.h:63
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
AWSString.h
Aws::AlexaForBusiness::Model::CreateContactResult::GetContactArn
const Aws::String & GetContactArn() const
Definition: CreateContactResult.h:38
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::CreateContactResult::WithContactArn
CreateContactResult & WithContactArn(const Aws::String &value)
Definition: CreateContactResult.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::CreateContactResult
Definition: CreateContactResult.h:28
Aws::AlexaForBusiness::Model::CreateContactResult::operator=
CreateContactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AlexaForBusiness::Model::CreateContactResult::CreateContactResult
CreateContactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)