AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobPostLaunchActionsLaunchStatus.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/PostLaunchActionExecutionStatus.h>
10#include <aws/mgn/model/SsmDocument.h>
11#include <aws/mgn/model/SsmDocumentType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace mgn
25{
26namespace Model
27{
28
35 {
36 public:
41
42
44
48 inline const Aws::String& GetExecutionID() const{ return m_executionID; }
49 inline bool ExecutionIDHasBeenSet() const { return m_executionIDHasBeenSet; }
50 inline void SetExecutionID(const Aws::String& value) { m_executionIDHasBeenSet = true; m_executionID = value; }
51 inline void SetExecutionID(Aws::String&& value) { m_executionIDHasBeenSet = true; m_executionID = std::move(value); }
52 inline void SetExecutionID(const char* value) { m_executionIDHasBeenSet = true; m_executionID.assign(value); }
53 inline JobPostLaunchActionsLaunchStatus& WithExecutionID(const Aws::String& value) { SetExecutionID(value); return *this;}
54 inline JobPostLaunchActionsLaunchStatus& WithExecutionID(Aws::String&& value) { SetExecutionID(std::move(value)); return *this;}
55 inline JobPostLaunchActionsLaunchStatus& WithExecutionID(const char* value) { SetExecutionID(value); return *this;}
57
59
62 inline const PostLaunchActionExecutionStatus& GetExecutionStatus() const{ return m_executionStatus; }
63 inline bool ExecutionStatusHasBeenSet() const { return m_executionStatusHasBeenSet; }
64 inline void SetExecutionStatus(const PostLaunchActionExecutionStatus& value) { m_executionStatusHasBeenSet = true; m_executionStatus = value; }
65 inline void SetExecutionStatus(PostLaunchActionExecutionStatus&& value) { m_executionStatusHasBeenSet = true; m_executionStatus = std::move(value); }
69
71
74 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
75 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
76 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
77 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
78 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
80 inline JobPostLaunchActionsLaunchStatus& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
81 inline JobPostLaunchActionsLaunchStatus& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
83
85
88 inline const SsmDocument& GetSsmDocument() const{ return m_ssmDocument; }
89 inline bool SsmDocumentHasBeenSet() const { return m_ssmDocumentHasBeenSet; }
90 inline void SetSsmDocument(const SsmDocument& value) { m_ssmDocumentHasBeenSet = true; m_ssmDocument = value; }
91 inline void SetSsmDocument(SsmDocument&& value) { m_ssmDocumentHasBeenSet = true; m_ssmDocument = std::move(value); }
92 inline JobPostLaunchActionsLaunchStatus& WithSsmDocument(const SsmDocument& value) { SetSsmDocument(value); return *this;}
93 inline JobPostLaunchActionsLaunchStatus& WithSsmDocument(SsmDocument&& value) { SetSsmDocument(std::move(value)); return *this;}
95
97
100 inline const SsmDocumentType& GetSsmDocumentType() const{ return m_ssmDocumentType; }
101 inline bool SsmDocumentTypeHasBeenSet() const { return m_ssmDocumentTypeHasBeenSet; }
102 inline void SetSsmDocumentType(const SsmDocumentType& value) { m_ssmDocumentTypeHasBeenSet = true; m_ssmDocumentType = value; }
103 inline void SetSsmDocumentType(SsmDocumentType&& value) { m_ssmDocumentTypeHasBeenSet = true; m_ssmDocumentType = std::move(value); }
107 private:
108
109 Aws::String m_executionID;
110 bool m_executionIDHasBeenSet = false;
111
112 PostLaunchActionExecutionStatus m_executionStatus;
113 bool m_executionStatusHasBeenSet = false;
114
115 Aws::String m_failureReason;
116 bool m_failureReasonHasBeenSet = false;
117
118 SsmDocument m_ssmDocument;
119 bool m_ssmDocumentHasBeenSet = false;
120
121 SsmDocumentType m_ssmDocumentType;
122 bool m_ssmDocumentTypeHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace mgn
127} // namespace Aws
JobPostLaunchActionsLaunchStatus & WithSsmDocumentType(const SsmDocumentType &value)
JobPostLaunchActionsLaunchStatus & WithFailureReason(const char *value)
AWS_MGN_API JobPostLaunchActionsLaunchStatus(Aws::Utils::Json::JsonView jsonValue)
JobPostLaunchActionsLaunchStatus & WithExecutionID(const char *value)
const PostLaunchActionExecutionStatus & GetExecutionStatus() const
void SetExecutionStatus(const PostLaunchActionExecutionStatus &value)
AWS_MGN_API JobPostLaunchActionsLaunchStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API JobPostLaunchActionsLaunchStatus()
void SetFailureReason(const char *value)
void SetExecutionStatus(PostLaunchActionExecutionStatus &&value)
void SetFailureReason(Aws::String &&value)
const SsmDocumentType & GetSsmDocumentType() const
bool ExecutionStatusHasBeenSet() const
bool SsmDocumentHasBeenSet() const
void SetSsmDocumentType(SsmDocumentType &&value)
void SetSsmDocumentType(const SsmDocumentType &value)
void SetExecutionID(const char *value)
JobPostLaunchActionsLaunchStatus & WithFailureReason(Aws::String &&value)
JobPostLaunchActionsLaunchStatus & WithSsmDocument(const SsmDocument &value)
JobPostLaunchActionsLaunchStatus & WithExecutionStatus(const PostLaunchActionExecutionStatus &value)
void SetExecutionID(Aws::String &&value)
JobPostLaunchActionsLaunchStatus & WithSsmDocumentType(SsmDocumentType &&value)
JobPostLaunchActionsLaunchStatus & WithFailureReason(const Aws::String &value)
const Aws::String & GetExecutionID() const
JobPostLaunchActionsLaunchStatus & WithSsmDocument(SsmDocument &&value)
JobPostLaunchActionsLaunchStatus & WithExecutionID(const Aws::String &value)
const Aws::String & GetFailureReason() const
JobPostLaunchActionsLaunchStatus & WithExecutionStatus(PostLaunchActionExecutionStatus &&value)
void SetSsmDocument(const SsmDocument &value)
bool FailureReasonHasBeenSet() const
bool SsmDocumentTypeHasBeenSet() const
void SetExecutionID(const Aws::String &value)
JobPostLaunchActionsLaunchStatus & WithExecutionID(Aws::String &&value)
void SetSsmDocument(SsmDocument &&value)
bool ExecutionIDHasBeenSet() const
const SsmDocument & GetSsmDocument() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFailureReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue