AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EnvironmentDeploymentDetails.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/datazone/model/OverallDeploymentStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datazone/model/EnvironmentError.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DataZone
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_DATAZONE_API EnvironmentDeploymentDetails() = default;
41 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Map<Aws::String, Aws::Vector<EnvironmentError>>& GetEnvironmentFailureReasons() const { return m_environmentFailureReasons; }
49 inline bool EnvironmentFailureReasonsHasBeenSet() const { return m_environmentFailureReasonsHasBeenSet; }
50 template<typename EnvironmentFailureReasonsT = Aws::Map<Aws::String, Aws::Vector<EnvironmentError>>>
51 void SetEnvironmentFailureReasons(EnvironmentFailureReasonsT&& value) { m_environmentFailureReasonsHasBeenSet = true; m_environmentFailureReasons = std::forward<EnvironmentFailureReasonsT>(value); }
52 template<typename EnvironmentFailureReasonsT = Aws::Map<Aws::String, Aws::Vector<EnvironmentError>>>
53 EnvironmentDeploymentDetails& WithEnvironmentFailureReasons(EnvironmentFailureReasonsT&& value) { SetEnvironmentFailureReasons(std::forward<EnvironmentFailureReasonsT>(value)); return *this;}
54 template<typename EnvironmentFailureReasonsKeyT = Aws::String, typename EnvironmentFailureReasonsValueT = Aws::Vector<EnvironmentError>>
55 EnvironmentDeploymentDetails& AddEnvironmentFailureReasons(EnvironmentFailureReasonsKeyT&& key, EnvironmentFailureReasonsValueT&& value) {
56 m_environmentFailureReasonsHasBeenSet = true; m_environmentFailureReasons.emplace(std::forward<EnvironmentFailureReasonsKeyT>(key), std::forward<EnvironmentFailureReasonsValueT>(value)); return *this;
57 }
59
61
64 inline OverallDeploymentStatus GetOverallDeploymentStatus() const { return m_overallDeploymentStatus; }
65 inline bool OverallDeploymentStatusHasBeenSet() const { return m_overallDeploymentStatusHasBeenSet; }
66 inline void SetOverallDeploymentStatus(OverallDeploymentStatus value) { m_overallDeploymentStatusHasBeenSet = true; m_overallDeploymentStatus = value; }
69 private:
70
71 Aws::Map<Aws::String, Aws::Vector<EnvironmentError>> m_environmentFailureReasons;
72 bool m_environmentFailureReasonsHasBeenSet = false;
73
75 bool m_overallDeploymentStatusHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace DataZone
80} // namespace Aws
EnvironmentDeploymentDetails & AddEnvironmentFailureReasons(EnvironmentFailureReasonsKeyT &&key, EnvironmentFailureReasonsValueT &&value)
const Aws::Map< Aws::String, Aws::Vector< EnvironmentError > > & GetEnvironmentFailureReasons() const
AWS_DATAZONE_API EnvironmentDeploymentDetails()=default
void SetEnvironmentFailureReasons(EnvironmentFailureReasonsT &&value)
EnvironmentDeploymentDetails & WithOverallDeploymentStatus(OverallDeploymentStatus value)
AWS_DATAZONE_API EnvironmentDeploymentDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API EnvironmentDeploymentDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentDeploymentDetails & WithEnvironmentFailureReasons(EnvironmentFailureReasonsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue