AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EffectiveDeploymentStatusDetails.h
1
6#pragma once
7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 GreengrassV2
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_GREENGRASSV2_API EffectiveDeploymentStatusDetails() = default;
43 AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
53 inline const Aws::Vector<Aws::String>& GetErrorStack() const { return m_errorStack; }
54 inline bool ErrorStackHasBeenSet() const { return m_errorStackHasBeenSet; }
55 template<typename ErrorStackT = Aws::Vector<Aws::String>>
56 void SetErrorStack(ErrorStackT&& value) { m_errorStackHasBeenSet = true; m_errorStack = std::forward<ErrorStackT>(value); }
57 template<typename ErrorStackT = Aws::Vector<Aws::String>>
58 EffectiveDeploymentStatusDetails& WithErrorStack(ErrorStackT&& value) { SetErrorStack(std::forward<ErrorStackT>(value)); return *this;}
59 template<typename ErrorStackT = Aws::String>
60 EffectiveDeploymentStatusDetails& AddErrorStack(ErrorStackT&& value) { m_errorStackHasBeenSet = true; m_errorStack.emplace_back(std::forward<ErrorStackT>(value)); return *this; }
62
64
69 inline const Aws::Vector<Aws::String>& GetErrorTypes() const { return m_errorTypes; }
70 inline bool ErrorTypesHasBeenSet() const { return m_errorTypesHasBeenSet; }
71 template<typename ErrorTypesT = Aws::Vector<Aws::String>>
72 void SetErrorTypes(ErrorTypesT&& value) { m_errorTypesHasBeenSet = true; m_errorTypes = std::forward<ErrorTypesT>(value); }
73 template<typename ErrorTypesT = Aws::Vector<Aws::String>>
74 EffectiveDeploymentStatusDetails& WithErrorTypes(ErrorTypesT&& value) { SetErrorTypes(std::forward<ErrorTypesT>(value)); return *this;}
75 template<typename ErrorTypesT = Aws::String>
76 EffectiveDeploymentStatusDetails& AddErrorTypes(ErrorTypesT&& value) { m_errorTypesHasBeenSet = true; m_errorTypes.emplace_back(std::forward<ErrorTypesT>(value)); return *this; }
78 private:
79
80 Aws::Vector<Aws::String> m_errorStack;
81 bool m_errorStackHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_errorTypes;
84 bool m_errorTypesHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace GreengrassV2
89} // 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