AWS SDK for C++  1.9.153
AWS SDK for C++
GetContactAttributesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Connect
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetContactAttributes"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
39 
43  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 
48  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
49 
53  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
54 
58  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
59 
63  inline GetContactAttributesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
64 
68  inline GetContactAttributesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
69 
73  inline GetContactAttributesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
74 
75 
79  inline const Aws::String& GetInitialContactId() const{ return m_initialContactId; }
80 
84  inline bool InitialContactIdHasBeenSet() const { return m_initialContactIdHasBeenSet; }
85 
89  inline void SetInitialContactId(const Aws::String& value) { m_initialContactIdHasBeenSet = true; m_initialContactId = value; }
90 
94  inline void SetInitialContactId(Aws::String&& value) { m_initialContactIdHasBeenSet = true; m_initialContactId = std::move(value); }
95 
99  inline void SetInitialContactId(const char* value) { m_initialContactIdHasBeenSet = true; m_initialContactId.assign(value); }
100 
104  inline GetContactAttributesRequest& WithInitialContactId(const Aws::String& value) { SetInitialContactId(value); return *this;}
105 
109  inline GetContactAttributesRequest& WithInitialContactId(Aws::String&& value) { SetInitialContactId(std::move(value)); return *this;}
110 
114  inline GetContactAttributesRequest& WithInitialContactId(const char* value) { SetInitialContactId(value); return *this;}
115 
116  private:
117 
118  Aws::String m_instanceId;
119  bool m_instanceIdHasBeenSet;
120 
121  Aws::String m_initialContactId;
122  bool m_initialContactIdHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace Connect
127 } // namespace Aws
Aws::Connect::Model::GetContactAttributesRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: GetContactAttributesRequest.h:48
Aws::Connect::Model::GetContactAttributesRequest::WithInitialContactId
GetContactAttributesRequest & WithInitialContactId(Aws::String &&value)
Definition: GetContactAttributesRequest.h:109
Aws::Connect::Model::GetContactAttributesRequest::InitialContactIdHasBeenSet
bool InitialContactIdHasBeenSet() const
Definition: GetContactAttributesRequest.h:84
Aws::Connect::Model::GetContactAttributesRequest::GetInitialContactId
const Aws::String & GetInitialContactId() const
Definition: GetContactAttributesRequest.h:79
Aws::Connect::Model::GetContactAttributesRequest::SetInitialContactId
void SetInitialContactId(const Aws::String &value)
Definition: GetContactAttributesRequest.h:89
Aws::Connect::Model::GetContactAttributesRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: GetContactAttributesRequest.h:53
Aws::Connect::Model::GetContactAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetContactAttributesRequest.h:30
Aws::Connect::Model::GetContactAttributesRequest::GetContactAttributesRequest
GetContactAttributesRequest()
Aws::Connect::Model::GetContactAttributesRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: GetContactAttributesRequest.h:38
Aws::Connect::Model::GetContactAttributesRequest::WithInstanceId
GetContactAttributesRequest & WithInstanceId(const Aws::String &value)
Definition: GetContactAttributesRequest.h:63
Aws::Connect::Model::GetContactAttributesRequest::WithInitialContactId
GetContactAttributesRequest & WithInitialContactId(const char *value)
Definition: GetContactAttributesRequest.h:114
Aws::Connect::Model::GetContactAttributesRequest::SetInitialContactId
void SetInitialContactId(const char *value)
Definition: GetContactAttributesRequest.h:99
Aws::Connect::Model::GetContactAttributesRequest::WithInstanceId
GetContactAttributesRequest & WithInstanceId(Aws::String &&value)
Definition: GetContactAttributesRequest.h:68
Aws::Connect::Model::GetContactAttributesRequest::SetInitialContactId
void SetInitialContactId(Aws::String &&value)
Definition: GetContactAttributesRequest.h:94
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::GetContactAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::Connect::Model::GetContactAttributesRequest::WithInitialContactId
GetContactAttributesRequest & WithInitialContactId(const Aws::String &value)
Definition: GetContactAttributesRequest.h:104
Aws::Connect::Model::GetContactAttributesRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: GetContactAttributesRequest.h:43
Aws::Connect::Model::GetContactAttributesRequest
Definition: GetContactAttributesRequest.h:22
Aws::Connect::Model::GetContactAttributesRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: GetContactAttributesRequest.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::GetContactAttributesRequest::WithInstanceId
GetContactAttributesRequest & WithInstanceId(const char *value)
Definition: GetContactAttributesRequest.h:73
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
ConnectRequest.h