AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailureDetails.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/FailureType.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 CodePipeline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CODEPIPELINE_API FailureDetails();
36 AWS_CODEPIPELINE_API FailureDetails(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEPIPELINE_API FailureDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const FailureType& GetType() const{ return m_type; }
46 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
47 inline void SetType(const FailureType& value) { m_typeHasBeenSet = true; m_type = value; }
48 inline void SetType(FailureType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
49 inline FailureDetails& WithType(const FailureType& value) { SetType(value); return *this;}
50 inline FailureDetails& WithType(FailureType&& value) { SetType(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetMessage() const{ return m_message; }
58 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
59 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
60 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
61 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
62 inline FailureDetails& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
63 inline FailureDetails& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
64 inline FailureDetails& WithMessage(const char* value) { SetMessage(value); return *this;}
66
68
71 inline const Aws::String& GetExternalExecutionId() const{ return m_externalExecutionId; }
72 inline bool ExternalExecutionIdHasBeenSet() const { return m_externalExecutionIdHasBeenSet; }
73 inline void SetExternalExecutionId(const Aws::String& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = value; }
74 inline void SetExternalExecutionId(Aws::String&& value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId = std::move(value); }
75 inline void SetExternalExecutionId(const char* value) { m_externalExecutionIdHasBeenSet = true; m_externalExecutionId.assign(value); }
76 inline FailureDetails& WithExternalExecutionId(const Aws::String& value) { SetExternalExecutionId(value); return *this;}
77 inline FailureDetails& WithExternalExecutionId(Aws::String&& value) { SetExternalExecutionId(std::move(value)); return *this;}
78 inline FailureDetails& WithExternalExecutionId(const char* value) { SetExternalExecutionId(value); return *this;}
80 private:
81
82 FailureType m_type;
83 bool m_typeHasBeenSet = false;
84
85 Aws::String m_message;
86 bool m_messageHasBeenSet = false;
87
88 Aws::String m_externalExecutionId;
89 bool m_externalExecutionIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace CodePipeline
94} // namespace Aws
const Aws::String & GetExternalExecutionId() const
void SetType(const FailureType &value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
FailureDetails & WithExternalExecutionId(const Aws::String &value)
FailureDetails & WithExternalExecutionId(Aws::String &&value)
FailureDetails & WithType(const FailureType &value)
void SetExternalExecutionId(const Aws::String &value)
void SetExternalExecutionId(Aws::String &&value)
AWS_CODEPIPELINE_API FailureDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const FailureType & GetType() const
FailureDetails & WithMessage(Aws::String &&value)
AWS_CODEPIPELINE_API FailureDetails(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(const Aws::String &value)
FailureDetails & WithMessage(const Aws::String &value)
FailureDetails & WithType(FailureType &&value)
FailureDetails & WithMessage(const char *value)
void SetExternalExecutionId(const char *value)
FailureDetails & WithExternalExecutionId(const char *value)
const Aws::String & GetMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue