AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateEvaluationFormRequest.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/AWSVector.h>
11#include <aws/connect/model/EvaluationFormScoringStrategy.h>
12#include <aws/connect/model/EvaluationFormItem.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace Connect
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_CONNECT_API UpdateEvaluationFormRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateEvaluationForm"; }
35
36 AWS_CONNECT_API Aws::String SerializePayload() const override;
37
38
40
45 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
46 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
47 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
48 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
49 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
50 inline UpdateEvaluationFormRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
51 inline UpdateEvaluationFormRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
52 inline UpdateEvaluationFormRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
54
56
59 inline const Aws::String& GetEvaluationFormId() const{ return m_evaluationFormId; }
60 inline bool EvaluationFormIdHasBeenSet() const { return m_evaluationFormIdHasBeenSet; }
61 inline void SetEvaluationFormId(const Aws::String& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = value; }
62 inline void SetEvaluationFormId(Aws::String&& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = std::move(value); }
63 inline void SetEvaluationFormId(const char* value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId.assign(value); }
65 inline UpdateEvaluationFormRequest& WithEvaluationFormId(Aws::String&& value) { SetEvaluationFormId(std::move(value)); return *this;}
66 inline UpdateEvaluationFormRequest& WithEvaluationFormId(const char* value) { SetEvaluationFormId(value); return *this;}
68
70
73 inline int GetEvaluationFormVersion() const{ return m_evaluationFormVersion; }
74 inline bool EvaluationFormVersionHasBeenSet() const { return m_evaluationFormVersionHasBeenSet; }
75 inline void SetEvaluationFormVersion(int value) { m_evaluationFormVersionHasBeenSet = true; m_evaluationFormVersion = value; }
78
80
83 inline bool GetCreateNewVersion() const{ return m_createNewVersion; }
84 inline bool CreateNewVersionHasBeenSet() const { return m_createNewVersionHasBeenSet; }
85 inline void SetCreateNewVersion(bool value) { m_createNewVersionHasBeenSet = true; m_createNewVersion = value; }
86 inline UpdateEvaluationFormRequest& WithCreateNewVersion(bool value) { SetCreateNewVersion(value); return *this;}
88
90
93 inline const Aws::String& GetTitle() const{ return m_title; }
94 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
95 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
96 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
97 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
98 inline UpdateEvaluationFormRequest& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
99 inline UpdateEvaluationFormRequest& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
100 inline UpdateEvaluationFormRequest& WithTitle(const char* value) { SetTitle(value); return *this;}
102
104
107 inline const Aws::String& GetDescription() const{ return m_description; }
108 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
109 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
110 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
111 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
112 inline UpdateEvaluationFormRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
113 inline UpdateEvaluationFormRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
114 inline UpdateEvaluationFormRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
116
118
123 inline const Aws::Vector<EvaluationFormItem>& GetItems() const{ return m_items; }
124 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
125 inline void SetItems(const Aws::Vector<EvaluationFormItem>& value) { m_itemsHasBeenSet = true; m_items = value; }
126 inline void SetItems(Aws::Vector<EvaluationFormItem>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
128 inline UpdateEvaluationFormRequest& WithItems(Aws::Vector<EvaluationFormItem>&& value) { SetItems(std::move(value)); return *this;}
129 inline UpdateEvaluationFormRequest& AddItems(const EvaluationFormItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
130 inline UpdateEvaluationFormRequest& AddItems(EvaluationFormItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
132
134
137 inline const EvaluationFormScoringStrategy& GetScoringStrategy() const{ return m_scoringStrategy; }
138 inline bool ScoringStrategyHasBeenSet() const { return m_scoringStrategyHasBeenSet; }
139 inline void SetScoringStrategy(const EvaluationFormScoringStrategy& value) { m_scoringStrategyHasBeenSet = true; m_scoringStrategy = value; }
140 inline void SetScoringStrategy(EvaluationFormScoringStrategy&& value) { m_scoringStrategyHasBeenSet = true; m_scoringStrategy = std::move(value); }
144
146
153 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
154 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
155 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
156 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
157 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
158 inline UpdateEvaluationFormRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
159 inline UpdateEvaluationFormRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
160 inline UpdateEvaluationFormRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
162 private:
163
164 Aws::String m_instanceId;
165 bool m_instanceIdHasBeenSet = false;
166
167 Aws::String m_evaluationFormId;
168 bool m_evaluationFormIdHasBeenSet = false;
169
170 int m_evaluationFormVersion;
171 bool m_evaluationFormVersionHasBeenSet = false;
172
173 bool m_createNewVersion;
174 bool m_createNewVersionHasBeenSet = false;
175
176 Aws::String m_title;
177 bool m_titleHasBeenSet = false;
178
179 Aws::String m_description;
180 bool m_descriptionHasBeenSet = false;
181
183 bool m_itemsHasBeenSet = false;
184
185 EvaluationFormScoringStrategy m_scoringStrategy;
186 bool m_scoringStrategyHasBeenSet = false;
187
188 Aws::String m_clientToken;
189 bool m_clientTokenHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace Connect
194} // namespace Aws
UpdateEvaluationFormRequest & AddItems(const EvaluationFormItem &value)
UpdateEvaluationFormRequest & WithItems(const Aws::Vector< EvaluationFormItem > &value)
UpdateEvaluationFormRequest & WithCreateNewVersion(bool value)
const EvaluationFormScoringStrategy & GetScoringStrategy() const
void SetItems(Aws::Vector< EvaluationFormItem > &&value)
UpdateEvaluationFormRequest & WithTitle(const Aws::String &value)
UpdateEvaluationFormRequest & WithClientToken(Aws::String &&value)
UpdateEvaluationFormRequest & WithInstanceId(const Aws::String &value)
void SetItems(const Aws::Vector< EvaluationFormItem > &value)
void SetScoringStrategy(EvaluationFormScoringStrategy &&value)
void SetScoringStrategy(const EvaluationFormScoringStrategy &value)
const Aws::Vector< EvaluationFormItem > & GetItems() const
UpdateEvaluationFormRequest & WithClientToken(const Aws::String &value)
UpdateEvaluationFormRequest & WithEvaluationFormVersion(int value)
UpdateEvaluationFormRequest & WithEvaluationFormId(const char *value)
UpdateEvaluationFormRequest & WithScoringStrategy(EvaluationFormScoringStrategy &&value)
UpdateEvaluationFormRequest & WithClientToken(const char *value)
UpdateEvaluationFormRequest & WithDescription(const char *value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateEvaluationFormRequest & WithTitle(const char *value)
UpdateEvaluationFormRequest & WithInstanceId(const char *value)
UpdateEvaluationFormRequest & AddItems(EvaluationFormItem &&value)
UpdateEvaluationFormRequest & WithScoringStrategy(const EvaluationFormScoringStrategy &value)
UpdateEvaluationFormRequest & WithDescription(const Aws::String &value)
UpdateEvaluationFormRequest & WithEvaluationFormId(const Aws::String &value)
UpdateEvaluationFormRequest & WithInstanceId(Aws::String &&value)
UpdateEvaluationFormRequest & WithItems(Aws::Vector< EvaluationFormItem > &&value)
virtual const char * GetServiceRequestName() const override
UpdateEvaluationFormRequest & WithDescription(Aws::String &&value)
UpdateEvaluationFormRequest & WithTitle(Aws::String &&value)
UpdateEvaluationFormRequest & WithEvaluationFormId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector