AWS SDK for C++  1.9.159
AWS SDK for C++
StartTaskContactResult.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 StartTaskContactResult& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
59 
63  inline StartTaskContactResult& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
64 
68  inline StartTaskContactResult& 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::Connect::Model::StartTaskContactResult::WithContactId
StartTaskContactResult & WithContactId(Aws::String &&value)
Definition: StartTaskContactResult.h:63
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::StartTaskContactResult::SetContactId
void SetContactId(Aws::String &&value)
Definition: StartTaskContactResult.h:48
Aws::Connect::Model::StartTaskContactResult::WithContactId
StartTaskContactResult & WithContactId(const Aws::String &value)
Definition: StartTaskContactResult.h:58
Aws::Connect::Model::StartTaskContactResult::StartTaskContactResult
StartTaskContactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::StartTaskContactResult::SetContactId
void SetContactId(const char *value)
Definition: StartTaskContactResult.h:53
Aws::Connect::Model::StartTaskContactResult::StartTaskContactResult
StartTaskContactResult()
Aws::Connect::Model::StartTaskContactResult::WithContactId
StartTaskContactResult & WithContactId(const char *value)
Definition: StartTaskContactResult.h:68
AWSString.h
Aws::Connect::Model::StartTaskContactResult
Definition: StartTaskContactResult.h:28
Aws::Connect::Model::StartTaskContactResult::SetContactId
void SetContactId(const Aws::String &value)
Definition: StartTaskContactResult.h:43
Aws::Connect::Model::StartTaskContactResult::GetContactId
const Aws::String & GetContactId() const
Definition: StartTaskContactResult.h:38
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
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_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::StartTaskContactResult::operator=
StartTaskContactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)