AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProfileTemplate.h
1
6#pragma once
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>
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 WellArchitected
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_WELLARCHITECTED_API ProfileTemplate();
38 AWS_WELLARCHITECTED_API ProfileTemplate(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WELLARCHITECTED_API ProfileTemplate& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
48 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
49 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
50 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
51 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
52 inline ProfileTemplate& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
53 inline ProfileTemplate& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
54 inline ProfileTemplate& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
56
58
61 inline const Aws::Vector<ProfileTemplateQuestion>& GetTemplateQuestions() const{ return m_templateQuestions; }
62 inline bool TemplateQuestionsHasBeenSet() const { return m_templateQuestionsHasBeenSet; }
63 inline void SetTemplateQuestions(const Aws::Vector<ProfileTemplateQuestion>& value) { m_templateQuestionsHasBeenSet = true; m_templateQuestions = value; }
64 inline void SetTemplateQuestions(Aws::Vector<ProfileTemplateQuestion>&& value) { m_templateQuestionsHasBeenSet = true; m_templateQuestions = std::move(value); }
67 inline ProfileTemplate& AddTemplateQuestions(const ProfileTemplateQuestion& value) { m_templateQuestionsHasBeenSet = true; m_templateQuestions.push_back(value); return *this; }
68 inline ProfileTemplate& AddTemplateQuestions(ProfileTemplateQuestion&& value) { m_templateQuestionsHasBeenSet = true; m_templateQuestions.push_back(std::move(value)); return *this; }
70
72
73 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
74 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
75 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
76 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
77 inline ProfileTemplate& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
78 inline ProfileTemplate& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
80
82
83 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
84 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
85 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
86 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
87 inline ProfileTemplate& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
88 inline ProfileTemplate& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
90 private:
91
92 Aws::String m_templateName;
93 bool m_templateNameHasBeenSet = false;
94
95 Aws::Vector<ProfileTemplateQuestion> m_templateQuestions;
96 bool m_templateQuestionsHasBeenSet = false;
97
98 Aws::Utils::DateTime m_createdAt;
99 bool m_createdAtHasBeenSet = false;
100
101 Aws::Utils::DateTime m_updatedAt;
102 bool m_updatedAtHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace WellArchitected
107} // namespace Aws
ProfileTemplate & WithTemplateName(const char *value)
const Aws::Utils::DateTime & GetUpdatedAt() const
ProfileTemplate & WithTemplateName(Aws::String &&value)
void SetTemplateName(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
ProfileTemplate & WithTemplateQuestions(Aws::Vector< ProfileTemplateQuestion > &&value)
ProfileTemplate & WithTemplateName(const Aws::String &value)
AWS_WELLARCHITECTED_API ProfileTemplate(Aws::Utils::Json::JsonView jsonValue)
ProfileTemplate & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetTemplateQuestions(const Aws::Vector< ProfileTemplateQuestion > &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_WELLARCHITECTED_API ProfileTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfileTemplate & WithUpdatedAt(const Aws::Utils::DateTime &value)
AWS_WELLARCHITECTED_API ProfileTemplate()
ProfileTemplate & WithCreatedAt(Aws::Utils::DateTime &&value)
ProfileTemplate & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetTemplateQuestions(Aws::Vector< ProfileTemplateQuestion > &&value)
ProfileTemplate & AddTemplateQuestions(const ProfileTemplateQuestion &value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetTemplateName() const
const Aws::Vector< ProfileTemplateQuestion > & GetTemplateQuestions() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
ProfileTemplate & AddTemplateQuestions(ProfileTemplateQuestion &&value)
ProfileTemplate & WithTemplateQuestions(const Aws::Vector< ProfileTemplateQuestion > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue