AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LastExecutionStatus.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/appintegrations/model/ExecutionStatus.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 AppIntegrationsService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_APPINTEGRATIONSSERVICE_API LastExecutionStatus();
36 AWS_APPINTEGRATIONSSERVICE_API LastExecutionStatus(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPINTEGRATIONSSERVICE_API LastExecutionStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const ExecutionStatus& GetExecutionStatus() const{ return m_executionStatus; }
46 inline bool ExecutionStatusHasBeenSet() const { return m_executionStatusHasBeenSet; }
47 inline void SetExecutionStatus(const ExecutionStatus& value) { m_executionStatusHasBeenSet = true; m_executionStatus = value; }
48 inline void SetExecutionStatus(ExecutionStatus&& value) { m_executionStatusHasBeenSet = true; m_executionStatus = std::move(value); }
49 inline LastExecutionStatus& WithExecutionStatus(const ExecutionStatus& value) { SetExecutionStatus(value); return *this;}
50 inline LastExecutionStatus& WithExecutionStatus(ExecutionStatus&& value) { SetExecutionStatus(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
58 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
59 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
60 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
61 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
62 inline LastExecutionStatus& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
63 inline LastExecutionStatus& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
64 inline LastExecutionStatus& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
66 private:
67
68 ExecutionStatus m_executionStatus;
69 bool m_executionStatusHasBeenSet = false;
70
71 Aws::String m_statusMessage;
72 bool m_statusMessageHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace AppIntegrationsService
77} // namespace Aws
LastExecutionStatus & WithExecutionStatus(const ExecutionStatus &value)
LastExecutionStatus & WithExecutionStatus(ExecutionStatus &&value)
LastExecutionStatus & WithStatusMessage(const Aws::String &value)
AWS_APPINTEGRATIONSSERVICE_API LastExecutionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPINTEGRATIONSSERVICE_API LastExecutionStatus(Aws::Utils::Json::JsonView jsonValue)
LastExecutionStatus & WithStatusMessage(const char *value)
AWS_APPINTEGRATIONSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPINTEGRATIONSSERVICE_API LastExecutionStatus()
LastExecutionStatus & WithStatusMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue