AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
43 inline const Aws::String& GetDeploymentStatus() const{ return m_deploymentStatus; }
44 inline void SetDeploymentStatus(const Aws::String& value) { m_deploymentStatus = value; }
45 inline void SetDeploymentStatus(Aws::String&& value) { m_deploymentStatus = std::move(value); }
46 inline void SetDeploymentStatus(const char* value) { m_deploymentStatus.assign(value); }
48 inline GetDeploymentStatusResult& WithDeploymentStatus(Aws::String&& value) { SetDeploymentStatus(std::move(value)); return *this;}
49 inline GetDeploymentStatusResult& WithDeploymentStatus(const char* value) { SetDeploymentStatus(value); return *this;}
51
53
56 inline const DeploymentType& GetDeploymentType() const{ return m_deploymentType; }
57 inline void SetDeploymentType(const DeploymentType& value) { m_deploymentType = value; }
58 inline void SetDeploymentType(DeploymentType&& value) { m_deploymentType = std::move(value); }
60 inline GetDeploymentStatusResult& WithDeploymentType(DeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;}
62
64
67 inline const Aws::Vector<ErrorDetail>& GetErrorDetails() const{ return m_errorDetails; }
68 inline void SetErrorDetails(const Aws::Vector<ErrorDetail>& value) { m_errorDetails = value; }
69 inline void SetErrorDetails(Aws::Vector<ErrorDetail>&& value) { m_errorDetails = std::move(value); }
71 inline GetDeploymentStatusResult& WithErrorDetails(Aws::Vector<ErrorDetail>&& value) { SetErrorDetails(std::move(value)); return *this;}
72 inline GetDeploymentStatusResult& AddErrorDetails(const ErrorDetail& value) { m_errorDetails.push_back(value); return *this; }
73 inline GetDeploymentStatusResult& AddErrorDetails(ErrorDetail&& value) { m_errorDetails.push_back(std::move(value)); return *this; }
75
77
80 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
81 inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; }
82 inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); }
83 inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); }
84 inline GetDeploymentStatusResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
85 inline GetDeploymentStatusResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
86 inline GetDeploymentStatusResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
88
90
94 inline const Aws::String& GetUpdatedAt() const{ return m_updatedAt; }
95 inline void SetUpdatedAt(const Aws::String& value) { m_updatedAt = value; }
96 inline void SetUpdatedAt(Aws::String&& value) { m_updatedAt = std::move(value); }
97 inline void SetUpdatedAt(const char* value) { m_updatedAt.assign(value); }
98 inline GetDeploymentStatusResult& WithUpdatedAt(const Aws::String& value) { SetUpdatedAt(value); return *this;}
99 inline GetDeploymentStatusResult& WithUpdatedAt(Aws::String&& value) { SetUpdatedAt(std::move(value)); return *this;}
100 inline GetDeploymentStatusResult& WithUpdatedAt(const char* value) { SetUpdatedAt(value); return *this;}
102
104
105 inline const Aws::String& GetRequestId() const{ return m_requestId; }
106 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
107 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
108 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
109 inline GetDeploymentStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
110 inline GetDeploymentStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
111 inline GetDeploymentStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
113 private:
114
115 Aws::String m_deploymentStatus;
116
117 DeploymentType m_deploymentType;
118
119 Aws::Vector<ErrorDetail> m_errorDetails;
120
121 Aws::String m_errorMessage;
122
123 Aws::String m_updatedAt;
124
125 Aws::String m_requestId;
126 };
127
128} // namespace Model
129} // namespace Greengrass
130} // namespace Aws
GetDeploymentStatusResult & WithUpdatedAt(const Aws::String &value)
GetDeploymentStatusResult & WithErrorMessage(Aws::String &&value)
GetDeploymentStatusResult & WithRequestId(const Aws::String &value)
GetDeploymentStatusResult & WithUpdatedAt(const char *value)
GetDeploymentStatusResult & WithRequestId(Aws::String &&value)
GetDeploymentStatusResult & AddErrorDetails(const ErrorDetail &value)
GetDeploymentStatusResult & WithDeploymentStatus(Aws::String &&value)
void SetErrorDetails(const Aws::Vector< ErrorDetail > &value)
const Aws::Vector< ErrorDetail > & GetErrorDetails() const
AWS_GREENGRASS_API GetDeploymentStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeploymentStatusResult & WithDeploymentType(DeploymentType &&value)
AWS_GREENGRASS_API GetDeploymentStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeploymentStatusResult & WithDeploymentStatus(const char *value)
GetDeploymentStatusResult & WithRequestId(const char *value)
void SetErrorDetails(Aws::Vector< ErrorDetail > &&value)
GetDeploymentStatusResult & WithErrorDetails(const Aws::Vector< ErrorDetail > &value)
GetDeploymentStatusResult & AddErrorDetails(ErrorDetail &&value)
GetDeploymentStatusResult & WithUpdatedAt(Aws::String &&value)
GetDeploymentStatusResult & WithErrorMessage(const char *value)
GetDeploymentStatusResult & WithErrorDetails(Aws::Vector< ErrorDetail > &&value)
GetDeploymentStatusResult & WithErrorMessage(const Aws::String &value)
GetDeploymentStatusResult & WithDeploymentType(const DeploymentType &value)
GetDeploymentStatusResult & WithDeploymentStatus(const Aws::String &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