AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RepositoryTriggerExecutionFailure.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeCommit
22{
23namespace Model
24{
25
32 {
33 public:
37 AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetTrigger() const{ return m_trigger; }
45 inline bool TriggerHasBeenSet() const { return m_triggerHasBeenSet; }
46 inline void SetTrigger(const Aws::String& value) { m_triggerHasBeenSet = true; m_trigger = value; }
47 inline void SetTrigger(Aws::String&& value) { m_triggerHasBeenSet = true; m_trigger = std::move(value); }
48 inline void SetTrigger(const char* value) { m_triggerHasBeenSet = true; m_trigger.assign(value); }
49 inline RepositoryTriggerExecutionFailure& WithTrigger(const Aws::String& value) { SetTrigger(value); return *this;}
50 inline RepositoryTriggerExecutionFailure& WithTrigger(Aws::String&& value) { SetTrigger(std::move(value)); return *this;}
51 inline RepositoryTriggerExecutionFailure& WithTrigger(const char* value) { SetTrigger(value); return *this;}
53
55
58 inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
59 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
60 inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; }
61 inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); }
62 inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); }
64 inline RepositoryTriggerExecutionFailure& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
65 inline RepositoryTriggerExecutionFailure& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
67 private:
68
69 Aws::String m_trigger;
70 bool m_triggerHasBeenSet = false;
71
72 Aws::String m_failureMessage;
73 bool m_failureMessageHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CodeCommit
78} // namespace Aws
RepositoryTriggerExecutionFailure & WithTrigger(Aws::String &&value)
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
RepositoryTriggerExecutionFailure & WithTrigger(const char *value)
AWS_CODECOMMIT_API RepositoryTriggerExecutionFailure(Aws::Utils::Json::JsonView jsonValue)
RepositoryTriggerExecutionFailure & WithTrigger(const Aws::String &value)
RepositoryTriggerExecutionFailure & WithFailureMessage(const Aws::String &value)
AWS_CODECOMMIT_API RepositoryTriggerExecutionFailure & operator=(Aws::Utils::Json::JsonView jsonValue)
RepositoryTriggerExecutionFailure & WithFailureMessage(Aws::String &&value)
RepositoryTriggerExecutionFailure & WithFailureMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue