AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateContactEvaluationRequest.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 <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/connect/model/EvaluationAnswerInput.h>
12#include <aws/connect/model/EvaluationNote.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Connect
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateContactEvaluation"; }
34
35 AWS_CONNECT_API Aws::String SerializePayload() const override;
36
37
39
44 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
45 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
46 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
47 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
48 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
49 inline UpdateContactEvaluationRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
50 inline UpdateContactEvaluationRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
51 inline UpdateContactEvaluationRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
53
55
58 inline const Aws::String& GetEvaluationId() const{ return m_evaluationId; }
59 inline bool EvaluationIdHasBeenSet() const { return m_evaluationIdHasBeenSet; }
60 inline void SetEvaluationId(const Aws::String& value) { m_evaluationIdHasBeenSet = true; m_evaluationId = value; }
61 inline void SetEvaluationId(Aws::String&& value) { m_evaluationIdHasBeenSet = true; m_evaluationId = std::move(value); }
62 inline void SetEvaluationId(const char* value) { m_evaluationIdHasBeenSet = true; m_evaluationId.assign(value); }
63 inline UpdateContactEvaluationRequest& WithEvaluationId(const Aws::String& value) { SetEvaluationId(value); return *this;}
64 inline UpdateContactEvaluationRequest& WithEvaluationId(Aws::String&& value) { SetEvaluationId(std::move(value)); return *this;}
65 inline UpdateContactEvaluationRequest& WithEvaluationId(const char* value) { SetEvaluationId(value); return *this;}
67
69
72 inline const Aws::Map<Aws::String, EvaluationAnswerInput>& GetAnswers() const{ return m_answers; }
73 inline bool AnswersHasBeenSet() const { return m_answersHasBeenSet; }
74 inline void SetAnswers(const Aws::Map<Aws::String, EvaluationAnswerInput>& value) { m_answersHasBeenSet = true; m_answers = value; }
75 inline void SetAnswers(Aws::Map<Aws::String, EvaluationAnswerInput>&& value) { m_answersHasBeenSet = true; m_answers = std::move(value); }
78 inline UpdateContactEvaluationRequest& AddAnswers(const Aws::String& key, const EvaluationAnswerInput& value) { m_answersHasBeenSet = true; m_answers.emplace(key, value); return *this; }
79 inline UpdateContactEvaluationRequest& AddAnswers(Aws::String&& key, const EvaluationAnswerInput& value) { m_answersHasBeenSet = true; m_answers.emplace(std::move(key), value); return *this; }
80 inline UpdateContactEvaluationRequest& AddAnswers(const Aws::String& key, EvaluationAnswerInput&& value) { m_answersHasBeenSet = true; m_answers.emplace(key, std::move(value)); return *this; }
81 inline UpdateContactEvaluationRequest& AddAnswers(Aws::String&& key, EvaluationAnswerInput&& value) { m_answersHasBeenSet = true; m_answers.emplace(std::move(key), std::move(value)); return *this; }
82 inline UpdateContactEvaluationRequest& AddAnswers(const char* key, EvaluationAnswerInput&& value) { m_answersHasBeenSet = true; m_answers.emplace(key, std::move(value)); return *this; }
83 inline UpdateContactEvaluationRequest& AddAnswers(const char* key, const EvaluationAnswerInput& value) { m_answersHasBeenSet = true; m_answers.emplace(key, value); return *this; }
85
87
90 inline const Aws::Map<Aws::String, EvaluationNote>& GetNotes() const{ return m_notes; }
91 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
92 inline void SetNotes(const Aws::Map<Aws::String, EvaluationNote>& value) { m_notesHasBeenSet = true; m_notes = value; }
93 inline void SetNotes(Aws::Map<Aws::String, EvaluationNote>&& value) { m_notesHasBeenSet = true; m_notes = std::move(value); }
96 inline UpdateContactEvaluationRequest& AddNotes(const Aws::String& key, const EvaluationNote& value) { m_notesHasBeenSet = true; m_notes.emplace(key, value); return *this; }
97 inline UpdateContactEvaluationRequest& AddNotes(Aws::String&& key, const EvaluationNote& value) { m_notesHasBeenSet = true; m_notes.emplace(std::move(key), value); return *this; }
98 inline UpdateContactEvaluationRequest& AddNotes(const Aws::String& key, EvaluationNote&& value) { m_notesHasBeenSet = true; m_notes.emplace(key, std::move(value)); return *this; }
99 inline UpdateContactEvaluationRequest& AddNotes(Aws::String&& key, EvaluationNote&& value) { m_notesHasBeenSet = true; m_notes.emplace(std::move(key), std::move(value)); return *this; }
100 inline UpdateContactEvaluationRequest& AddNotes(const char* key, EvaluationNote&& value) { m_notesHasBeenSet = true; m_notes.emplace(key, std::move(value)); return *this; }
101 inline UpdateContactEvaluationRequest& AddNotes(const char* key, const EvaluationNote& value) { m_notesHasBeenSet = true; m_notes.emplace(key, value); return *this; }
103 private:
104
105 Aws::String m_instanceId;
106 bool m_instanceIdHasBeenSet = false;
107
108 Aws::String m_evaluationId;
109 bool m_evaluationIdHasBeenSet = false;
110
112 bool m_answersHasBeenSet = false;
113
115 bool m_notesHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Connect
120} // namespace Aws
UpdateContactEvaluationRequest & WithEvaluationId(const char *value)
UpdateContactEvaluationRequest & WithAnswers(Aws::Map< Aws::String, EvaluationAnswerInput > &&value)
UpdateContactEvaluationRequest & AddNotes(Aws::String &&key, const EvaluationNote &value)
UpdateContactEvaluationRequest & WithInstanceId(const char *value)
UpdateContactEvaluationRequest & AddNotes(const char *key, const EvaluationNote &value)
UpdateContactEvaluationRequest & AddNotes(const Aws::String &key, EvaluationNote &&value)
UpdateContactEvaluationRequest & AddAnswers(Aws::String &&key, EvaluationAnswerInput &&value)
void SetAnswers(Aws::Map< Aws::String, EvaluationAnswerInput > &&value)
UpdateContactEvaluationRequest & AddNotes(Aws::String &&key, EvaluationNote &&value)
UpdateContactEvaluationRequest & AddNotes(const Aws::String &key, const EvaluationNote &value)
UpdateContactEvaluationRequest & AddAnswers(const Aws::String &key, EvaluationAnswerInput &&value)
UpdateContactEvaluationRequest & WithInstanceId(Aws::String &&value)
UpdateContactEvaluationRequest & AddAnswers(Aws::String &&key, const EvaluationAnswerInput &value)
UpdateContactEvaluationRequest & AddAnswers(const Aws::String &key, const EvaluationAnswerInput &value)
UpdateContactEvaluationRequest & WithEvaluationId(const Aws::String &value)
void SetNotes(const Aws::Map< Aws::String, EvaluationNote > &value)
UpdateContactEvaluationRequest & AddNotes(const char *key, EvaluationNote &&value)
const Aws::Map< Aws::String, EvaluationNote > & GetNotes() const
UpdateContactEvaluationRequest & WithAnswers(const Aws::Map< Aws::String, EvaluationAnswerInput > &value)
UpdateContactEvaluationRequest & WithInstanceId(const Aws::String &value)
const Aws::Map< Aws::String, EvaluationAnswerInput > & GetAnswers() const
UpdateContactEvaluationRequest & WithNotes(Aws::Map< Aws::String, EvaluationNote > &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
void SetAnswers(const Aws::Map< Aws::String, EvaluationAnswerInput > &value)
UpdateContactEvaluationRequest & AddAnswers(const char *key, EvaluationAnswerInput &&value)
UpdateContactEvaluationRequest & AddAnswers(const char *key, const EvaluationAnswerInput &value)
void SetNotes(Aws::Map< Aws::String, EvaluationNote > &&value)
UpdateContactEvaluationRequest & WithNotes(const Aws::Map< Aws::String, EvaluationNote > &value)
UpdateContactEvaluationRequest & WithEvaluationId(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String