AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
VersionDifferences.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wellarchitected/model/PillarDifference.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
34 {
35 public:
36 AWS_WELLARCHITECTED_API VersionDifferences() = default;
37 AWS_WELLARCHITECTED_API VersionDifferences(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API VersionDifferences& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<PillarDifference>& GetPillarDifferences() const { return m_pillarDifferences; }
47 inline bool PillarDifferencesHasBeenSet() const { return m_pillarDifferencesHasBeenSet; }
48 template<typename PillarDifferencesT = Aws::Vector<PillarDifference>>
49 void SetPillarDifferences(PillarDifferencesT&& value) { m_pillarDifferencesHasBeenSet = true; m_pillarDifferences = std::forward<PillarDifferencesT>(value); }
50 template<typename PillarDifferencesT = Aws::Vector<PillarDifference>>
51 VersionDifferences& WithPillarDifferences(PillarDifferencesT&& value) { SetPillarDifferences(std::forward<PillarDifferencesT>(value)); return *this;}
52 template<typename PillarDifferencesT = PillarDifference>
53 VersionDifferences& AddPillarDifferences(PillarDifferencesT&& value) { m_pillarDifferencesHasBeenSet = true; m_pillarDifferences.emplace_back(std::forward<PillarDifferencesT>(value)); return *this; }
55 private:
56
57 Aws::Vector<PillarDifference> m_pillarDifferences;
58 bool m_pillarDifferencesHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace WellArchitected
63} // namespace Aws
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WELLARCHITECTED_API VersionDifferences & operator=(Aws::Utils::Json::JsonView jsonValue)
VersionDifferences & AddPillarDifferences(PillarDifferencesT &&value)
AWS_WELLARCHITECTED_API VersionDifferences()=default
const Aws::Vector< PillarDifference > & GetPillarDifferences() const
void SetPillarDifferences(PillarDifferencesT &&value)
AWS_WELLARCHITECTED_API VersionDifferences(Aws::Utils::Json::JsonView jsonValue)
VersionDifferences & WithPillarDifferences(PillarDifferencesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue