AWS SDK for C++

AWS SDK for C++ Version 1.11.740

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