AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
SelectedPillar.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace WellArchitected {
21namespace Model {
22
29 public:
30 AWS_WELLARCHITECTED_API SelectedPillar() = default;
31 AWS_WELLARCHITECTED_API SelectedPillar(Aws::Utils::Json::JsonView jsonValue);
32 AWS_WELLARCHITECTED_API SelectedPillar& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const Aws::String& GetPillarId() const { return m_pillarId; }
38 inline bool PillarIdHasBeenSet() const { return m_pillarIdHasBeenSet; }
39 template <typename PillarIdT = Aws::String>
40 void SetPillarId(PillarIdT&& value) {
41 m_pillarIdHasBeenSet = true;
42 m_pillarId = std::forward<PillarIdT>(value);
43 }
44 template <typename PillarIdT = Aws::String>
45 SelectedPillar& WithPillarId(PillarIdT&& value) {
46 SetPillarId(std::forward<PillarIdT>(value));
47 return *this;
48 }
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) {
59 m_selectedQuestionIdsHasBeenSet = true;
60 m_selectedQuestionIds = std::forward<SelectedQuestionIdsT>(value);
61 }
62 template <typename SelectedQuestionIdsT = Aws::Vector<Aws::String>>
63 SelectedPillar& WithSelectedQuestionIds(SelectedQuestionIdsT&& value) {
64 SetSelectedQuestionIds(std::forward<SelectedQuestionIdsT>(value));
65 return *this;
66 }
67 template <typename SelectedQuestionIdsT = Aws::String>
68 SelectedPillar& AddSelectedQuestionIds(SelectedQuestionIdsT&& value) {
69 m_selectedQuestionIdsHasBeenSet = true;
70 m_selectedQuestionIds.emplace_back(std::forward<SelectedQuestionIdsT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_pillarId;
76 bool m_pillarIdHasBeenSet = false;
77
78 Aws::Vector<Aws::String> m_selectedQuestionIds;
79 bool m_selectedQuestionIdsHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace WellArchitected
84} // 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