7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/wellarchitected/model/ProfileTemplateQuestion.h>
24namespace WellArchitected
49 template<
typename TemplateNameT = Aws::String>
50 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet =
true; m_templateName = std::forward<TemplateNameT>(value); }
51 template<
typename TemplateNameT = Aws::String>
61 template<
typename TemplateQuestionsT = Aws::Vector<ProfileTemplateQuestion>>
62 void SetTemplateQuestions(TemplateQuestionsT&& value) { m_templateQuestionsHasBeenSet =
true; m_templateQuestions = std::forward<TemplateQuestionsT>(value); }
63 template<
typename TemplateQuestionsT = Aws::Vector<ProfileTemplateQuestion>>
65 template<
typename TemplateQuestionsT = ProfileTemplateQuestion>
66 ProfileTemplate&
AddTemplateQuestions(TemplateQuestionsT&& value) { m_templateQuestionsHasBeenSet =
true; m_templateQuestions.emplace_back(std::forward<TemplateQuestionsT>(value));
return *
this; }
73 template<
typename CreatedAtT = Aws::Utils::DateTime>
74 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
75 template<
typename CreatedAtT = Aws::Utils::DateTime>
83 template<
typename UpdatedAtT = Aws::Utils::DateTime>
84 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
85 template<
typename UpdatedAtT = Aws::Utils::DateTime>
91 bool m_templateNameHasBeenSet =
false;
94 bool m_templateQuestionsHasBeenSet =
false;
97 bool m_createdAtHasBeenSet =
false;
100 bool m_updatedAtHasBeenSet =
false;
ProfileTemplate & WithTemplateName(TemplateNameT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool TemplateQuestionsHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
void SetTemplateName(TemplateNameT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
AWS_WELLARCHITECTED_API ProfileTemplate(Aws::Utils::Json::JsonView jsonValue)
ProfileTemplate & WithCreatedAt(CreatedAtT &&value)
bool UpdatedAtHasBeenSet() const
AWS_WELLARCHITECTED_API ProfileTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfileTemplate & WithTemplateQuestions(TemplateQuestionsT &&value)
ProfileTemplate & AddTemplateQuestions(TemplateQuestionsT &&value)
bool CreatedAtHasBeenSet() const
ProfileTemplate & WithUpdatedAt(UpdatedAtT &&value)
AWS_WELLARCHITECTED_API ProfileTemplate()=default
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetTemplateQuestions(TemplateQuestionsT &&value)
const Aws::String & GetTemplateName() const
bool TemplateNameHasBeenSet() const
const Aws::Vector< ProfileTemplateQuestion > & GetTemplateQuestions() 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