AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EvaluationFormContent.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/connect/model/EvaluationFormScoringStrategy.h>
11#include <aws/connect/model/EvaluationFormItem.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CONNECT_API EvaluationFormContent() = default;
41 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline int GetEvaluationFormVersion() const { return m_evaluationFormVersion; }
49 inline bool EvaluationFormVersionHasBeenSet() const { return m_evaluationFormVersionHasBeenSet; }
50 inline void SetEvaluationFormVersion(int value) { m_evaluationFormVersionHasBeenSet = true; m_evaluationFormVersion = value; }
53
55
58 inline const Aws::String& GetEvaluationFormId() const { return m_evaluationFormId; }
59 inline bool EvaluationFormIdHasBeenSet() const { return m_evaluationFormIdHasBeenSet; }
60 template<typename EvaluationFormIdT = Aws::String>
61 void SetEvaluationFormId(EvaluationFormIdT&& value) { m_evaluationFormIdHasBeenSet = true; m_evaluationFormId = std::forward<EvaluationFormIdT>(value); }
62 template<typename EvaluationFormIdT = Aws::String>
63 EvaluationFormContent& WithEvaluationFormId(EvaluationFormIdT&& value) { SetEvaluationFormId(std::forward<EvaluationFormIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetEvaluationFormArn() const { return m_evaluationFormArn; }
71 inline bool EvaluationFormArnHasBeenSet() const { return m_evaluationFormArnHasBeenSet; }
72 template<typename EvaluationFormArnT = Aws::String>
73 void SetEvaluationFormArn(EvaluationFormArnT&& value) { m_evaluationFormArnHasBeenSet = true; m_evaluationFormArn = std::forward<EvaluationFormArnT>(value); }
74 template<typename EvaluationFormArnT = Aws::String>
75 EvaluationFormContent& WithEvaluationFormArn(EvaluationFormArnT&& value) { SetEvaluationFormArn(std::forward<EvaluationFormArnT>(value)); return *this;}
77
79
82 inline const Aws::String& GetTitle() const { return m_title; }
83 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
84 template<typename TitleT = Aws::String>
85 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
86 template<typename TitleT = Aws::String>
87 EvaluationFormContent& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template<typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
98 template<typename DescriptionT = Aws::String>
99 EvaluationFormContent& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
101
103
108 inline const Aws::Vector<EvaluationFormItem>& GetItems() const { return m_items; }
109 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
110 template<typename ItemsT = Aws::Vector<EvaluationFormItem>>
111 void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
112 template<typename ItemsT = Aws::Vector<EvaluationFormItem>>
113 EvaluationFormContent& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
114 template<typename ItemsT = EvaluationFormItem>
115 EvaluationFormContent& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
117
119
122 inline const EvaluationFormScoringStrategy& GetScoringStrategy() const { return m_scoringStrategy; }
123 inline bool ScoringStrategyHasBeenSet() const { return m_scoringStrategyHasBeenSet; }
124 template<typename ScoringStrategyT = EvaluationFormScoringStrategy>
125 void SetScoringStrategy(ScoringStrategyT&& value) { m_scoringStrategyHasBeenSet = true; m_scoringStrategy = std::forward<ScoringStrategyT>(value); }
126 template<typename ScoringStrategyT = EvaluationFormScoringStrategy>
127 EvaluationFormContent& WithScoringStrategy(ScoringStrategyT&& value) { SetScoringStrategy(std::forward<ScoringStrategyT>(value)); return *this;}
129 private:
130
131 int m_evaluationFormVersion{0};
132 bool m_evaluationFormVersionHasBeenSet = false;
133
134 Aws::String m_evaluationFormId;
135 bool m_evaluationFormIdHasBeenSet = false;
136
137 Aws::String m_evaluationFormArn;
138 bool m_evaluationFormArnHasBeenSet = false;
139
140 Aws::String m_title;
141 bool m_titleHasBeenSet = false;
142
143 Aws::String m_description;
144 bool m_descriptionHasBeenSet = false;
145
147 bool m_itemsHasBeenSet = false;
148
149 EvaluationFormScoringStrategy m_scoringStrategy;
150 bool m_scoringStrategyHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace Connect
155} // namespace Aws
EvaluationFormContent & WithEvaluationFormArn(EvaluationFormArnT &&value)
EvaluationFormContent & WithEvaluationFormId(EvaluationFormIdT &&value)
EvaluationFormContent & WithTitle(TitleT &&value)
void SetEvaluationFormId(EvaluationFormIdT &&value)
AWS_CONNECT_API EvaluationFormContent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEvaluationFormArn(EvaluationFormArnT &&value)
EvaluationFormContent & AddItems(ItemsT &&value)
AWS_CONNECT_API EvaluationFormContent(Aws::Utils::Json::JsonView jsonValue)
EvaluationFormContent & WithDescription(DescriptionT &&value)
AWS_CONNECT_API EvaluationFormContent()=default
void SetScoringStrategy(ScoringStrategyT &&value)
EvaluationFormContent & WithEvaluationFormVersion(int value)
const Aws::Vector< EvaluationFormItem > & GetItems() const
EvaluationFormContent & WithScoringStrategy(ScoringStrategyT &&value)
EvaluationFormContent & WithItems(ItemsT &&value)
const EvaluationFormScoringStrategy & GetScoringStrategy() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue