AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetErrorStack(const Aws::Vector<Aws::String>& value) { m_errorStackHasBeenSet = true; m_errorStack = value; }
56 inline void SetErrorStack(Aws::Vector<Aws::String>&& value) { m_errorStackHasBeenSet = true; m_errorStack = std::move(value); }
59 inline EffectiveDeploymentStatusDetails& AddErrorStack(const Aws::String& value) { m_errorStackHasBeenSet = true; m_errorStack.push_back(value); return *this; }
60 inline EffectiveDeploymentStatusDetails& AddErrorStack(Aws::String&& value) { m_errorStackHasBeenSet = true; m_errorStack.push_back(std::move(value)); return *this; }
61 inline EffectiveDeploymentStatusDetails& AddErrorStack(const char* value) { m_errorStackHasBeenSet = true; m_errorStack.push_back(value); return *this; }
63
65
70 inline const Aws::Vector<Aws::String>& GetErrorTypes() const{ return m_errorTypes; }
71 inline bool ErrorTypesHasBeenSet() const { return m_errorTypesHasBeenSet; }
72 inline void SetErrorTypes(const Aws::Vector<Aws::String>& value) { m_errorTypesHasBeenSet = true; m_errorTypes = value; }
73 inline void SetErrorTypes(Aws::Vector<Aws::String>&& value) { m_errorTypesHasBeenSet = true; m_errorTypes = std::move(value); }
76 inline EffectiveDeploymentStatusDetails& AddErrorTypes(const Aws::String& value) { m_errorTypesHasBeenSet = true; m_errorTypes.push_back(value); return *this; }
77 inline EffectiveDeploymentStatusDetails& AddErrorTypes(Aws::String&& value) { m_errorTypesHasBeenSet = true; m_errorTypes.push_back(std::move(value)); return *this; }
78 inline EffectiveDeploymentStatusDetails& AddErrorTypes(const char* value) { m_errorTypesHasBeenSet = true; m_errorTypes.push_back(value); return *this; }
80 private:
81
82 Aws::Vector<Aws::String> m_errorStack;
83 bool m_errorStackHasBeenSet = false;
84
85 Aws::Vector<Aws::String> m_errorTypes;
86 bool m_errorTypesHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace GreengrassV2
91} // namespace Aws
EffectiveDeploymentStatusDetails & AddErrorTypes(const Aws::String &value)
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
EffectiveDeploymentStatusDetails & AddErrorStack(const char *value)
EffectiveDeploymentStatusDetails & AddErrorTypes(const char *value)
EffectiveDeploymentStatusDetails & WithErrorTypes(Aws::Vector< Aws::String > &&value)
EffectiveDeploymentStatusDetails & WithErrorStack(Aws::Vector< Aws::String > &&value)
EffectiveDeploymentStatusDetails & AddErrorStack(Aws::String &&value)
EffectiveDeploymentStatusDetails & WithErrorTypes(const Aws::Vector< Aws::String > &value)
AWS_GREENGRASSV2_API EffectiveDeploymentStatusDetails(Aws::Utils::Json::JsonView jsonValue)
EffectiveDeploymentStatusDetails & WithErrorStack(const Aws::Vector< Aws::String > &value)
EffectiveDeploymentStatusDetails & AddErrorStack(const Aws::String &value)
AWS_GREENGRASSV2_API EffectiveDeploymentStatusDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
EffectiveDeploymentStatusDetails & AddErrorTypes(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue