AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
EffectiveDeploymentStatusDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GreengrassV2 {
21namespace Model {
22
34 public:
35 AWS_GREENGRASSV2_API EffectiveDeploymentStatusDetails() = default;
38 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
47 inline const Aws::Vector<Aws::String>& GetErrorStack() const { return m_errorStack; }
48 inline bool ErrorStackHasBeenSet() const { return m_errorStackHasBeenSet; }
49 template <typename ErrorStackT = Aws::Vector<Aws::String>>
50 void SetErrorStack(ErrorStackT&& value) {
51 m_errorStackHasBeenSet = true;
52 m_errorStack = std::forward<ErrorStackT>(value);
53 }
54 template <typename ErrorStackT = Aws::Vector<Aws::String>>
56 SetErrorStack(std::forward<ErrorStackT>(value));
57 return *this;
58 }
59 template <typename ErrorStackT = Aws::String>
61 m_errorStackHasBeenSet = true;
62 m_errorStack.emplace_back(std::forward<ErrorStackT>(value));
63 return *this;
64 }
66
68
73 inline const Aws::Vector<Aws::String>& GetErrorTypes() const { return m_errorTypes; }
74 inline bool ErrorTypesHasBeenSet() const { return m_errorTypesHasBeenSet; }
75 template <typename ErrorTypesT = Aws::Vector<Aws::String>>
76 void SetErrorTypes(ErrorTypesT&& value) {
77 m_errorTypesHasBeenSet = true;
78 m_errorTypes = std::forward<ErrorTypesT>(value);
79 }
80 template <typename ErrorTypesT = Aws::Vector<Aws::String>>
82 SetErrorTypes(std::forward<ErrorTypesT>(value));
83 return *this;
84 }
85 template <typename ErrorTypesT = Aws::String>
87 m_errorTypesHasBeenSet = true;
88 m_errorTypes.emplace_back(std::forward<ErrorTypesT>(value));
89 return *this;
90 }
92 private:
93 Aws::Vector<Aws::String> m_errorStack;
94 bool m_errorStackHasBeenSet = false;
95
96 Aws::Vector<Aws::String> m_errorTypes;
97 bool m_errorTypesHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace GreengrassV2
102} // namespace Aws
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASSV2_API EffectiveDeploymentStatusDetails(Aws::Utils::Json::JsonView jsonValue)
EffectiveDeploymentStatusDetails & AddErrorStack(ErrorStackT &&value)
EffectiveDeploymentStatusDetails & WithErrorStack(ErrorStackT &&value)
EffectiveDeploymentStatusDetails & WithErrorTypes(ErrorTypesT &&value)
AWS_GREENGRASSV2_API EffectiveDeploymentStatusDetails()=default
EffectiveDeploymentStatusDetails & AddErrorTypes(ErrorTypesT &&value)
AWS_GREENGRASSV2_API EffectiveDeploymentStatusDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue