/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace WellArchitected
{
namespace Model
{
/**
* A pillar difference return object.
See Also:
AWS
* API Reference
*/
class PillarDifference
{
public:
AWS_WELLARCHITECTED_API PillarDifference();
AWS_WELLARCHITECTED_API PillarDifference(Aws::Utils::Json::JsonView jsonValue);
AWS_WELLARCHITECTED_API PillarDifference& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
inline const Aws::String& GetPillarId() const{ return m_pillarId; }
inline bool PillarIdHasBeenSet() const { return m_pillarIdHasBeenSet; }
inline void SetPillarId(const Aws::String& value) { m_pillarIdHasBeenSet = true; m_pillarId = value; }
inline void SetPillarId(Aws::String&& value) { m_pillarIdHasBeenSet = true; m_pillarId = std::move(value); }
inline void SetPillarId(const char* value) { m_pillarIdHasBeenSet = true; m_pillarId.assign(value); }
inline PillarDifference& WithPillarId(const Aws::String& value) { SetPillarId(value); return *this;}
inline PillarDifference& WithPillarId(Aws::String&& value) { SetPillarId(std::move(value)); return *this;}
inline PillarDifference& WithPillarId(const char* value) { SetPillarId(value); return *this;}
inline const Aws::String& GetPillarName() const{ return m_pillarName; }
inline bool PillarNameHasBeenSet() const { return m_pillarNameHasBeenSet; }
inline void SetPillarName(const Aws::String& value) { m_pillarNameHasBeenSet = true; m_pillarName = value; }
inline void SetPillarName(Aws::String&& value) { m_pillarNameHasBeenSet = true; m_pillarName = std::move(value); }
inline void SetPillarName(const char* value) { m_pillarNameHasBeenSet = true; m_pillarName.assign(value); }
inline PillarDifference& WithPillarName(const Aws::String& value) { SetPillarName(value); return *this;}
inline PillarDifference& WithPillarName(Aws::String&& value) { SetPillarName(std::move(value)); return *this;}
inline PillarDifference& WithPillarName(const char* value) { SetPillarName(value); return *this;}
/**
* Indicates the type of change to the pillar.
*/
inline const DifferenceStatus& GetDifferenceStatus() const{ return m_differenceStatus; }
/**
* Indicates the type of change to the pillar.
*/
inline bool DifferenceStatusHasBeenSet() const { return m_differenceStatusHasBeenSet; }
/**
* Indicates the type of change to the pillar.
*/
inline void SetDifferenceStatus(const DifferenceStatus& value) { m_differenceStatusHasBeenSet = true; m_differenceStatus = value; }
/**
* Indicates the type of change to the pillar.
*/
inline void SetDifferenceStatus(DifferenceStatus&& value) { m_differenceStatusHasBeenSet = true; m_differenceStatus = std::move(value); }
/**
* Indicates the type of change to the pillar.
*/
inline PillarDifference& WithDifferenceStatus(const DifferenceStatus& value) { SetDifferenceStatus(value); return *this;}
/**
* Indicates the type of change to the pillar.
*/
inline PillarDifference& WithDifferenceStatus(DifferenceStatus&& value) { SetDifferenceStatus(std::move(value)); return *this;}
/**
* List of question differences.
*/
inline const Aws::Vector& GetQuestionDifferences() const{ return m_questionDifferences; }
/**
* List of question differences.
*/
inline bool QuestionDifferencesHasBeenSet() const { return m_questionDifferencesHasBeenSet; }
/**
* List of question differences.
*/
inline void SetQuestionDifferences(const Aws::Vector& value) { m_questionDifferencesHasBeenSet = true; m_questionDifferences = value; }
/**
* List of question differences.
*/
inline void SetQuestionDifferences(Aws::Vector&& value) { m_questionDifferencesHasBeenSet = true; m_questionDifferences = std::move(value); }
/**
* List of question differences.
*/
inline PillarDifference& WithQuestionDifferences(const Aws::Vector& value) { SetQuestionDifferences(value); return *this;}
/**
* List of question differences.
*/
inline PillarDifference& WithQuestionDifferences(Aws::Vector&& value) { SetQuestionDifferences(std::move(value)); return *this;}
/**
* List of question differences.
*/
inline PillarDifference& AddQuestionDifferences(const QuestionDifference& value) { m_questionDifferencesHasBeenSet = true; m_questionDifferences.push_back(value); return *this; }
/**
* List of question differences.
*/
inline PillarDifference& AddQuestionDifferences(QuestionDifference&& value) { m_questionDifferencesHasBeenSet = true; m_questionDifferences.push_back(std::move(value)); return *this; }
private:
Aws::String m_pillarId;
bool m_pillarIdHasBeenSet = false;
Aws::String m_pillarName;
bool m_pillarNameHasBeenSet = false;
DifferenceStatus m_differenceStatus;
bool m_differenceStatusHasBeenSet = false;
Aws::Vector m_questionDifferences;
bool m_questionDifferencesHasBeenSet = false;
};
} // namespace Model
} // namespace WellArchitected
} // namespace Aws