AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
EnvironmentDeploymentDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/EnvironmentError.h>
12#include <aws/datazone/model/OverallDeploymentStatus.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataZone {
24namespace Model {
25
32 public:
33 AWS_DATAZONE_API EnvironmentDeploymentDetails() = default;
36 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline OverallDeploymentStatus GetOverallDeploymentStatus() const { return m_overallDeploymentStatus; }
43 inline bool OverallDeploymentStatusHasBeenSet() const { return m_overallDeploymentStatusHasBeenSet; }
45 m_overallDeploymentStatusHasBeenSet = true;
46 m_overallDeploymentStatus = value;
47 }
50 return *this;
51 }
53
55
59 return m_environmentFailureReasons;
60 }
61 inline bool EnvironmentFailureReasonsHasBeenSet() const { return m_environmentFailureReasonsHasBeenSet; }
62 template <typename EnvironmentFailureReasonsT = Aws::Map<Aws::String, Aws::Vector<EnvironmentError>>>
63 void SetEnvironmentFailureReasons(EnvironmentFailureReasonsT&& value) {
64 m_environmentFailureReasonsHasBeenSet = true;
65 m_environmentFailureReasons = std::forward<EnvironmentFailureReasonsT>(value);
66 }
67 template <typename EnvironmentFailureReasonsT = Aws::Map<Aws::String, Aws::Vector<EnvironmentError>>>
68 EnvironmentDeploymentDetails& WithEnvironmentFailureReasons(EnvironmentFailureReasonsT&& value) {
69 SetEnvironmentFailureReasons(std::forward<EnvironmentFailureReasonsT>(value));
70 return *this;
71 }
72 template <typename EnvironmentFailureReasonsKeyT = Aws::String, typename EnvironmentFailureReasonsValueT = Aws::Vector<EnvironmentError>>
73 EnvironmentDeploymentDetails& AddEnvironmentFailureReasons(EnvironmentFailureReasonsKeyT&& key, EnvironmentFailureReasonsValueT&& value) {
74 m_environmentFailureReasonsHasBeenSet = true;
75 m_environmentFailureReasons.emplace(std::forward<EnvironmentFailureReasonsKeyT>(key),
76 std::forward<EnvironmentFailureReasonsValueT>(value));
77 return *this;
78 }
80 private:
82
83 Aws::Map<Aws::String, Aws::Vector<EnvironmentError>> m_environmentFailureReasons;
84 bool m_overallDeploymentStatusHasBeenSet = false;
85 bool m_environmentFailureReasonsHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace DataZone
90} // 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