AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartContactEvaluationRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartContactEvaluation"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
45 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
46 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
47 inline StartContactEvaluationRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline StartContactEvaluationRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline StartContactEvaluationRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
56 inline const Aws::String& GetContactId() const{ return m_contactId; }
57 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
58 inline void SetContactId(const Aws::String& value) { m_contactIdHasBeenSet = true; m_contactId = value; }
59 inline void SetContactId(Aws::String&& value) { m_contactIdHasBeenSet = true; m_contactId = std::move(value); }
60 inline void SetContactId(const char* value) { m_contactIdHasBeenSet = true; m_contactId.assign(value); }
61 inline StartContactEvaluationRequest& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
62 inline StartContactEvaluationRequest& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
63 inline StartContactEvaluationRequest& WithContactId(const char* value) { SetContactId(value); return *this;}
65
67
70 inline const Aws::String& GetEvaluationFormId() const{ return m_evaluationFormId; }
71 inline bool EvaluationFormIdHasBeenSet() const { return m_evaluationFormIdHasBeenSet; }
72 inline void SetEvaluationFormId(const Aws::String& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = value; }
73 inline void SetEvaluationFormId(Aws::String&& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = std::move(value); }
74 inline void SetEvaluationFormId(const char* value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId.assign(value); }
76 inline StartContactEvaluationRequest& WithEvaluationFormId(Aws::String&& value) { SetEvaluationFormId(std::move(value)); return *this;}
77 inline StartContactEvaluationRequest& WithEvaluationFormId(const char* value) { SetEvaluationFormId(value); return *this;}
79
81
88 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
89 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
90 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
91 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
92 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
93 inline StartContactEvaluationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
94 inline StartContactEvaluationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
95 inline StartContactEvaluationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
97 private:
98
99 Aws::String m_instanceId;
100 bool m_instanceIdHasBeenSet = false;
101
102 Aws::String m_contactId;
103 bool m_contactIdHasBeenSet = false;
104
105 Aws::String m_evaluationFormId;
106 bool m_evaluationFormIdHasBeenSet = false;
107
108 Aws::String m_clientToken;
109 bool m_clientTokenHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Connect
114} // namespace Aws
StartContactEvaluationRequest & WithEvaluationFormId(const Aws::String &value)
StartContactEvaluationRequest & WithEvaluationFormId(const char *value)
StartContactEvaluationRequest & WithClientToken(const char *value)
StartContactEvaluationRequest & WithContactId(Aws::String &&value)
StartContactEvaluationRequest & WithInstanceId(const char *value)
StartContactEvaluationRequest & WithContactId(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
StartContactEvaluationRequest & WithEvaluationFormId(Aws::String &&value)
StartContactEvaluationRequest & WithInstanceId(const Aws::String &value)
StartContactEvaluationRequest & WithClientToken(const Aws::String &value)
StartContactEvaluationRequest & WithClientToken(Aws::String &&value)
StartContactEvaluationRequest & WithInstanceId(Aws::String &&value)
StartContactEvaluationRequest & WithContactId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String