AWS SDK for C++  1.8.126
AWS SDK for C++
StartOutboundVoiceContactResult.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 Connect
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetContactId() const{ return m_contactId; }
39 
43  inline void SetContactId(const Aws::String& value) { m_contactId = value; }
44 
48  inline void SetContactId(Aws::String&& value) { m_contactId = std::move(value); }
49 
53  inline void SetContactId(const char* value) { m_contactId.assign(value); }
54 
58  inline StartOutboundVoiceContactResult& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
59 
63  inline StartOutboundVoiceContactResult& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
64 
68  inline StartOutboundVoiceContactResult& WithContactId(const char* value) { SetContactId(value); return *this;}
69 
70  private:
71 
72  Aws::String m_contactId;
73  };
74 
75 } // namespace Model
76 } // namespace Connect
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::StartOutboundVoiceContactResult
Definition: StartOutboundVoiceContactResult.h:28
Aws::Connect::Model::StartOutboundVoiceContactResult::SetContactId
void SetContactId(const Aws::String &value)
Definition: StartOutboundVoiceContactResult.h:43
Aws::Connect::Model::StartOutboundVoiceContactResult::operator=
StartOutboundVoiceContactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::StartOutboundVoiceContactResult::GetContactId
const Aws::String & GetContactId() const
Definition: StartOutboundVoiceContactResult.h:38
Aws::Connect::Model::StartOutboundVoiceContactResult::WithContactId
StartOutboundVoiceContactResult & WithContactId(const char *value)
Definition: StartOutboundVoiceContactResult.h:68
Aws::Connect::Model::StartOutboundVoiceContactResult::StartOutboundVoiceContactResult
StartOutboundVoiceContactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::Connect::Model::StartOutboundVoiceContactResult::StartOutboundVoiceContactResult
StartOutboundVoiceContactResult()
Aws::Connect::Model::StartOutboundVoiceContactResult::SetContactId
void SetContactId(const char *value)
Definition: StartOutboundVoiceContactResult.h:53
Aws::Connect::Model::StartOutboundVoiceContactResult::WithContactId
StartOutboundVoiceContactResult & WithContactId(const Aws::String &value)
Definition: StartOutboundVoiceContactResult.h:58
Aws::Connect::Model::StartOutboundVoiceContactResult::WithContactId
StartOutboundVoiceContactResult & WithContactId(Aws::String &&value)
Definition: StartOutboundVoiceContactResult.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::StartOutboundVoiceContactResult::SetContactId
void SetContactId(Aws::String &&value)
Definition: StartOutboundVoiceContactResult.h:48
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h