AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetDeploymentStatusResult.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/model/DeploymentType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/greengrass/model/ErrorDetail.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Greengrass
27{
28namespace Model
29{
31 {
32 public:
33 AWS_GREENGRASS_API GetDeploymentStatusResult() = default;
36
37
39
43 inline const Aws::String& GetDeploymentStatus() const { return m_deploymentStatus; }
44 template<typename DeploymentStatusT = Aws::String>
45 void SetDeploymentStatus(DeploymentStatusT&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::forward<DeploymentStatusT>(value); }
46 template<typename DeploymentStatusT = Aws::String>
47 GetDeploymentStatusResult& WithDeploymentStatus(DeploymentStatusT&& value) { SetDeploymentStatus(std::forward<DeploymentStatusT>(value)); return *this;}
49
51
54 inline DeploymentType GetDeploymentType() const { return m_deploymentType; }
55 inline void SetDeploymentType(DeploymentType value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; }
58
60
63 inline const Aws::Vector<ErrorDetail>& GetErrorDetails() const { return m_errorDetails; }
64 template<typename ErrorDetailsT = Aws::Vector<ErrorDetail>>
65 void SetErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::forward<ErrorDetailsT>(value); }
66 template<typename ErrorDetailsT = Aws::Vector<ErrorDetail>>
67 GetDeploymentStatusResult& WithErrorDetails(ErrorDetailsT&& value) { SetErrorDetails(std::forward<ErrorDetailsT>(value)); return *this;}
68 template<typename ErrorDetailsT = ErrorDetail>
69 GetDeploymentStatusResult& AddErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails.emplace_back(std::forward<ErrorDetailsT>(value)); return *this; }
71
73
76 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
77 template<typename ErrorMessageT = Aws::String>
78 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
79 template<typename ErrorMessageT = Aws::String>
80 GetDeploymentStatusResult& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
82
84
88 inline const Aws::String& GetUpdatedAt() const { return m_updatedAt; }
89 template<typename UpdatedAtT = Aws::String>
90 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
91 template<typename UpdatedAtT = Aws::String>
92 GetDeploymentStatusResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
94
96
97 inline const Aws::String& GetRequestId() const { return m_requestId; }
98 template<typename RequestIdT = Aws::String>
99 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
100 template<typename RequestIdT = Aws::String>
101 GetDeploymentStatusResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
103 private:
104
105 Aws::String m_deploymentStatus;
106 bool m_deploymentStatusHasBeenSet = false;
107
108 DeploymentType m_deploymentType{DeploymentType::NOT_SET};
109 bool m_deploymentTypeHasBeenSet = false;
110
111 Aws::Vector<ErrorDetail> m_errorDetails;
112 bool m_errorDetailsHasBeenSet = false;
113
114 Aws::String m_errorMessage;
115 bool m_errorMessageHasBeenSet = false;
116
117 Aws::String m_updatedAt;
118 bool m_updatedAtHasBeenSet = false;
119
120 Aws::String m_requestId;
121 bool m_requestIdHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace Greengrass
126} // namespace Aws
GetDeploymentStatusResult & WithErrorDetails(ErrorDetailsT &&value)
GetDeploymentStatusResult & WithDeploymentType(DeploymentType value)
GetDeploymentStatusResult & WithDeploymentStatus(DeploymentStatusT &&value)
GetDeploymentStatusResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Vector< ErrorDetail > & GetErrorDetails() const
AWS_GREENGRASS_API GetDeploymentStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeploymentStatusResult & WithRequestId(RequestIdT &&value)
AWS_GREENGRASS_API GetDeploymentStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeploymentStatusResult & WithErrorMessage(ErrorMessageT &&value)
AWS_GREENGRASS_API GetDeploymentStatusResult()=default
GetDeploymentStatusResult & AddErrorDetails(ErrorDetailsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue