AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateEvaluationFormRequest.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 CreateEvaluationFormRequest();
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 "CreateEvaluationForm"; }
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 CreateEvaluationFormRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
51 inline CreateEvaluationFormRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
52 inline CreateEvaluationFormRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
54
56
59 inline const Aws::String& GetTitle() const{ return m_title; }
60 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
61 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
62 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
63 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
64 inline CreateEvaluationFormRequest& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
65 inline CreateEvaluationFormRequest& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
66 inline CreateEvaluationFormRequest& WithTitle(const char* value) { SetTitle(value); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline CreateEvaluationFormRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline CreateEvaluationFormRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline CreateEvaluationFormRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
89 inline const Aws::Vector<EvaluationFormItem>& GetItems() const{ return m_items; }
90 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
91 inline void SetItems(const Aws::Vector<EvaluationFormItem>& value) { m_itemsHasBeenSet = true; m_items = value; }
92 inline void SetItems(Aws::Vector<EvaluationFormItem>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
94 inline CreateEvaluationFormRequest& WithItems(Aws::Vector<EvaluationFormItem>&& value) { SetItems(std::move(value)); return *this;}
95 inline CreateEvaluationFormRequest& AddItems(const EvaluationFormItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
96 inline CreateEvaluationFormRequest& AddItems(EvaluationFormItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
98
100
103 inline const EvaluationFormScoringStrategy& GetScoringStrategy() const{ return m_scoringStrategy; }
104 inline bool ScoringStrategyHasBeenSet() const { return m_scoringStrategyHasBeenSet; }
105 inline void SetScoringStrategy(const EvaluationFormScoringStrategy& value) { m_scoringStrategyHasBeenSet = true; m_scoringStrategy = value; }
106 inline void SetScoringStrategy(EvaluationFormScoringStrategy&& value) { m_scoringStrategyHasBeenSet = true; m_scoringStrategy = std::move(value); }
110
112
119 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
120 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
121 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
122 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
123 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
124 inline CreateEvaluationFormRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
125 inline CreateEvaluationFormRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
126 inline CreateEvaluationFormRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
128 private:
129
130 Aws::String m_instanceId;
131 bool m_instanceIdHasBeenSet = false;
132
133 Aws::String m_title;
134 bool m_titleHasBeenSet = false;
135
136 Aws::String m_description;
137 bool m_descriptionHasBeenSet = false;
138
140 bool m_itemsHasBeenSet = false;
141
142 EvaluationFormScoringStrategy m_scoringStrategy;
143 bool m_scoringStrategyHasBeenSet = false;
144
145 Aws::String m_clientToken;
146 bool m_clientTokenHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace Connect
151} // namespace Aws
const EvaluationFormScoringStrategy & GetScoringStrategy() const
CreateEvaluationFormRequest & AddItems(const EvaluationFormItem &value)
void SetItems(Aws::Vector< EvaluationFormItem > &&value)
CreateEvaluationFormRequest & WithClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateEvaluationFormRequest & WithTitle(const Aws::String &value)
CreateEvaluationFormRequest & WithScoringStrategy(EvaluationFormScoringStrategy &&value)
CreateEvaluationFormRequest & AddItems(EvaluationFormItem &&value)
CreateEvaluationFormRequest & WithClientToken(Aws::String &&value)
CreateEvaluationFormRequest & WithTitle(Aws::String &&value)
CreateEvaluationFormRequest & WithDescription(const Aws::String &value)
const Aws::Vector< EvaluationFormItem > & GetItems() const
void SetScoringStrategy(EvaluationFormScoringStrategy &&value)
CreateEvaluationFormRequest & WithDescription(const char *value)
CreateEvaluationFormRequest & WithClientToken(const char *value)
CreateEvaluationFormRequest & WithInstanceId(const Aws::String &value)
CreateEvaluationFormRequest & WithInstanceId(const char *value)
CreateEvaluationFormRequest & WithDescription(Aws::String &&value)
void SetItems(const Aws::Vector< EvaluationFormItem > &value)
CreateEvaluationFormRequest & WithScoringStrategy(const EvaluationFormScoringStrategy &value)
CreateEvaluationFormRequest & WithInstanceId(Aws::String &&value)
CreateEvaluationFormRequest & WithItems(const Aws::Vector< EvaluationFormItem > &value)
CreateEvaluationFormRequest & WithItems(Aws::Vector< EvaluationFormItem > &&value)
CreateEvaluationFormRequest & WithTitle(const char *value)
AWS_CONNECT_API Aws::String SerializePayload() const override
void SetScoringStrategy(const EvaluationFormScoringStrategy &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector