AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SelectedPillar.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WellArchitected
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WELLARCHITECTED_API SelectedPillar() = default;
36 AWS_WELLARCHITECTED_API SelectedPillar(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WELLARCHITECTED_API SelectedPillar& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetPillarId() const { return m_pillarId; }
44 inline bool PillarIdHasBeenSet() const { return m_pillarIdHasBeenSet; }
45 template<typename PillarIdT = Aws::String>
46 void SetPillarId(PillarIdT&& value) { m_pillarIdHasBeenSet = true; m_pillarId = std::forward<PillarIdT>(value); }
47 template<typename PillarIdT = Aws::String>
48 SelectedPillar& WithPillarId(PillarIdT&& value) { SetPillarId(std::forward<PillarIdT>(value)); return *this;}
50
52
55 inline const Aws::Vector<Aws::String>& GetSelectedQuestionIds() const { return m_selectedQuestionIds; }
56 inline bool SelectedQuestionIdsHasBeenSet() const { return m_selectedQuestionIdsHasBeenSet; }
57 template<typename SelectedQuestionIdsT = Aws::Vector<Aws::String>>
58 void SetSelectedQuestionIds(SelectedQuestionIdsT&& value) { m_selectedQuestionIdsHasBeenSet = true; m_selectedQuestionIds = std::forward<SelectedQuestionIdsT>(value); }
59 template<typename SelectedQuestionIdsT = Aws::Vector<Aws::String>>
60 SelectedPillar& WithSelectedQuestionIds(SelectedQuestionIdsT&& value) { SetSelectedQuestionIds(std::forward<SelectedQuestionIdsT>(value)); return *this;}
61 template<typename SelectedQuestionIdsT = Aws::String>
62 SelectedPillar& AddSelectedQuestionIds(SelectedQuestionIdsT&& value) { m_selectedQuestionIdsHasBeenSet = true; m_selectedQuestionIds.emplace_back(std::forward<SelectedQuestionIdsT>(value)); return *this; }
64 private:
65
66 Aws::String m_pillarId;
67 bool m_pillarIdHasBeenSet = false;
68
69 Aws::Vector<Aws::String> m_selectedQuestionIds;
70 bool m_selectedQuestionIdsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace WellArchitected
75} // namespace Aws
const Aws::String & GetPillarId() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
SelectedPillar & WithSelectedQuestionIds(SelectedQuestionIdsT &&value)
SelectedPillar & AddSelectedQuestionIds(SelectedQuestionIdsT &&value)
const Aws::Vector< Aws::String > & GetSelectedQuestionIds() const
AWS_WELLARCHITECTED_API SelectedPillar & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSelectedQuestionIds(SelectedQuestionIdsT &&value)
AWS_WELLARCHITECTED_API SelectedPillar()=default
AWS_WELLARCHITECTED_API SelectedPillar(Aws::Utils::Json::JsonView jsonValue)
SelectedPillar & WithPillarId(PillarIdT &&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