AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConditionExecution.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/ConditionExecutionStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CodePipeline
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CODEPIPELINE_API ConditionExecution();
37 AWS_CODEPIPELINE_API ConditionExecution(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ConditionExecutionStatus& GetStatus() const{ return m_status; }
47 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
48 inline void SetStatus(const ConditionExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
49 inline void SetStatus(ConditionExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
50 inline ConditionExecution& WithStatus(const ConditionExecutionStatus& value) { SetStatus(value); return *this;}
51 inline ConditionExecution& WithStatus(ConditionExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetSummary() const{ return m_summary; }
59 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
60 inline void SetSummary(const Aws::String& value) { m_summaryHasBeenSet = true; m_summary = value; }
61 inline void SetSummary(Aws::String&& value) { m_summaryHasBeenSet = true; m_summary = std::move(value); }
62 inline void SetSummary(const char* value) { m_summaryHasBeenSet = true; m_summary.assign(value); }
63 inline ConditionExecution& WithSummary(const Aws::String& value) { SetSummary(value); return *this;}
64 inline ConditionExecution& WithSummary(Aws::String&& value) { SetSummary(std::move(value)); return *this;}
65 inline ConditionExecution& WithSummary(const char* value) { SetSummary(value); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetLastStatusChange() const{ return m_lastStatusChange; }
73 inline bool LastStatusChangeHasBeenSet() const { return m_lastStatusChangeHasBeenSet; }
74 inline void SetLastStatusChange(const Aws::Utils::DateTime& value) { m_lastStatusChangeHasBeenSet = true; m_lastStatusChange = value; }
75 inline void SetLastStatusChange(Aws::Utils::DateTime&& value) { m_lastStatusChangeHasBeenSet = true; m_lastStatusChange = std::move(value); }
77 inline ConditionExecution& WithLastStatusChange(Aws::Utils::DateTime&& value) { SetLastStatusChange(std::move(value)); return *this;}
79 private:
80
82 bool m_statusHasBeenSet = false;
83
84 Aws::String m_summary;
85 bool m_summaryHasBeenSet = false;
86
87 Aws::Utils::DateTime m_lastStatusChange;
88 bool m_lastStatusChangeHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CodePipeline
93} // namespace Aws
ConditionExecution & WithSummary(const Aws::String &value)
ConditionExecution & WithSummary(Aws::String &&value)
void SetStatus(const ConditionExecutionStatus &value)
ConditionExecution & WithStatus(const ConditionExecutionStatus &value)
const ConditionExecutionStatus & GetStatus() const
void SetLastStatusChange(Aws::Utils::DateTime &&value)
void SetLastStatusChange(const Aws::Utils::DateTime &value)
ConditionExecution & WithLastStatusChange(const Aws::Utils::DateTime &value)
AWS_CODEPIPELINE_API ConditionExecution(Aws::Utils::Json::JsonView jsonValue)
ConditionExecution & WithSummary(const char *value)
ConditionExecution & WithStatus(ConditionExecutionStatus &&value)
ConditionExecution & WithLastStatusChange(Aws::Utils::DateTime &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastStatusChange() const
void SetStatus(ConditionExecutionStatus &&value)
AWS_CODEPIPELINE_API ConditionExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue