AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPillarId(const Aws::String& value) { m_pillarIdHasBeenSet = true; m_pillarId = value; }
46 inline void SetPillarId(Aws::String&& value) { m_pillarIdHasBeenSet = true; m_pillarId = std::move(value); }
47 inline void SetPillarId(const char* value) { m_pillarIdHasBeenSet = true; m_pillarId.assign(value); }
48 inline SelectedPillar& WithPillarId(const Aws::String& value) { SetPillarId(value); return *this;}
49 inline SelectedPillar& WithPillarId(Aws::String&& value) { SetPillarId(std::move(value)); return *this;}
50 inline SelectedPillar& WithPillarId(const char* value) { SetPillarId(value); return *this;}
52
54
57 inline const Aws::Vector<Aws::String>& GetSelectedQuestionIds() const{ return m_selectedQuestionIds; }
58 inline bool SelectedQuestionIdsHasBeenSet() const { return m_selectedQuestionIdsHasBeenSet; }
59 inline void SetSelectedQuestionIds(const Aws::Vector<Aws::String>& value) { m_selectedQuestionIdsHasBeenSet = true; m_selectedQuestionIds = value; }
60 inline void SetSelectedQuestionIds(Aws::Vector<Aws::String>&& value) { m_selectedQuestionIdsHasBeenSet = true; m_selectedQuestionIds = std::move(value); }
63 inline SelectedPillar& AddSelectedQuestionIds(const Aws::String& value) { m_selectedQuestionIdsHasBeenSet = true; m_selectedQuestionIds.push_back(value); return *this; }
64 inline SelectedPillar& AddSelectedQuestionIds(Aws::String&& value) { m_selectedQuestionIdsHasBeenSet = true; m_selectedQuestionIds.push_back(std::move(value)); return *this; }
65 inline SelectedPillar& AddSelectedQuestionIds(const char* value) { m_selectedQuestionIdsHasBeenSet = true; m_selectedQuestionIds.push_back(value); return *this; }
67 private:
68
69 Aws::String m_pillarId;
70 bool m_pillarIdHasBeenSet = false;
71
72 Aws::Vector<Aws::String> m_selectedQuestionIds;
73 bool m_selectedQuestionIdsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace WellArchitected
78} // namespace Aws
SelectedPillar & AddSelectedQuestionIds(Aws::String &&value)
void SetSelectedQuestionIds(const Aws::Vector< Aws::String > &value)
SelectedPillar & AddSelectedQuestionIds(const char *value)
SelectedPillar & WithSelectedQuestionIds(const Aws::Vector< Aws::String > &value)
SelectedPillar & AddSelectedQuestionIds(const Aws::String &value)
const Aws::String & GetPillarId() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
SelectedPillar & WithPillarId(const Aws::String &value)
SelectedPillar & WithPillarId(const char *value)
SelectedPillar & WithPillarId(Aws::String &&value)
void SetSelectedQuestionIds(Aws::Vector< Aws::String > &&value)
void SetPillarId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSelectedQuestionIds() const
AWS_WELLARCHITECTED_API SelectedPillar & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WELLARCHITECTED_API SelectedPillar()
SelectedPillar & WithSelectedQuestionIds(Aws::Vector< Aws::String > &&value)
AWS_WELLARCHITECTED_API SelectedPillar(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue