/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace WellArchitected
{
namespace Model
{
/**
* An update to a profile question.
See Also:
AWS
* API Reference
*/
class ProfileQuestionUpdate
{
public:
AWS_WELLARCHITECTED_API ProfileQuestionUpdate();
AWS_WELLARCHITECTED_API ProfileQuestionUpdate(Aws::Utils::Json::JsonView jsonValue);
AWS_WELLARCHITECTED_API ProfileQuestionUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
inline const Aws::String& GetQuestionId() const{ return m_questionId; }
inline bool QuestionIdHasBeenSet() const { return m_questionIdHasBeenSet; }
inline void SetQuestionId(const Aws::String& value) { m_questionIdHasBeenSet = true; m_questionId = value; }
inline void SetQuestionId(Aws::String&& value) { m_questionIdHasBeenSet = true; m_questionId = std::move(value); }
inline void SetQuestionId(const char* value) { m_questionIdHasBeenSet = true; m_questionId.assign(value); }
inline ProfileQuestionUpdate& WithQuestionId(const Aws::String& value) { SetQuestionId(value); return *this;}
inline ProfileQuestionUpdate& WithQuestionId(Aws::String&& value) { SetQuestionId(std::move(value)); return *this;}
inline ProfileQuestionUpdate& WithQuestionId(const char* value) { SetQuestionId(value); return *this;}
/**
* The selected choices.
*/
inline const Aws::Vector& GetSelectedChoiceIds() const{ return m_selectedChoiceIds; }
/**
* The selected choices.
*/
inline bool SelectedChoiceIdsHasBeenSet() const { return m_selectedChoiceIdsHasBeenSet; }
/**
* The selected choices.
*/
inline void SetSelectedChoiceIds(const Aws::Vector& value) { m_selectedChoiceIdsHasBeenSet = true; m_selectedChoiceIds = value; }
/**
* The selected choices.
*/
inline void SetSelectedChoiceIds(Aws::Vector&& value) { m_selectedChoiceIdsHasBeenSet = true; m_selectedChoiceIds = std::move(value); }
/**
* The selected choices.
*/
inline ProfileQuestionUpdate& WithSelectedChoiceIds(const Aws::Vector& value) { SetSelectedChoiceIds(value); return *this;}
/**
* The selected choices.
*/
inline ProfileQuestionUpdate& WithSelectedChoiceIds(Aws::Vector&& value) { SetSelectedChoiceIds(std::move(value)); return *this;}
/**
* The selected choices.
*/
inline ProfileQuestionUpdate& AddSelectedChoiceIds(const Aws::String& value) { m_selectedChoiceIdsHasBeenSet = true; m_selectedChoiceIds.push_back(value); return *this; }
/**
* The selected choices.
*/
inline ProfileQuestionUpdate& AddSelectedChoiceIds(Aws::String&& value) { m_selectedChoiceIdsHasBeenSet = true; m_selectedChoiceIds.push_back(std::move(value)); return *this; }
/**
* The selected choices.
*/
inline ProfileQuestionUpdate& AddSelectedChoiceIds(const char* value) { m_selectedChoiceIdsHasBeenSet = true; m_selectedChoiceIds.push_back(value); return *this; }
private:
Aws::String m_questionId;
bool m_questionIdHasBeenSet = false;
Aws::Vector m_selectedChoiceIds;
bool m_selectedChoiceIdsHasBeenSet = false;
};
} // namespace Model
} // namespace WellArchitected
} // namespace Aws