AWS SDK for C++  1.8.152
AWS SDK for C++
RepositoryTriggerExecutionFailure.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace CodeCommit
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetTrigger() const{ return m_trigger; }
44 
48  inline bool TriggerHasBeenSet() const { return m_triggerHasBeenSet; }
49 
53  inline void SetTrigger(const Aws::String& value) { m_triggerHasBeenSet = true; m_trigger = value; }
54 
58  inline void SetTrigger(Aws::String&& value) { m_triggerHasBeenSet = true; m_trigger = std::move(value); }
59 
63  inline void SetTrigger(const char* value) { m_triggerHasBeenSet = true; m_trigger.assign(value); }
64 
68  inline RepositoryTriggerExecutionFailure& WithTrigger(const Aws::String& value) { SetTrigger(value); return *this;}
69 
73  inline RepositoryTriggerExecutionFailure& WithTrigger(Aws::String&& value) { SetTrigger(std::move(value)); return *this;}
74 
78  inline RepositoryTriggerExecutionFailure& WithTrigger(const char* value) { SetTrigger(value); return *this;}
79 
80 
84  inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
85 
89  inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
90 
94  inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; }
95 
99  inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); }
100 
104  inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); }
105 
109  inline RepositoryTriggerExecutionFailure& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;}
110 
114  inline RepositoryTriggerExecutionFailure& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
115 
119  inline RepositoryTriggerExecutionFailure& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
120 
121  private:
122 
123  Aws::String m_trigger;
124  bool m_triggerHasBeenSet;
125 
126  Aws::String m_failureMessage;
127  bool m_failureMessageHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace CodeCommit
132 } // namespace Aws
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::GetFailureMessage
const Aws::String & GetFailureMessage() const
Definition: RepositoryTriggerExecutionFailure.h:84
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::FailureMessageHasBeenSet
bool FailureMessageHasBeenSet() const
Definition: RepositoryTriggerExecutionFailure.h:89
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::SetTrigger
void SetTrigger(Aws::String &&value)
Definition: RepositoryTriggerExecutionFailure.h:58
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::SetTrigger
void SetTrigger(const Aws::String &value)
Definition: RepositoryTriggerExecutionFailure.h:53
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::SetFailureMessage
void SetFailureMessage(const char *value)
Definition: RepositoryTriggerExecutionFailure.h:104
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::WithFailureMessage
RepositoryTriggerExecutionFailure & WithFailureMessage(Aws::String &&value)
Definition: RepositoryTriggerExecutionFailure.h:114
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::SetFailureMessage
void SetFailureMessage(const Aws::String &value)
Definition: RepositoryTriggerExecutionFailure.h:94
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::WithFailureMessage
RepositoryTriggerExecutionFailure & WithFailureMessage(const char *value)
Definition: RepositoryTriggerExecutionFailure.h:119
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::SetFailureMessage
void SetFailureMessage(Aws::String &&value)
Definition: RepositoryTriggerExecutionFailure.h:99
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::WithTrigger
RepositoryTriggerExecutionFailure & WithTrigger(const Aws::String &value)
Definition: RepositoryTriggerExecutionFailure.h:68
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::RepositoryTriggerExecutionFailure
RepositoryTriggerExecutionFailure()
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::SetTrigger
void SetTrigger(const char *value)
Definition: RepositoryTriggerExecutionFailure.h:63
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::WithFailureMessage
RepositoryTriggerExecutionFailure & WithFailureMessage(const Aws::String &value)
Definition: RepositoryTriggerExecutionFailure.h:109
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::GetTrigger
const Aws::String & GetTrigger() const
Definition: RepositoryTriggerExecutionFailure.h:43
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::RepositoryTriggerExecutionFailure
RepositoryTriggerExecutionFailure(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::operator=
RepositoryTriggerExecutionFailure & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::WithTrigger
RepositoryTriggerExecutionFailure & WithTrigger(Aws::String &&value)
Definition: RepositoryTriggerExecutionFailure.h:73
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure
Definition: RepositoryTriggerExecutionFailure.h:32
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::WithTrigger
RepositoryTriggerExecutionFailure & WithTrigger(const char *value)
Definition: RepositoryTriggerExecutionFailure.h:78
Aws::CodeCommit::Model::RepositoryTriggerExecutionFailure::TriggerHasBeenSet
bool TriggerHasBeenSet() const
Definition: RepositoryTriggerExecutionFailure.h:48